10-10-2011 07:46 AM
Agilents 89601B VSA software provides a SCPI programming interface over a TCP-IP Socket. Trying to access that interface from Agilents softwarestack ( IO-Libraries 16 ) looks fine ,but using NI-VISA-5.0.1/NI-MAX-4.7.2 makes problems.
The VSA software shows about its interface:
And using Agilents interactive IO utility to send an *IDN? to the VSA device looks fine
How ever if I configure this resource into MAX reading the response from the *IDN? returns with an error code.
MAX is configured to:
and pushing the validate button shows:
Sending the *IDN? seems also to be fine:
but reading gives a BFFF015 return status:
Any ideas, what's going wrong ?
10-10-2011 09:50 AM
Did you try setting the termination character to 0x0A (\n)?
10-11-2011 04:23 AM
Yes,I've tested with VI_ATTR_TERMCHAR_EN = VI_TRUE and VI_ATTR_TERMCHAR = 0xA. With VSA Version 14.0 it made no difference but with Version 14.2 ( which I got from Agilent support today ) the return code of the viRead is now 3FFF0005 (VI_SUCCESS_TERM_CHAR) . I can live basically with that return code but it opens another question:
Can a viRead with that configuration also return VI_SUCCESS (0x0) ?