IviFgen_ConfigureTriggerSource
IviFgenTrigger Capability Group
C Function Prototype
ViStatus IviFgen_ConfigureTriggerSource (ViSession vi, ViConstString channelName, ViInt32 source);
Purpose
Configures the function generator's trigger source attribute. After you call IviFgen_InitiateGeneration, the function generator waits for the trigger specified by source. After it receives a trigger, the function generator produces output based on the value of IVIFGEN_ATTR_OPERATION_MODE.
Parameters
Name | Type | Description | ||
---|---|---|---|---|
vi | ViSession | The instrument handle that you obtain from the IviFgen_init or IviFgen_InitWithOptions functions. The handle identifies a particular IVI session. | ||
channelName | ViConstString | Pass the virtual channel name that you assign to the instrument in MAX.
Virtual channel names are aliases for instrument specific channel strings. The instrument specific channel strings can differ from one instrument to another. Virtual channel names allow you to use and swap instruments without having to change the channel names in your source code. You assign a virtual channel name to an instrument specific channel through MAX. This control accepts virtual channel names you have assigned to the specific instrument you are using. It also accepts the instrument specific channel names.
|
||
source | ViInt32 | Specify the trigger source you want to use. The driver sets the IVIFGEN_ATTR_TRIGGER_SOURCE attribute to this value. Defined Values |