11-08-2010 07:42 PM
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]
11-09-2010 03:57 PM
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.
11-09-2010 08:45 PM
It seems the instrument is choking on the '1xEV-DO' parameter. You sure you are supposed to use ' to surround the name?
11-22-2010 02:03 PM
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
11-23-2010 10:59 AM
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
I hope this helps!