06-29-2011 05:54 PM
Hi
I have a vi to get signals from multi-channels: 3 analog signals from NI9219, 1 digital signal from NI9402 and 1 from VISA through a serial COM port (to obtain data from balance output). The program works fine with either chassis (for NI9219 and NI9402) or VISA. However, the VISA signal was way delayed when I combined them together in a single loop (see the attached file). Basically, the VISA reading was at least 5 mins delayed than the balance display. Any idea how to resolve this issue? I am new to LabVIEW world, and appreciate your inputs.
06-30-2011 02:27 AM
2 things come to mind:
You dont open the VISA, you only configure and close it. (assuming i'm not missing anything)
You have to wait in the loop, thus looping crazily. Add a 100ms wait.
/Y