Thread View: php.install
1 messages
1 total messages
Started by Sudhakar A
Tue, 23 Apr 2024 10:59
how connect USB to Serial(RS-232) on php for get weigh bridge data
Author: Sudhakar A
Date: Tue, 23 Apr 2024 10:59
Date: Tue, 23 Apr 2024 10:59
46 lines
5821 bytes
5821 bytes
--0000000000004925230616c176b6 Content-Type: text/plain; charset="UTF-8" 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 --0000000000004925230616c176b6 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable <div dir=3D"ltr">Hi,=C2=A0<div><br></div><div>Recently I have been trying t= o connect and get data from the serial port(Weigh Bridge) . But I could not= do it.<br></div><div>Am using PHP version 8.3 & windows os and port is= 'COM3', baud rate - 9600.</div><div>Existing=C2=A0weighbridge soft= ware works fine. I want to move existing(from .net to php) software.</div><= div>I tried the 'php-serial' library but it is too old and also not= working.=C2=A0</div><div><br></div><div>i tried below link code but not wo= rking :<br><a href=3D"https://gist.github.com/gravataLonga/6c89821b845d15e9= 39a0" target=3D"_blank">https://gist.github.com/gravataLonga/6c89821b845d15= e939a0</a><br></div><div><a href=3D"https://stackoverflow.com/questions/116= 80339/access-serial-port-via-php" target=3D"_blank">https://stackoverflow.c= om/questions/11680339/access-serial-port-via-php</a><br></div><div><br></di= v><div>Can you give me the correct=C2=A0one library or send me for php 8.2 = versions.</div><div>Is it possible to get data from the serial=C2=A0port on= =C2=A0the latest php version?</div><div><br></div><div><br></div><div>Regar= ds</div><div>Sudhakar=C2=A0</div><div>PHP developer</div></div> --0000000000004925230616c176b6--
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads