Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

34980a scan rate

Hi,

 

I am trying to use 34980a Switch with 34922a mux modules to collect DC voltages. 

 

Here is how I am trying to achieve the intended data collection:

 

Step 1: Initialize the switch, reset it, configure it to measure DC Voltages and then configure scan with sweep count of 1.

Step1.JPG

 

Step 2: Inside the for loop, format the reading, initialize the scan, then fetch the readings. I loop 4 times, each time getting 480 DC voltages.

 

Step2.JPG

 

Issue: first loop the scan runs at a much slower rate. 480 readings take about 2 minutes. The 2nd, 3rd and 4th loop, the scan runs much faster. Less than 30 seconds per scan. 

 

Why do I have this scan rate issue? Eventually I need to collect close to 5K voltage readings so I cannot live with 2 mintues per 480 readings. 

 

If I skip step #1 VI (init/rst/config) and then run step 2 VI only, then all 4 scan loops run fast. I am quite confused.

 

Mahesh

 

0 Kudos
Message 1 of 3
(4,399 Views)

Hi labview_MH,

 

I'm not familiar with Agilent VIs, but it looks like you have three configure VIs inside your loop; would you be able to configure outside the loop? If so, this may speed up your first iteration.

 

Also, could you upload your images in the form of VI snippets? This would help us understand the code.

0 Kudos
Message 2 of 3
(4,342 Views)
What loops? None are in your images.
0 Kudos
Message 3 of 3
(4,334 Views)