RFmx VNA DotNET

Table of Contents

RFmxVnaMX.GetPulseGeneratorWidth Method

  • Updated2024-07-17
  • 1 minute(s) read
RFmxVnaMX.GetPulseGeneratorWidth Method

RFmxVnaMXGetPulseGeneratorWidth Method

Gets the pulse width of the selected pulse generator. You must set the values of the Pulse Generator Delay (s) method and PulseGeneratorWidth method such that Delay + Width does not exceed the value of PulsePeriod method. This value is expressed in seconds.

Namespace: NationalInstruments.RFmx.VnaMX
Assembly: NationalInstruments.RFmx.VnaMX.Fx40 (in NationalInstruments.RFmx.VnaMX.Fx40.dll) Version: 24.5.0.49286 (24.5.0.49286)

Syntax

public int GetPulseGeneratorWidth(
	string selectorString,
	out double value
)
Public Function GetPulseGeneratorWidth ( 
	selectorString As String,
	<OutAttribute> ByRef value As Double
) As Integer

Parameters

selectorString  String
Specifies the pulsegen number and signal number.
Example:
"signal0" or
"signal0/pulsegen0".
You can use the BuildPulseGeneratorString(String, Int32) method to build the selector string.
value  Double
Upon return, contains the pulse width of the selected pulse generator. You must set the values of the Pulse Generator Delay (s) method and PulseGeneratorWidth method such that Delay + Width does not exceed the value of PulsePeriod method. This value is expressed in seconds.

Return Value

Int32
Returns the status code of this method. The status code either indicates success or describes a warning condition.

Remarks

This method gets the value of PulseGeneratorWidth attribute.The default value is 100us.

See Also

Log in to get a better experience