03-07-2007 11:03 AM
03-07-2007 11:54 AM
03-07-2007 04:01 PM
03-07-2007 04:21 PM
Okay, that's a lot different problem. You don't get a response from *IDN? in any environment. MAX is not LabVIEW.
The instrument probably doesn't support the *IDN? command. Older ones do not. Check your programming manual and see if *IDN? is even listed. Not supporting a *IDN? will not make any difference on whether or not you can use the Instrument I/O Assistant. As long as an instrument is listed in MAX, it will be listed as an available instrument with the assistant. You just have to send it the correct commands from the manual.
03-07-2007 05:44 PM
yeh sorry i wrote the first one in a bit of a rush
The instrument does support the *IDN? command becuase its in the manual, but the one NI MAX sends it doesnt like, and it wont work with I/O assistant because unless MAX gets an answer, the device doesnt appear in the "select instrument" step of setting up I/O assistant.
It all seems to work fine when its plugged into say a marconi 6500 amplitude analyser, the *IDN? command works fine and that instrument about 15 years older than the 6200A i want LabVIEW to work with...
all help greatly appreciated
03-07-2007 07:48 PM
Does the instrument fail to show up in MAX or do you just get the message that *IDN? failed? If it's just the *IDN? failed message, are you able to send any other commands to the instrument? If you can't send any commands, it's possible that the instrument is expecting something else besides the EOI. You could try appending an \n or \r as termination characters. A termination character is also settable in the GPIB properties.
What version of NI-488 are you using and what type of GPIB controller is it?
03-08-2007 03:09 AM
03-08-2007 09:40 AM