SetSegmentLength(string, double[])
- Updated2025-10-13
- 1 minute(s) read
Sets an array of durations, each corresponding to a segment, where each value must be at least the sum of PowerList Segment Measurement Length and PowerList Segment Measurement Offset when the SetDigitalEdgeTriggerSource(string, string) method is set to TimerEvent. This value is expressed in seconds.
Syntax
Namespace: NationalInstruments.RFmx.SpecAnMX
public int SetSegmentLength(string selectorString, double[] value)
Remarks
This method sets the value of PowerListSegmentLength attribute.The default value is an empty array.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Pass an empty string. The signal name that is passed when creating the signal configuration is used. |
| value | double[] | Specifies an array of durations, each corresponding to a segment, where each value must be at least the sum of PowerList Segment Measurement Length and PowerList Segment Measurement Offset when the SetDigitalEdgeTriggerSource(string, string) method is set to TimerEvent. This value is expressed in seconds. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.