GetDutyCycle(string, ref double[])
- Updated2025-10-13
- 1 minute(s) read
Gets the duty cycle values for all measured pulses. Duty cycle is the ratio of pulse ON duration to the pulse period. This value is expressed as a percentage.
Syntax
Namespace: NationalInstruments.RFmx.PulseMX
public int GetDutyCycle(string selectorString, ref double[] value)
Remarks
This method gets the value of PulseResultsDutyCycle attribute.
Parameters
| Name | Type | Description |
|---|---|---|
| selectorString | string | Specifies the result name. |
| value | ref double[] | Upon return, contains the duty cycle values for all measured pulses. Duty cycle is the ratio of pulse ON duration to the pulse period. This value is expressed as a percentage. |
Returns
Returns the status code of this method. The status code either indicates success or describes a warning condition.