:BEEP <disc>
Set the buzzer function.
Parameters:
The required state:
OFF Buzzer is disabled.
PASS Turns on the buzzer if test result
is pass.
FAIL Turns on the buzzer if test result
is fail.
Response:
None.
:BEEP?
Query the buzzer condition.
Parameters:
None.
Response:
The buzzer condition.
0 OFF
1 PASS
2 FAIL
Example: 1
would indicate that the buzzer will be
turned on if test result is pass.
6.3 Example Programs
The following examples are written for Microsoft QuickBasic 4.5 running on a PC with a
National Instruments GPIB controller. The programs are short and can be readily converted to
another language/platform as their function is primarily to illustrate the use of the instrument
GPIB commands.
Example 1:
Simple identification query, use this program to establish that the GPIB configuration is
correct.
Example 2:
Simple measurement program. This program triggers a single AC measurement and displays
the result.
Example 3:
Simple querying example. This program interrogates the instrument and display the current
values for a number of AC measurement settings.
Example 4:
Multi-step example for AC tests. This program sets up a 4-measurements multi-step test and
displays the results from a single trigger.