LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Get readings from two dmm

Hello,

 

I want to make simultaneous measurements for Vac and Vdc with 2 DMMs (Agilent 34401A) with external trigger and then to log results in file. I made a simple state machine with 3 states:

-Initiate devices

-Triggering the dmms using NI USB-6008 and then read data from dmm external memory with fetch function and while loop

- Write results in .csv file

-Run this VI until it reaches measurement count.

 

I set trigger count to "1" and sample count to 100 but when I try to run this VI, timeout error occurs in Fetch function. The purpose of this large number of samples is to make more precise measurement. 

I tried to debug the program and found out that Vac measuring is a lot slower than Vdc measuring. If I set Vdc measurement for all DMM - then I dont have this timeout problem, but it my case I have to measure Vac and Vdc.

 

I have attached my project below - my main vi is stateMachine.vi

 

Thanks in advance!

Download All
0 Kudos
Message 1 of 3
(1,327 Views)

Of course, it will be slow as it is clearly mentioned in the instrument datasheet, if you need to synchronize them perfectly, you need to figure out settings for each that would match in measurement time.

santo_13_1-1648220730164.png

 

 

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 3
(1,315 Views)

Hello,

 

I set the sample count for Vac DMM only to 5(I don't need too many samples for this measurement), but now I face same problems- the error is ether timeout or -410 query interrupted. 

 

I cannot figure it out why fetch functions throws this errors.

 

 

 

 

0 Kudos
Message 3 of 3
(1,271 Views)