VXI plug&play Driver

Driver Functions

agb220xa_testExec_Q

This function performs the diagnostics and returns the test result.

For details of each test, see “Selftest Menu” on page 3-34.

Syntax

ViStatus _VI_FUNC agb220xa_testExec_Q(ViSession vi, ViInt16 framecard_exec,

 

ViPInt16 exec_result);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

 

framecard_exec Test item to perform. 1 to 10. See below.

 

 

1: Card 1 relay test

 

 

2: Card 2 relay test

 

 

3: Card 3 relay test

 

 

4: Card 4 relay test

 

 

5: Relay test of all cards

 

 

6: Front panel key test

 

 

7: Controller test

 

 

8: Light pen test

 

 

9: LED matrix test

 

 

10: Beeper test

 

exec_result

Test result. 0: pass, 1: fail.

agb220xa_timeOut

This function sets a minimum timeout value for driver I/O transactions in milliseconds. The default timeout period is 2 seconds.

Syntax

ViStatus_VI_FUNC agb220xa_timeOut(ViSession vi, ViInt32 timeOut);

Parameters

vi

Instrument handle returned from agb220xa_init( ).

 

timeOut

I/O timeout value for all functions in the driver. in milliseconds.

 

 

0 to 2147483647.

6-32

Agilent B2200 User’s Guide, Edition 2

Page 218
Image 218
Agilent Technologies B2200A, B2201A manual Agb220xatestExecQ, Agb220xatimeOut, Execresult, TimeOut