Is it possible to re-label a Labview serial port event?

Is it possible to receive data from a serial port in Labview using an event callback? Like the DataReceived event callback in the .NET serial port class? If so, I would appreciate a link to Example VI. All the examples I've seen use a synchronous send / receive method. I would suggest that the callback event, if possible, should occur in a separate thread.

My device stream data (ASCII) is very fast, about 1000 data points per second

+4
source share
1 answer

You can poll the serial port, and if the number of bytes exceeds threashold (I used samples of 4 bytes), read this data and create a custom event. In another thread, you can handle events as regular events:

enter image description here

+3
source

All Articles