Table of Contents

Class SampleValuesCacher<T>

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

Defines a class that caches sample values.

public class SampleValuesCacher<T>

Type Parameters

T

The type of the sample.

Inheritance
SampleValuesCacher<T>
Inherited Members

Constructors

SampleValuesCacher()

Properties

Instance

The singleton instance of the SampleValuesCacher<T>.

Methods

GenerateDefaultSampleValues(string[])

Generates a dictionary that caches sample values.

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.

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.

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.