Table of Contents

Method DAQmx

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction
Assembly
NationalInstruments.SemiconductorTestLibrary.Abstractions.dll

DAQmx(string)

Gets the DAQmxTasksBundle associated with the specified pin.

public DAQmxTasksBundle DAQmx(string pin)

Parameters

pin string

The given pin.

Returns

DAQmxTasksBundle

The associated DAQmxTasksBundle.

DAQmx(string[])

Gets the DAQmxTasksBundle associated with the specified pins. The specified pins must map to the same task type, otherwise the method throws an exception.

public DAQmxTasksBundle DAQmx(string[] pins)

Parameters

pins string[]

The given pins.

Returns

DAQmxTasksBundle

The associated DAQmxTasksBundle.

Exceptions

SemiconductorModuleContextException

Thrown when there is more than one task type associated with the specified pins.

DAQmx(string[], bool)

Gets the DAQmxTasksBundle associated with the specified pins. The specified pins must map to the same task type, otherwise the method throws an exception.

public DAQmxTasksBundle DAQmx(string[] pins, bool filterPins)

Parameters

pins string[]

The given pins.

filterPins bool

Whether to automatically filter out non-NIDAQmx pins.

Returns

DAQmxTasksBundle

The associated DAQmxTasksBundle. Returns null if all pins are non-NIDAQmx pins.

Exceptions

SemiconductorModuleContextException

Thrown when there is more than one task type associated with the specified pins.

DAQmx(string, DAQmxTaskType)

Gets the DAQmxTasksBundle associated with the specified pin.

public DAQmxTasksBundle DAQmx(string pin, DAQmxTaskType expectedTaskType)

Parameters

pin string

The given pin.

expectedTaskType DAQmxTaskType

The expected task type.

Returns

DAQmxTasksBundle

The associated DAQmxTasksBundle.

Exceptions

NISemiconductorTestException

Thrown when there is no task of the expected type found for specified pin.

DAQmx(string[], DAQmxTaskType)

Gets the DAQmxTasksBundle associated with the specified pins.

public DAQmxTasksBundle DAQmx(string[] pins, DAQmxTaskType expectedTaskType)

Parameters

pins string[]

The given pins.

expectedTaskType DAQmxTaskType

The expected task type.

Returns

DAQmxTasksBundle

The associated DAQmxTasksBundle.

Exceptions

NISemiconductorTestException

Thrown when there is no task of the expected type found for specified pins.

DAQmx(string[], bool, DAQmxTaskType)

Gets the DAQmxTasksBundle associated with the specified pins of the expected task type.

public DAQmxTasksBundle DAQmx(string[] pins, bool filterPins, DAQmxTaskType expectedTaskType)

Parameters

pins string[]

The given pins.

filterPins bool

Whether to automatically filter out non-NIDAQmx pins.

expectedTaskType DAQmxTaskType

The expected task type.

Returns

DAQmxTasksBundle

The associated DAQmxTasksBundle. Returns null if there are no NIDAQmx pins or there is no task of the expected type found for specified pins.