Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem doing group GPIB reads of power supplies in channel 1 and 2 of Agilent N6700B mainframe

Hello,

Repost of ealier message regarding problem reading back proper voltages after doing group read.

Attached is source code. Perhaps I am missing something but it looks like code should work.

Any help appreciated

 

Thanks

0 Kudos
Message 1 of 9
(4,366 Views)

It would have been better for you to keep to the original thread instead of starting a new one.

 

Have you tried the driver for the instrument? Have you measured the outputs or checked the instrument for an error? I don't have the instrument or manual to verify your code. I would recomend that you test the commands in MAX.

0 Kudos
Message 2 of 9
(4,361 Views)
What is MAX
0 Kudos
Message 3 of 9
(4,357 Views)
I  measured the outputs and they are fine. Also used error query function and there are no errors
0 Kudos
Message 4 of 9
(4,348 Views)
MAX is Measurement and Automation Explorer. You can right click on the instrument (under Devices and Interfaces) and select to communicate with it. There is also a VISA test panel where you can do a read/write/query.
0 Kudos
Message 5 of 9
(4,339 Views)
I am on a linux system. Are these utilities available on that platform
0 Kudos
Message 6 of 9
(4,337 Views)

Hi,

 

I had similar problem using an Agilent 66000A mainframe with 8 66102A power supplies.  I was using the standard gpib calls (488.2) in C++ and the power supplies in the mainframe did not respond to the mutidevice calls.  It has something to do with the power supplies being 'virtual gpib devices' within the mainframe primary address.  The mainframe had address 10 and power supplies had secondary addresses of 96 to 103. 

 

I had to use the standard single device calls.

 

Possibly related to you problem, or maybe not.

 

Curt

0 Kudos
Message 7 of 9
(4,335 Views)

Hello,

 

I'd recommend trying what Dennis said and download the LabVIEW driver for that device. It'll be much easier than trying to use all of the VISA commands you have in your program.

 

Linux does not have a Measurement and Automation Explorer utility, unfortunately. You might want to check and see if there's an Interactive Control program on your machine. This program is something we include with our NI-488.2 driver and allows you to send GPIB commands to your instrument. We also have a program called VISA Interactive Control that is included with our NI-VISA driver, so you might want to try and find that program as well.

Justin E
National Instruments R&D
0 Kudos
Message 8 of 9
(4,304 Views)

You might also want to take a look at this KnowledgeBase article:

 

KnowledgeBase 4G1F0APO: NI-VISA Support in Linux

 

The last section of that article shows that we have a Test Panel included with NI-VISA for Linux, NIvisaic

Justin E
National Instruments R&D
0 Kudos
Message 9 of 9
(4,301 Views)