Table of Contents

Method VerifyTaskType

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx
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 DAQmxTaskInformation

The task to check.

expectedTaskType DAQmxTaskType

The expected task type.

Exceptions

NISemiconductorTestException

Thrown when the NI DAQmx task is not the specific type.