LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA signal delayed

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.

 

0 Kudos
Message 1 of 2
(2,304 Views)

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

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 2 of 2
(2,295 Views)