Sets the number of segments to acquire when you set the SegmentedAcquisitionEnabled method to True.

Syntax

Namespace: NationalInstruments.RFmx.PulseMX

public int SetNumberOfSegments(string selectorString, int value)

Remarks

This method sets the value of NumberOfSegments attribute.The default value is 1. Valid values are 1 to 10000, inclusive.

Parameters

NameTypeDescription
selectorStringstring

Pass an empty string. The signal name that is passed when creating the signal configuration is used.

valueint

Specifies the number of segments to acquire when you set the SegmentedAcquisitionEnabled method to True.

Returns

Returns the status code of this method. The status code either indicates success or describes a warning condition.