46 • C/C++ Library6.10 _9812_Set_Trig@ DescriptionThis function is used to set up a trigger. The function specifies thetrigger mode, trigger level (voltage), trigger source, trigger slopeand post trigger count. Please refer to section 4.4~4.7 for thedetailed description of trigger setting.@ SyntaxC/C++ (DOS)int _9812_Set_Trig (int card_number, inttrig_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, inttrig_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, ByValtrig_mode As Long, ByVal trig_src AsLong, ByVal trig_pol As Long, ByValtrig_lvl As Long, ByVal post_trig_cntAs Integer) As Long@ Argumentcard_number: the card number of PCI-9812 to be selectedtrig_mode: selected trigger mode. The valid values are thefollowing:SOFT_TRIG: Software triggerPOST_TRIG: Post triggerPRE_TRIG :Pre-triggerDLY_TRIG : Delay triggerMID_TRIG : Middle triggertrig_src: selected trigger source, the valid trigger sourcesare:CH0_TRIG : Channel 0CH1_TRIG : Channel 1CH2_TRIG : Channel 2CH3_TRIG : Channel 3AUX_TRIG : External digital triggertrig_pol: trigger slope.0: positive slope trigger1: negative slope trigger