From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem to Increase the velocity of data acquisition with agilent 34410A usb connection

Hello, I'm trying to acquire resistance frm multimeter agilent 34410A, 10ms between each data...but when I run my labview code the while loop is during 90ms!!!

Normally agilent multimeter can read 10 000samples per second I don't know what's wrong...

Here is the code!

Many thanks

0 Kudos
Message 1 of 11
(2,866 Views)

Try using Multiple points at regular intervals say every 50 ms and build the array of data. Since I dont have the device am not able to run the code.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 11
(2,864 Views)

Thanks but...80-90ms again without write to file VI, like this!

0 Kudos
Message 3 of 11
(2,858 Views)

Sorry I edited my post please check that whether it helps.

-----

The best solution is the one you find it by yourself
0 Kudos
Message 4 of 11
(2,850 Views)

80ms again with multiple points acquired...

Isn't it possible to chose in VISA option the velocity of the acquisitions??? Like in daqmx???

0 Kudos
Message 5 of 11
(2,847 Views)

No am not sure about the Options like DaqMX can you post the Image of your modified code?. You should let the code all the time and only at every 50 ms you should read it or make it 100 ms and read it. Check the code below.

 

Electrofatigue.png

-----

The best solution is the one you find it by yourself
0 Kudos
Message 6 of 11
(2,839 Views)

I don't understand the aim of the case loop, but like this, again 80ms!

0 Kudos
Message 7 of 11
(2,834 Views)

@jeanbat29 wrote:

Hello, I'm trying to acquire resistance frm multimeter agilent 34410A, 10ms between each data...but when I run my labview code the while loop is during 90ms!!!

Normally agilent multimeter can read 10 000samples per second I don't know what's wrong...


You're confusing the instruments read rate with the communication's rate capabilities. Just because an instrument can acquire 10000 samples per second doesn't mean you can transmit 10000 samples per second. The communication protocol you use impacts what rate you can get. In your case you're using USB. That's going to be a big factor here - there's a lot of overhead involved there. I'm not surprised at all at the rate.

 


Isn't it possible to chose in VISA option the velocity of the acquisitions??? Like in daqmx???

No. VISA is a communication protocol API. DAQmx is not. Different things.

0 Kudos
Message 8 of 11
(2,822 Views)


"You're confusing the instruments read rate with the communication's rate capabilities. Just because an instrument can acquire 10000 samples per second doesn't mean you can transmit 10000 samples per second"

 

Thanks for your answer!

I'm OK but...acquiring an array it should be possible to acquire resistance every 10ms... otherwise there is none interest to sell instruments with capabilities to read 10000samples/s without registered it!

 

At the end I just want a text file with two columns, the first, time every 10ms, the second, resistance.

Like this it not seems impossible...but no way argggg 😞

0 Kudos
Message 9 of 11
(2,809 Views)

Why don't you spend a bit of time reading the manual. There should be a section on optimizing the read rate. One glaring mistake I see that you have made is setting the meter to autorange and 6.5 digits. You will have to change these and other low level settings in order to reach the maximum rate. Another big mistake in your last VI is to set the sample count to 1. That makes no sense when you do a Multiple Point acquisition. It is only with a Multiple Point acquisition that you can obtain the fastest sample rate and that requires more than a single sample.

0 Kudos
Message 10 of 11
(2,801 Views)