Method DAQmx
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DAQmx(string)
Gets the DAQmxTasksBundle associated with the specified pin.
public DAQmxTasksBundle DAQmx(string pin)
Parameters
pin
stringThe 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
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
stringThe given pin.
expectedTaskType
DAQmxTaskTypeThe 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
DAQmxTaskTypeThe 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
boolWhether to automatically filter out non-NIDAQmx pins.
expectedTaskType
DAQmxTaskTypeThe 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.