![Agilent Technologies 4155B Скачать руководство пользователя страница 109](http://html1.mh-extra.com/html/agilent-technologies/4155b/4155b_user-manual_2867863109.webp)
Agilent 4155B/4156B VXIplug&play Driver User’s Guide, Edition 4
3-15
Programming Examples Using HP VEE
Programming Basics
To check for instrument error
The hp4156b_errorQueryDetect function enables or disables automatic instrument
error checking. If automatic error checking is enabled, the driver will query the
instrument for an error at the end of each function call.
If this function is enabled (1 of Figure 3-11) and if an error occurs in the function
call, HP VEE stops the program execution and displays an error dialog box. You
must then enter the hp4156b_error_query function (see 2 of Figure 3-11). The
hp4156b_error_query function returns the instrument error code and error message.
In this example, an error occurred in the hp4156b_force function call. The cause of
the error was an improper parameter setting for the hp4156b_setSwitch function.
Figure 3-11
To Use the hp4156b_error_query Function
Содержание 4155B
Страница 6: ...6 Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4...
Страница 13: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 1 Installation...
Страница 20: ...1 8 Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 Installation Installing 4155B 4156B Driver...
Страница 21: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 2 Driver Functions...
Страница 95: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 3 Programming Examples Using HP VEE...
Страница 141: ...Agilent 4155B 4156B VXIplug play Driver User s Guide Edition 4 4 Sample Application Programs for HP VEE...