DBS9900 User’s Manual
DBS9900 Driver Software
5-35
82-28993 Revision 01
5.5.12
Trigger Mode Query
an9900_triggerMode_Q
This function queries trigger mode information for each module.
Function Prototype
ViStatus
an9900_triggerMode_Q
( ViSession
instrumentHandle
,
ViUInt16
*
gateEnableA
, ViUInt16 *
slopeA
,
ViUInt16
*
softTriggerA
, ViUInt16 *
gateEnableB
,
ViUInt16
*
slopeB
, ViUInt16 *
softTriggerB
,
ViUInt16
*
softAdvA
, ViUInt16 *
softAdvB
);
an9900_triggerMode_Q
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.
<OUTPUT>
*gateEnableA ViUInt16
(passed by
reference)
Outputs edge, or gated trigger.
1 Gated
Trigger
0
Edge Trigger
*slopeA ViUInt16
(passed by
reference)
Outputs falling or rising edge trigger.
1 Rising
Edge
Trigger
0 Falling
Edge
Trigger
*softTriggerA ViUInt16
(passed by
reference)
Outputs the condition of the soft trigger.
1 Trigger
0 Inactive
*gateEnableB ViUInt16
(passed by
reference)
Outputs edge, or gated trigger.
1 Gated
Trigger
0
Edge Trigger
*slopeB ViUInt16
(passed by
reference)
Outputs falling or rising edge trigger.
1 Rising
Edge
Trigger
0 Falling
Edge
Trigger
*softTriggerB ViUInt16
(passed by
reference)
Outputs the condition of the soft trigger.
1 Trigger
0 Inactive
*softAdvA ViUInt16
(passed by
reference)
Outputs advance or inactive soft-advance.
1 Advance
0 Inactive
*softAdvB ViUInt16
(passed by
reference)
Outputs advance or inactive soft-advance.
1 Advance
0 Inactive
<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