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
tsmContext
ISemiconductorModuleContextThe NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
taskType
stringThe NI DAQmx task type.
waveformType
AOFunctionGenerationTypeThe kind of waveform to generate.
frequency
doubleThe frequency value.
amplitude
doubleThe amplitude value.
offset
doubleThe offset value.
outputTerminalConfiguration
DAQmxTerminalConfigurationThe terminal configuration of the analog output channel.