LabVIEW serial interrupt
no vote
Application background Only when the serial port receives a character Read VISA; the function is executed.. Call Wait on Event VISA; the off the shelf is always blocked until the time when the data arrives at the serial port.. Thus, the Read VISA function is executed only when data is on the port. By specifying the number of bytes to be read from 1, we can ensure that the serial port is only when the data is available. Note that a VISA Events Disable function is needed before the program is stopped.. Key Technology By using VISA event programming to solve. By using VISA; Enable Event this VI, when the serial port to receive the string, VISA will produce an event. In the while loop, we can place a Wait on Event VISA function in front of the Read VISA function;.