06-26-2025 09:40 PM
I am using a 34972A (DMM) with a 34901A (20-channel MUX) module.
I want to modify the Advanced Scan example code from the 34970A LabVIEW driver to measure voltage from 5 channels (101, 102, 103, 104, 105) at a rate of up to 10 measurements per second per channel.
I have set the While loop cycle to 100ms and tried various configuration vi settings, but I'm encountering errors and the measurements are not working properly.
Could you please provide direct advice on how to modify the configuration settings shown in my current code (Figure2)?
I need specific guidance on the following parameter values:
Considering the hardware specifications of the 34901A, what is the maximum number of voltage measurements per second achievable when using 10 channels?
Any specific configuration values and step-by-step guidance would be greatly appreciated!
Thank you in advance for your help.
06-27-2025 09:29 AM - edited 06-27-2025 09:39 AM
It is important to note that scanning speeds will vary depending on where the measurement data is being sent during the scan (i.e., to instrument memory, to the GPIB interface, to the RS-232 interface, etc.). The fastest measurements are possible when you configure the 34970A to scan directly to internal memory with one channel configured for dc voltage measurements. It is also important to realize that the overall speed of a scan is dependent upon the type of measurement being made. For example, the 3497xA can make dc voltage measurements much faster than ac voltage measurements.
There are several things that can affect the scan rate of the 3497xA.
At the end of the day you have to realize that the 3497xA is not a high speed DAQ device.
It is a data logger designed to take multiple measurements at regular intervals.
Setting up an HP/Agilent/Keysight 3497xA takes a couple steps
When you "read" the instrument you trigger a "scan" and the instrument takes all the measurements you have programmed into it sequentially from the lowest numbered channel to the highest, and returns all of the measurements in a numeric array.
I have gone over the proper programming of this instrument a couple times, check out these links
https://forums.ni.com/t5/LabVIEW/Continuous-data-acquisition-with-Agilent-34972A/m-p/3188716
06-27-2025 01:33 PM
Try something like this for starters. If you decide to define the TRIG:TIMER & TRIG:COUNT, then Remove the While Loop. The READ buffer can store 50,000 values.