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

NameTypeDescription
selectorStringstring

Specifies the result name.
Example: ""
"result::r1"
You can use the BuildResultString(string) method to build the selectorString.

valueref 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.