Method TryWriteAndRecoverCacheOnFailure
- 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
taskInfoDAQmxTaskInformation-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTaskInformation object.
dataT-
The state to update to.
writeActionAction<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
taskInfoDAQmxTaskInformation-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTaskInformation object.
dataSiteData<T>-
The state to update to.
writeActionAction<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
taskInfoDAQmxTaskInformation-
The NationalInstruments.SemiconductorTestLibrary.InstrumentAbstraction.DAQmx.DAQmxTaskInformation object.
dataPinSiteData<T>-
The state to update to.
writeActionAction<T[]>-
The driver write operation.