Table of Contents

Method ReadAnalogMultiSample

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

ReadAnalogMultiSample(DAQmxTasksBundle, int)

Reads multiple samples and returns pin- and site-aware objects of an array of doubles, where each element in the array represents one sample read. By default, the value of samplesToRead is -1. In this case, all available samples are read when this method is invoked.

public static PinSiteData<double[]> ReadAnalogMultiSample(this DAQmxTasksBundle tasksBundle, int samplesToRead = -1)

Parameters

tasksBundle DAQmxTasksBundle

The DAQmxTasksBundle object.

samplesToRead int

The number of samples to read.

Returns

PinSiteData<double[]>

Per-site per-pin floating-point samples.