Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

gpib commands agilent 8960 using ni-max

hi

 

i am using ni-max to send gpib commands to the agilent8960.

 

1. when i write the following command in ni-max SYSTem:APPLication:CATalog:FORMat? i get i responce back in ni-max from the agilent 8960 letting me know what state it is in

 

2. when i write the following command in ni-max SYSTem:APPLication:FORMat '1xEV-DO' i get a error message on the agilent8960 saying illegal parameter value.

 

do i have to send a \r or a ; in the begining of the command

 

this is from the agilent8960 manual        SYSTem:APPLication:FORMat[:NAME]

0 Kudos
Message 1 of 5
(4,808 Views)

You usually need to append a termination character at the end of GPIB commands, this all depends on the device itself so it might be a better question for Agilent if not stated in the manual.

National Instruments
0 Kudos
Message 2 of 5
(4,780 Views)

It seems the instrument is choking on the '1xEV-DO' parameter. You sure you are supposed to use ' to surround the name?

0 Kudos
Message 3 of 5
(4,768 Views)

I had a question pretty much similar to the discussion. I am trying to write a perl script to be able to communicate with the AGilent through GPIB. Is that possible at all?

 

Thanks for the help.


Athreya

0 Kudos
Message 4 of 5
(4,664 Views)

Hi Athreya,

 

NI does not officially support GPIB communication with Perl scripts, but it is possible. I have found a few links that should help you get started with that.

 

http://search.cpan.org/~jeffmock/GPIB/ni/ni.pm

http://www.labvisa.de/

 

I hope this helps!

 

 

Tanya Visser
National Instruments
LabVIEW Group Manager
0 Kudos
Message 5 of 5
(4,641 Views)