05-29-2015 12:12 PM
Maybe related to reading the status byte using GPIB commands for the AQ6317B OSA: how can I read the instrument errors, if one or more occur? Several instruments return their instrument errors in the format <errorCode>, <"error message"> as a response to the command ":SYST:ERR?" or similar. Not the AQ6317B optical spectrum analyzer.
Can anyone help me with this one?
Thanks in advance,
Cristian
05-29-2015 08:47 PM
05-29-2015 08:49 PM
06-01-2015 01:42 AM
Hi,
What kind of errors do you mean. The AQ6317 returns the last warning and a status byte.. It is one of the VI of the driver.
Most errors I have seen are related to hardware failures.
Kees
06-01-2015 09:16 AM
Yes, I did this using NI MAX also and using NI IO Trace (former NISpy). Many instruments accept "SYST:ERR?" as a query to return any INSTRUMENT ERROR (hardware or firmware).
Well, I guess my ANDO does not. it responds with an empty string, or whatever it has in its buffer from the previous query.
In any case, be it as it may, I will close this issue (still in limbo for me), and just ignore instrument errors for the time being.
Thank you for your answers, though.
Cristian