11-27-2008 03:02 AM
Hello.
I'm connected to HP3458A over GPIB-USB-HS.
I want to measure samples shown on picture in attach ("sampled sine wave").
What are GPIB commands that are necessary to use and which register should I read to have these samples from HP?
My LabView try looks like in attach.
Thank you in advance.
Kristina.
11-30-2008 08:57 AM
Your code is all wrong. I don't know if the sweep command is correct but you are not doing anything to initiate a reading and getting data back. Why aren't you using one of the drivers for that DMM. You search for drivers by going to Tools>Instrumentation>Find Instrument Drivers.If you don't know what a driver is, go to the Instrument Driver Network main page and click the links on learning what a driver is and how to use it in LabVIEW. I would recomend the project style driver. There is a function called Configure Multipoint and a function called Read Measurment that can be configured for mulitpoint reads. After correctly installing the driver, you wil also have in the example finder Hardware Input and Output>Instrument Drivers>LabVIEW Plug and Play>Agilent 3458A Acquire Multiple Measurement.
p.s. Since this board is for NI DMMs, you should post new questions to the Instrument Control board.
12-03-2008 05:02 AM
Ok, You helped me a lot.
Now I'm configuring "Configure Multipoint.vi" and "HP 3458A Application Read Measurement ACV.vi", but I see that first Vi uses "Config Sample Event.vi", "Config Trigger Event.vi" and "Start Single Arm Measurement.vi"
Should I insted use "Configure Multiple.vi" ad "Read Multiple.vi"?
Also, in "Configure Multiple.vi" you set trigger count and sample count. I noticed that HP does not have these commands, and can only use NRDGS [count][,event], where count means reading per samle event, and event could be set to TIMER=1/sampling_rate.
Also, these are commands which I need set for "setup HP3458A":
TARM HOLD;AZERO OFF;DCV Range;
APER Aper;NRDGS Num,TIMER;
TIMER Tsamp;
TRIG LEVEL;LEVEL 0,DC;DELAY 0;LFILTER ON;
Kristina.
12-03-2008 09:19 AM
I don't know what you are refering to with "Configure Multiple.vi", "HP 3458A Application Read Measurement ACV.vi" and when I look at Configure Multipoint ('that first VI') there are no subVIs in it. What driver did you dowload? It's certainly not the project-style driver I recomended.
I also don't understand you comment about a trigger count and sample count that HP does not have these commands. The manual from Aglient most certainly does list the commands that are being generated