how connect USB to Serial(RS-232) on php for get weigh bridge data

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi, 

Recently I have been trying to connect and get data from the serial port(Weigh Bridge) . But I could not do it.
Am using PHP version 8.3 & windows os and port is 'COM3', baud rate - 9600.
Existing weighbridge software works fine. I want to move existing(from .net to php) software.
I tried the 'php-serial' library but it is too old and also not working. 

i tried below link code but not working :
https://gist.github.com/gravataLonga/6c89821b845d15e939a0
https://stackoverflow.com/questions/11680339/access-serial-port-via-php

Can you give me the correct one library or send me for php 8.2 versions.
Is it possible to get data from the serial port on the latest php version?


Regards
Sudhakar 
PHP developer

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux