Method DAQmx
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DAQmx(string)
Gets the DAQmxTasksBundle associated with the specified pin.
public DAQmxTasksBundle DAQmx(string pin)
Parameters
pinstringThe 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
pinsstring[]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
pinstringThe given pin.
expectedTaskTypeDAQmxTaskTypeThe 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
pinsstring[]The given pins.
expectedTaskTypeDAQmxTaskTypeThe 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
pinsstring[]The given pins.
filterPinsboolWhether to automatically filter out non-NIDAQmx pins.
expectedTaskTypeDAQmxTaskTypeThe 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.