A
A
AlexSer2018-05-08 14:29:17
PHP
AlexSer, 2018-05-08 14:29:17

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: 5af1889461a11972563907.jpeg
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 question

Ask a Question

731 491 924 answers to any question