GetSegmentLength(string, ref double[])
- Updated2025-10-13
- 1 minute(s) read
Gets 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 GetSegmentLength(string selectorString, ref double[] value)
Remarks
This method gets 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 | ref double[] | Upon return, contains 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.