
46
•
C/C++ Library
6.10 _9812_Set_Trig
@ Description
This function is used to set up a trigger. The function specifies the
trigger mode, trigger level (voltage), trigger source, trigger slope
and post trigger count. Please refer to section 4.4~4.7 for the
detailed description of trigger setting.
@ Syntax
C/C++ (DOS)
int _9812_Set_Trig (int card_number, int
trig_mode, int trig_src, int trig_pol,
int trig_lvl, U16 post_trig_cnt)
C/C++ (Windows 95)
int W_9812_Set_Trig (int card_number, int
trig_mode, int trig_src, int trig_pol,
int trig_lvl, U16 post_trig_cnt)
Visual Basic (Windows 95)
W_9812_Set_Trig (ByVal card_number As Long, ByVal
trig_mode As Long, ByVal trig_src As
Long, ByVal trig_pol As Long, ByVal
trig_lvl As Long, ByVal post_trig_cnt
As Integer) As Long
@ Argument
card_number:
the card number of PCI-9812 to be selected
trig_mode:
selected trigger mode. The valid values are the
following:
SOFT_TRIG: Software trigger
POST_TRIG: Post trigger
PRE_TRIG :Pre-trigger
DLY_TRIG : Delay trigger
MID_TRIG : Middle trigger
trig_src:
selected trigger source, the valid trigger sources
are:
CH0_TRIG : Channel 0
CH1_TRIG : Channel 1
CH2_TRIG : Channel 2
CH3_TRIG : Channel 3
AUX_TRIG : External digital trigger
trig_pol:
trigger slope.
0: positive slope trigger
1: negative slope trigger
Содержание NuDAQ PCI-9812/10
Страница 1: ...NuDAQ PCI 9812 10 20MHz Simultaneous 4 CH Analog Input Card Users Guide ...
Страница 4: ......
Страница 57: ...C C Library 49 ...
Страница 61: ...Calibration 53 ...
Страница 67: ...Software Utility 59 For example if you select 3 the following figure will be displayed on the screen ...
Страница 69: ...Software Utility 61 ...