DBS9900 User’s Manual
DBS9900 Driver Software
5-25
82-28993 Revision 01
5.5.2 Get
Trigger
Source
an9900_getTrigSource
This function gets the currently selected trigger source.
Function Prototype
ViStatus _VI_FUNC
an9900_setTrigSource
(ViSession
vi
, AN9900_MODULE
mod
,
AN9900_TRIGSRC
*
src
);
an9900_getTrigSource
Parameters
Variable Type
Description
<INPUT>
vi
ViSession
This control accepts the Instrument Handle returned by the Initialize
function to select the desired instrument driver session.
mod
AN9900_MODULE
AN9900_MOD_A Module A selected.
AN9900_MOD_B Module B selected.
<OUTPUT>
*src
AN9900_TRIGSRC
AN9900_TRIGSRC_REG
Software Trigger selected.
AN9900_TRIGSRC_ECL0
Backplane ECL trigger selected.
AN9900_TRIGSRC_ECL0
Backplane ECL trigger selected.
AN9900_TRIGSRC_FP_A
Front Panel trigger selected.
AN9900_TRIGSRC_FP_B
Front Panel trigger selected.
AN9900_TRIGSRC_TTL0
Backplane TTL trigger (TTL 0 – 7) selected.
AN9900_TRIGSRC_TTL1, AN9900_TRIGSRC_TTL2
AN9900_TRIGSRC_TTL3, AN9900_TRIGSRC_TTL4
AN9900_TRIGSRC_TTL5, AN9900_TRIGSRC_TTL6
AN9900_TRIGSRC_TTL7
<RETURN>
= 0
> 0
< 0
ViStatus “VI_SUCCESS”
Warning: The function completed, but an exception condition occurred
which may require attention.
Error: The function did not complete successfully.
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com