Table of Contents

Method TryWriteAndRecoverCacheOnFailure

Namespace
NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx
Assembly
NationalInstruments.SemiconductorTestLibrary.Abstractions.dll

TryWriteAndRecoverCacheOnFailure(DAQmxTaskInformation, T, Action<T[]>)

Tries to do the specified write operation and ensures that the sample values cache is updated on a successful write.

public void TryWriteAndRecoverCacheOnFailure(DAQmxTaskInformation taskInfo, T data, Action<T[]> writeAction)

Parameters

taskInfo DAQmxTaskInformation

The DAQmxTaskInformation object.

data T

The state to update to.

writeAction Action<T[]>

The driver write operation.

TryWriteAndRecoverCacheOnFailure(DAQmxTaskInformation, SiteData<T>, Action<T[]>)

Tries to do the specified write operation and ensures that the sample values cache is updated on a successful write.

public void TryWriteAndRecoverCacheOnFailure(DAQmxTaskInformation taskInfo, SiteData<T> data, Action<T[]> writeAction)

Parameters

taskInfo DAQmxTaskInformation

The DAQmxTaskInformation object.

data SiteData<T>

The state to update to.

writeAction Action<T[]>

The driver write operation.

TryWriteAndRecoverCacheOnFailure(DAQmxTaskInformation, PinSiteData<T>, Action<T[]>)

Tries to do the specified write operation and ensures that the sample values cache is updated on a successful write.

public void TryWriteAndRecoverCacheOnFailure(DAQmxTaskInformation taskInfo, PinSiteData<T> data, Action<T[]> writeAction)

Parameters

taskInfo DAQmxTaskInformation

The DAQmxTaskInformation object.

data PinSiteData<T>

The state to update to.

writeAction Action<T[]>

The driver write operation.