Method SetupNIDAQmxAOFGenVoltageTask
- Assembly
- NationalInstruments.SemiconductorTestLibrary.TestStandSteps.dll
SetupNIDAQmxAOFGenVoltageTask(ISemiconductorModuleContext, string, AOFunctionGenerationType, double, double, double, DAQmxTerminalConfiguration)
Initializes an NI DAQmx Analog Output Function Generation Task associated with the pin map.
The value of taskType string must match that of the DAQmx task definition within the pin map (default ="AOFuncGen").
Note that the task will only be configured upon exiting this step, it will not be running.
This type of task is only supported by certain NI DAQmx hardware, such as the 4468.
public static void SetupNIDAQmxAOFGenVoltageTask(ISemiconductorModuleContext tsmContext, string taskType = "AOFuncGen", AOFunctionGenerationType waveformType = AOFunctionGenerationType.Sine, double frequency = 1000, double amplitude = 5, double offset = 0, DAQmxTerminalConfiguration outputTerminalConfiguration = DAQmxTerminalConfiguration.Default)
Parameters
tsmContextISemiconductorModuleContextThe NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
taskTypestringThe NI DAQmx task type.
waveformTypeAOFunctionGenerationTypeThe kind of waveform to generate.
frequencydoubleThe frequency value.
amplitudedoubleThe amplitude value.
offsetdoubleThe offset value.
outputTerminalConfigurationDAQmxTerminalConfigurationThe terminal configuration of the analog output channel.