LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Multiple open serial port for traffic monitoring

I would like to multiple open serial port for monitoring the data traffic. How can I do that?
0 Kudos
Message 1 of 2
(3,023 Views)
You can open in your program as many serial ports as are installed in the computer.

Probably the best option do perform monitoring tasks is to install a callback for every port opened and manage the traffic in the callback.

The throughput of the application depends heavily on the amount of traffic monitored and on wether you have only to "hear" and save on disk / display messages or you need to decode and react someway to them: I have tried to build a "simulator" for some devices of our production that was intended to decode the requests and give correct answers but failed to stay in time limits with more than a few devices monitored.

Hope this helps
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 2
(3,023 Views)