09-15-2015 12:11 PM
Hi,
I have created a VI to read from the Agilent multimeter mentioned but but I am getting an error message. The connection is done using a GPIB-USB-HS. I use the Agilent drivers I download from the NI website (http://sine.ni.com/apps/utf8/niid_web_display.download_page?p_id_guid=36A7F6A5AF553389E0440003BA7CCD...
The VI consists of of a state machine hat goes through the various steps of the process of acquiring data from the multimeter. "Initialise" reads the sourde name of the equipment. "Open" initialises the comminication (with Initialize.vi). In the "Configure" state the measurement is conigured (with ConfigureMeasurement.vi). In the "Read" state, a single measurement is taken from the equipment. The "Close" state closes the connection with a Close.vi.
This VI is a subVI of the main program (MainDCRM.VI).
I need 5 measurements from the equipment but in the first measurement there is an error and the it doesn't go to the next measurement. The error I get is code -1073807339 and source: Visa Write in Agilent 3458.Measurement (Single Point)>DVMs.vi->MainDCRM.vi.
When I create a VI with just that sequence of VI's (from the source name to the Close.vi I don't get the error message.
I was wondering if anyone could help me with this. Could this be a driver problem for some odd reason? It doesn't seem to me that there is a problem with the state machine since at the same time I am acquiing data from another multimeter and this is performed with no problem.
Thank you,
Regards,
Rita
09-15-2015 12:34 PM
09-16-2015 03:07 AM
Hi,
No. What I mean is that I have 2 multimeters going in my state machine and more or less at the same time I am acquiring data from the multimeters. I don't need it to be exactly at the same time but roughly.
09-16-2015 12:04 PM
09-16-2015 12:18 PM
Yes, I mean that the two acquisitions are done in the same state as you can see in the picture.
09-16-2015 12:23 PM
09-16-2015 12:37 PM
Just wire the Single Point vi for the Agilent meter after the Read of the HP meter.