
DBS9900 User’s Manual
5-34
DBS9900 Driver Software
82-28993 Revision 01
5.5.11 Trigger
Mode
an9900_triggerMode
This function sets the trigger mode for each module.
Function Prototype
ViStatus
an9900_triggerMode
( ViSession
instrumentHandle
,
ViUInt16
gateEnableA
, ViUInt16
slopeA
,
ViUInt16
softTriggerA
, ViUInt16
gateEnableB
,
ViUInt16
slopeB
, ViUInt16
softTriggerB
,
ViUInt16
softAdvA
, ViUInt16
softAdvB
);
an9900_triggerMode
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.
gateEnableA
ViUInt16
Selects between edge, or gated trigger.
1 Gated
Trigger
0
Edge Trigger
slopeA
ViUInt16
Selects between falling or rising edge trigger.
1 Rising
Edge
Trigger
0 Falling
Edge
Trigger
softTriggerA
ViUInt16
Specifies the condition of the soft trigger.
1 Trigger
0 Inactive
gateEnableB
ViUInt16
Selects between edge, or gated trigger.
1 Gated
Trigger
0
Edge Trigger
slopeB
ViUInt16
Selects between falling or rising edge trigger.
1 Rising
Edge
Trigger
0 Falling
Edge
Trigger
softTriggerB
ViUInt16
Specifies the condition of the soft trigger.
1 Trigger
0 Inactive
softAdvA
ViUInt16
Selects between advance or inactive soft-advance.
1 Advance
0 Inactive
softAdvB
ViUInt16
Selects between advance or inactive soft-advance.
1 Advance
0 Inactive
<OUTPUT>
None 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