RFmx VNA DotNET

Table of Contents

RFmxVnaMX.SetPulseGeneratorWidth Method

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

RFmxVnaMXSetPulseGeneratorWidth Method

Sets 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 SetPulseGeneratorWidth(
	string selectorString,
	double value
)
Public Function SetPulseGeneratorWidth ( 
	selectorString As String,
	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
Specifies 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 sets the value of PulseGeneratorWidth attribute.The default value is 100us.

See Also

Log in to get a better experience