Method VerifyTaskType
- Assembly
- NationalInstruments.SemiconductorTestLibrary.Extensions.dll
VerifyTaskType(DAQmxTaskInformation, DAQmxTaskType)
Verifies whether an NI DAQmx task is of a specific type.
public static void VerifyTaskType(this DAQmxTaskInformation taskInformation, DAQmxTaskType expectedTaskType)
Parameters
taskInformation
DAQmxTaskInformationThe task to check.
expectedTaskType
DAQmxTaskTypeThe expected task type.
Exceptions
- NISemiconductorTestException
Thrown when the NI DAQmx task is not the specific type.