IviSpecAn_ConfigureExternalTrigger
IviSpecAnExternalTrigger Capability Group
C Function Prototype
ViStatus IviSpecAn_ConfigureExternalTrigger (ViSession vi, ViReal64 externalTriggerLevel, ViInt32 externalTriggerPolarity);
Purpose
This function specifies the external level and polarity for triggering. This is applicable when the trigger source is set to external.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The ViSession handle that you obtain from the IviSpecAn_init or IviSpecAn_InitWithOptions function. The handle identifies a particular instrument session. Default Value: None |
externalTriggerLevel | ViReal64 | Specifies the level of the external trigger signal to trigger an acquisition. The driver uses this value to set the IVISPECAN_ATTR_EXTERNAL_TRIGGER_LEVEL attribute. Units: Volts Default Value: 1.0 V |
externalTriggerPolarity | ViInt32 | Specifies the slope of the external trigger signal to trigger an acquisition. The driver uses this value to set the IVISPECAN_ATTR_EXTERNAL_TRIGGER_SLOPE attribute. Valid Values: - IVISPECAN_VAL_EXTERNAL_TRIGGER_SLOPE_POSITIVE - Sets positive slope. - IVISPECAN_VAL_EXTERNAL_TRIGGER_SLOPE_NEGATIVE - Sets positive slope. Default value: IVISPECAN_VAL_EXTERNAL_TRIGGER_SLOPE_POSITIVE |