Method SetupNIDAQmxAIVoltageTask
- Assembly
- NationalInstruments.SemiconductorTestLibrary.TestStandSteps.dll
SetupNIDAQmxAIVoltageTask(ISemiconductorModuleContext, string, double, double, DAQmxTerminalConfiguration)
Initializes an NI DAQmx Analog Input Task associated with the pin map.
The value of taskType string must match that of the DAQmx task definition within the pin map (default ="AI").
Note that the task will only be configured upon exiting this step, it will not be running.
public static void SetupNIDAQmxAIVoltageTask(ISemiconductorModuleContext tsmContext, string taskType = "AI", double maxiumValue = 10, double minimumValue = -10, DAQmxTerminalConfiguration inputTerminalConfiguration = DAQmxTerminalConfiguration.Default)
Parameters
tsmContextISemiconductorModuleContextThe NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.
taskTypestringThe NI DAQmx task type.
maxiumValuedoubleThe maximum voltage value.
minimumValuedoubleThe minimum voltage value.
inputTerminalConfigurationDAQmxTerminalConfigurationThe terminal configuration of the analog input channel.