08-27-2015 10:58 AM
Hello,
I'm writing some generic VIs that will be included in a generic test platform currently being developed. One of the onboard instruments is the KeySight N6700 power supply. What I'm trying to do is check the instrument status for over voltage and over current flags. I tried using the Error_Query VI supplied with the N6700 driver package but with no results. Any ideas? Thanks in advance.
08-27-2015 01:42 PM
@LesKing2014 wrote:
Hello,
I'm writing some generic VIs that will be included in a generic test platform currently being developed. One of the onboard instruments is the KeySight N6700 power supply. What I'm trying to do is check the instrument status for over voltage and over current flags. I tried using the Error_Query VI supplied with the N6700 driver package but with no results. Any ideas? Thanks in advance.
I guess you haven't tried actually reading the Programmer's Manual for this power supply?
08-27-2015 02:13 PM
@LesKing2014 wrote:
Hello,
I'm writing some generic VIs that will be included in a generic test platform currently being developed. One of the onboard instruments is the KeySight N6700 power supply. What I'm trying to do is check the instrument status for over voltage and over current flags. I tried using the Error_Query VI supplied with the N6700 driver package but with no results. Any ideas? Thanks in advance.
The Error Query vi report the system errors. To get the OV and OC flag you need to query the Questionable Status Event register using the VISA Write and VISA Read vi since it is not included in the driver package. As nyc said you will need to consult the Programmer's Reference Guide for the proper syntax.
Ben64