Answer the question
In order to leave comments, you need to log in
How to get data from COM port in php?
I have a Yii2 web application. The problem is in the analyzer connections. Which is connected to the user's PC.
It is necessary to organize the receipt of data sent by the analyzer via COM.
Here's what it looks like:
I tried to organize sockets through PHP (I don't know the right directions, I don't go), but when I hang up a standard script to open a socket on one of the application pages, the server freezes). Tried via PHPSerial.php (From GitHub), didn't work either. Now in the head porridge.
Therefore, if anyone has dealt with a similar issue, you can explain step by step what goes where. It is necessary that the data from the analyzer be displayed on the application user's screen.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question