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
taskInfo
DAQmxTaskInformationThe DAQmxTaskInformation object.
data
TThe 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
DAQmxTaskInformationThe 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
DAQmxTaskInformationThe DAQmxTaskInformation object.
data
PinSiteData<T>The state to update to.
writeAction
Action<T[]>The driver write operation.