Gets or sets the number of samples that the active channel measurement buffer can hold.

Syntax

Namespace: NationalInstruments.ModularInstruments.NIDCPower

public int BufferSize { get; set; }

Remarks

Note

This property is not supported by all instruments. Refer to the Supported Properties by Device topic in the NI DC Power Supplies and SMUs Help for information about supported instruments.

Note

To use the per-channel version of this property, you must first initialize the session with the NIDCPower(string, bool, string) constructor. If the session was initialized with a deprecated constructor, use the per-session version of this property instead or include all channels.

The default value is the maximum number of samples that a device is capable of recording in one second.

Valid values:

For the PXIe-4051, PXIe-4147 and PXIe-4151, 170 to 18000110.

For the PXIe-4162/4163, 256 to 1000192.

For the PXIe-4190, 102 to 6000048.

For the PXIe-4112, PXIe-4113 and PXIe-4154, 1000 to 178956970.

For all other supported instruments, 1000 to 268435455.