02-02-2010 04:53 PM
02-03-2010 03:57 PM
Hi Charles,
Are you using the Agilent 34970A Instrument Driver? If so, are you using one of the examples that install with this instrument driver to set the NPLC?
How are you seeing that the NPLC gets set back to 1? I'm guessing that there is a reset embedded in the subVI that is responsible for the measuring of channels. Could you tell me exactly what subVI you are using to send the measure channels command?
02-03-2010 04:32 PM
Hi Sara,
I am was trying to use the Labview Instrument drivers for the HP 34970A and I can not find in any of them that sets the NPLC. I can issue the skippy command via labview(EZ Temp vi) to set the NPLC to 10 and I can look at it via the front panel. Then I issue the read temp skippy command via labview(EZ Temp vi) and I get the temp but the NPLC is set back to one when I view it via the front panel.
I also ran NI SPY and could not find anywhere the reset command is being issued.
I am using a modified version of the EZ Temp vi so I can contol the skippy command going in.
If you need more info to help me please feel free to reply.
Charles.
12-13-2013 01:07 PM
Hi Charles,
Was your problem solved? I have run into a very similar situation but instead of HP 34970A, I have a HP 3852A and I want to set NPLC small so that it speeds up the data acqusition.
I tried Measurement and Automation Explorer and use "communicate with Instrument" under GPIB folder and issue the command "NPLC 0" before running labview. But I did not see any change when I run my LabVIEW again. Since this command was working under VEE Pro, I am guessing the setting for NPLC was somehow reset. I am not sure why.
I will try use "GPIB write" vi to see if it does anything but I'm not sure if I should set NPLC value everytime. Please let me know what you think if by any chance you see this message.
Thanks,
Jin
12-13-2013 01:38 PM - edited 12-13-2013 01:39 PM
@JimmyJin wrote:
Hi Charles,
Was your problem solved? I have run into a very similar situation but instead of HP 34970A, I have a HP 3852A and I want to set NPLC small so that it speeds up the data acqusition.
I tried Measurement and Automation Explorer and use "communicate with Instrument" under GPIB folder and issue the command "NPLC 0" before running labview. But I did not see any change when I run my LabVIEW again. Since this command was working under VEE Pro, I am guessing the setting for NPLC was somehow reset. I am not sure why.
I will try use "GPIB write" vi to see if it does anything but I'm not sure if I should set NPLC value everytime. Please let me know what you think if by any chance you see this message.
Thanks,
Jin
I don't think you can set the NPLC to 0, the minimum value is 0.02. Maybe VEE automatically set it to the minimum value. Instead use NPLC MIN.
Now if you use the MEAS? command to read the value the instrument will use the default value for the type of measurement if you don't specify the resolution (not the integration time, if you look at the 34970A documentation you will see how they relate) which is probably set to NPLC 1.
If you want to speed up things you may look at the ROUT: SCAN and READ? commands to define a scan list.
Ben64
12-23-2024 07:48 AM
Hi, ı saw this problem on my Keysight DAQ 970A, Can you find any solutions for this problem?