RFmxPulseMXPulseResults.GetDutyCycle Method
- Updated2024-07-17
- 1 minute(s) read
RFmxPulseMXPulseResultsGetDutyCycle Method
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.
Namespace: NationalInstruments.RFmx.PulseMX
Assembly: NationalInstruments.RFmx.PulseMX.Fx40 (in NationalInstruments.RFmx.PulseMX.Fx40.dll) Version: 24.5.0.49283 (24.5.0.49283)
Syntax
public int GetDutyCycle( string selectorString, ref double[] value )
Public Function GetDutyCycle ( selectorString As String, ByRef value As Double() ) As Integer
Parameters
- selectorString
- Type: SystemString
Specifies the result name.
Example: ""
"result::r1"
You can use the BuildResultString(String) method to build the selectorString. - value
- Type: SystemDouble
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.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method gets the value of PulseResultsDutyCycle attribute.