RFmxPulseMXPulseConfiguration.SetWidthThresholdLevel Method
- Updated2024-07-17
- 1 minute(s) read
RFmxPulseMXPulseConfigurationSetWidthThresholdLevel Method
Sets the middle threshold level as a percentage of the pulse amplitude used to signify the mid-transition level between pulse states used for pulse width computation.
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 SetWidthThresholdLevel( string selectorString, double value )
Public Function SetWidthThresholdLevel ( selectorString As String, value As Double ) As Integer
Parameters
- selectorString
- Type: SystemString
Pass an empty string. The signal name that is passed when creating the signal configuration is used. - value
- Type: SystemDouble
Specifies the middle threshold level as a percentage of the pulse amplitude used to signify the mid-transition level between pulse states used for pulse width computation.
Return Value
Type: Int32Returns the status code of this method. The status code either indicates success or describes a warning condition.
Remarks
This method sets the value of PulseWidthThresholdLevel attribute.The default value is 50. Valid values are 0 to 100, inclusive.