I'm using the Instrument I/O express vi to read and parse data from a microcontroller (MCU), using the RS-232 UART protocol. I'm currently querrying the MCU for data every 250 ms and I'm getting a response each time and I know the MCU is performing flawlessly. However, after a while I get an error message:
Error 42 occurred at Unflatten From
String in instance 34
11serial_both.vi->serial_both.vi
Possible reason(s):
LabVIEW: Generic error. serial_both is the name of my vi. I have used this express vi thing for several days prior to this without problems. How do I fix this problem?
I'm querring the MCU with the string "QX\n" and it answers with "Xyy\n" where yy is an ascii representation of a 16 bit number. The parsing function in the express vi is working fine.
Please help someone.
/Joakim