Search the Community
Showing results for tags 'ni visa rs-232'.
-
I have a project reading an RS-232 communication string in LabVIEW on Com1 using a duplex spy cable between a PC and a microscope under control (RTS/CTS). When the microscope receives a command from the PC to move the stage it sends back a serial port ASCII string ending in "CR/0D" about every 15 seconds which I intercept in my spy cable LabVIEW serial read program. I need to capture these "CR" events of byte strings greater than 14 to trigger a Boolean True to eventually activate another VI. For now I use a front panel TRUE indicator. The PC RS-232 communication is easily read in TERMITE, but using the LabVIEW demo serial programs, I get serial VISA framing errors (− 1073807253), hence the need to trap them. I am new to LabVIEW. Tracing (bulb) the code reads the VISA ASCII string once, and then does nothing. Probably something is not being reset in the loop, which should run unless stopped manually. I also need to reset the byte count at each read of CR. Any help gratefully appreciated, as few know LabVIEW here. SerialPortCR-Trig3.vi
- 7 replies
-
- ni visa rs-232
- framing error
-
(and 1 more)
Tagged with: