Method DAQmx
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Abstractions.dll
DAQmx(string)
Gets the NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle associated with the specified pin.
public DAQmxTasksBundle DAQmx(string pin)Parameters
pinstring-
The given pin.
Returns
- DAQmxTasksBundle
-
The associated NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle.
DAQmx(string[])
Gets the NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.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 NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle.
Exceptions
- SemiconductorModuleContextException
-
Thrown when there is more than one task type associated with the specified pins.
DAQmx(string[], bool)
Gets the NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.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 NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.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 NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle associated with the specified pin.
public DAQmxTasksBundle DAQmx(string pin, DAQmxTaskType expectedTaskType)Parameters
pinstring-
The given pin.
expectedTaskTypeDAQmxTaskType-
The expected task type.
Returns
- DAQmxTasksBundle
-
The associated NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle.
Exceptions
- NISemiconductorTestException
-
Thrown when there is no task of the expected type found for specified pin.
DAQmx(string[], DAQmxTaskType)
Gets the NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle associated with the specified pins.
public DAQmxTasksBundle DAQmx(string[] pins, DAQmxTaskType expectedTaskType)Parameters
pinsstring[]-
The given pins.
expectedTaskTypeDAQmxTaskType-
The expected task type.
Returns
- DAQmxTasksBundle
-
The associated NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle.
Exceptions
- NISemiconductorTestException
-
Thrown when there is no task of the expected type found for specified pins.
DAQmx(string[], bool, DAQmxTaskType)
Gets the NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.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.
filterPinsbool-
Whether to automatically filter out non-NIDAQmx pins.
expectedTaskTypeDAQmxTaskType-
The expected task type.
Returns
- DAQmxTasksBundle
-
The associated NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTasksBundle. Returns null if there are no NIDAQmx pins or there is no task of the expected type found for specified pins.