IviScope_ConfigureTVTriggerSource
IviScopeTVTrigger Capability Group
C Function Prototype
ViStatus IviScope_ConfigureTVTriggerSource (ViSession vi, ViConstString source, ViInt32 TVSignalFormat, ViInt32 TVEvent, ViInt32 TVPolarity);
Purpose
This function configures the TV triggering attributes signal source, format, event, and polarity.
This function affects instrument behavior only if the trigger type is IVISCOPE_VAL_TV_TRIGGER. Call the IviScope_ConfigureTrigger function to set the trigger type before calling this function.
Parameters
Name | Type | Description |
---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviScope_init or IviScope_InitWithOptions functions. The handle identifies a particular IVI session. |
triggerSource | ViConstString | Specifies the trigger source. The driver uses this value to set the IVISCOPE_ATTR_TRIGGER_SOURCE attribute. |
TVSignalFormat | ViInt32 | Sets the attribute IVISCOPE_ATTR_TV_TRIGGER_SIGNAL_FORMAT. |
TVevent | ViInt32 | Specifies the TV trigger event. The driver uses this value to set the IVISCOPE_ATTR_TV_TRIGGER_EVENT attribute. |
TVPolarity | ViInt32 | Specifies the polarity of the TV signal. The driver uses this value to set the IVISCOPE_ATTR_TV_TRIGGER_POLARITY attribute. |