Method SetupNIDAQmxAOVoltageTask
- Assembly
- NationalInstruments.SemiconductorTestLibrary.TestStandSteps.dll
SetupNIDAQmxAOVoltageTask(ISemiconductorModuleContext, string, double, double, DAQmxTerminalConfiguration)
Initializes an NI DAQmx Analog Output Task associated with the pin map.
The value of taskType
string must match that of the DAQmx task definition within the pin map (default ="AO").
Note that the task will only be configured upon exiting this step, it will not be running.
public static void SetupNIDAQmxAOVoltageTask(ISemiconductorModuleContext tsmContext, string taskType = "AO", double maxiumValue = 10, double minimumValue = -10, DAQmxTerminalConfiguration outputTerminalConfiguration = DAQmxTerminalConfiguration.Default)
Parameters
tsmContext
ISemiconductorModuleContextThe NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
taskType
stringThe NI DAQmx task type.
maxiumValue
doubleThe maximum voltage value.
minimumValue
doubleThe minimum voltage value.
outputTerminalConfiguration
DAQmxTerminalConfigurationThe terminal configuration of the analog output channel.