Table of Contents

Method SetupNIDAQmxAOFGenVoltageTask

Namespace
NationalInstruments.SemiconductorTestLibrary.TestStandSteps
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 ISemiconductorModuleContext

The NationalInstruments.TestStand.SemiconductorModule.CodeModuleAPI.ISemiconductorModuleContext object.

taskType string

The NI DAQmx task type.

waveformType AOFunctionGenerationType

The kind of waveform to generate.

frequency double

The frequency value.

amplitude double

The amplitude value.

offset double

The offset value.

outputTerminalConfiguration DAQmxTerminalConfiguration

The terminal configuration of the analog output channel.