DBS9900 User’s Manual
DBS9900 Driver Software
5-11
82-28993 Revision 01
5.2.4 Interrupt
an9900_interrupt
Sets the interrupt level and interrupt vector.
Function Prototype
ViStatus
an9900_interrupt
( ViSession
instrumentHandle
,
ViUInt16
interruptLevel
,
ViUInt16
interruptVector
);
an9900_interrupt
Parameters
Variable Type Description
<INPUT>
instrumentHandle
ViSession
This control accepts the Instrument Handle returned by the Initialize function to
select the desired instrument driver session.
interruptLevel
ViUInt16
Selects one of seven interrupt levels that the DBS9900 will interrupt on.
0 No
Interrupt
1 Level
1
2 Level
2
3 Level
3
4 Level
4
5 Level
5
6 Level
6
7 Level
7
interruptVector
ViUInt16
Contains the lower 8 bits of the STATUS/ID or interrupt vector that will be
returned to the host during interrupt Acknowledge cycles.
<OUTPUT>
None None
<RETURN>
= 0
> 0
< 0
“VI_SUCCESS”
Warning: The function completed, but an exception condition occurred which
may require attention.
Error: The function did not complete successfully.
NOTE: Use the an902_error_message() function to get a textual description of
errors and warnings.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com