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
tsmContextISemiconductorModuleContext-
The NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
taskTypestring-
The NI DAQmx task type.
waveformTypeAOFunctionGenerationType-
The kind of waveform to generate.
frequencydouble-
The frequency value.
amplitudedouble-
The amplitude value.
offsetdouble-
The offset value.
outputTerminalConfigurationDAQmxTerminalConfiguration-
The terminal configuration of the analog output channel.