Gets or sets the number of samples to acquire.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIRfsa

public long NumberOfSamples { get; set; }

Remarks

Specifies a Int64 representing the number of samples to acquire.

This property is only valid if the NumberOfRecordsIsFinite property is set to true.

Exceptions

TypeDescription
System.ObjectDisposedException

The NumberOfSamples property was accessed after the associated NIRfsa object was disposed.