User manual

2.3.47 AcqrsD1_configTrigClass
Purpose
Configures the trigger class control parameters of the digitizer.
Parameters
Input
Name Type Description
instrumentID ViSession Instrument identifier
trigClass ViInt32 = 0 edge trigger
= 1 TV trigger (12-bit-FAMILY External only)
= 3 OR (10-bit & U1071A-FAMILIES)
= 4 NOR (10-bit & U1071A-FAMILIES)
= 5 AND (10-bit & U1071A-FAMILIES)
= 6 NAND (10-bit & U1071A-FAMILIES)
sourcePattern ViInt32
= 0x000n0001 for Channel 1,
= 0x000n0002 for Channel 2,
= 0x000n0004 for Channel 3,
= 0x000n0008 for Channel 4 etc.
= 0x800n0000 for External Trigger 1,
= 0x400n0000 for External Trigger 2 etc.
where n is 0 for single instruments, or the module
number for MultiInstruments (AS bus operation). See
discussion below.
validatePattern ViInt32 Currently unused, set to “0”
holdType ViInt32 Currently unused, set to “0”
holdoffTime ViReal64 Currently unused, set to “0.0”
reserved ViReal64 Currently unused, set to “0.0”
Return Value
Name Type Description
status ViStatus Refer to Table 2-1 for error codes.
Discussion
The number of internal (i.e. channel) or external trigger sources of the instrument can be retrieved with the
Acqrs_getInstrumentInfo function.
For more details on the trigger source pattern in AS bus-connected MultiInstruments, please refer to the
Programmer’s Guide section 3.17.2, Trigger Source Numbering with AS bus.
For configuring the TV trigger see
AcqrsD1_configTrigTV.
The U1071A-FAMILY OR, NOR, AND, and NAND patterns can be implemented as
sourcePattern = 0x800n0001 for Channel 1 +External or
sourcePattern = 0x800n0002 for Channel 2 +External.
The 10-bit family OR, NOR, AND, and NAND patterns can be implemented as
sourcePattern = 0x800n000 f where 8 can be either 8 or 0 and f can be any value between 0 and f
consistent with the number of channels available in a single module.
Programmer’s Reference Manual Page 93 of 210