Пример #1
0
 /// <summary>Adjusts the positions of the tuner axes to present the specified voltage standing wave ratio (VSWR) in magnitude and phase in the device reference plane with timeout.</summary>
 /// <param name="iTuner">Specifies a reference to the instrument.</param>
 /// <param name="phaseVswr">Specifies the desired voltage standing wave ratio (VSWR) and phase of the reflection coefficient.</param>
 /// <param name="timeout">Specifies the maximum length of time, in seconds, to allow the operation to complete. The default is 60.</param>
 /// <returns>The estimated voltage standing wave ratio (VSWR) and the associated phase at the device reference plane for the current tuner position at all frequencies of the active tuner calibration data set.</returns>
 public static PhaseVSWR[] MoveTunerPerVSWR(FocusITunerBroker iTuner, PhaseVSWR phaseVswr, short timeout = 60)
 {
     iTuner.MoveTunerPerVSWR(phaseVswr);
     iTuner.WaitForOperationComplete(timeout);
     return(iTuner.QueryVSWRAllFrequencies());
 }
Пример #2
0
 /// <summary>Moves the specified tuner axis to the given positions with timeout.</summary>
 /// <param name="iTuner">Specifies a reference to the instrument.</param>
 /// <param name="motorPositions">Specifies the positions to which one or more motors should move.</param>
 /// <param name="timeout">Specifies the maximum length of time, in seconds, to allow the operation to complete. The default is 60.</param>
 /// <returns>The current position of each tuner motor axis.</returns>
 public static MotorPosition[] MoveTunerPerMotorPosition(FocusITunerBroker iTuner, MotorPosition[] motorPositions, short timeout = 60)
 {
     iTuner.MoveTunerPerMotorPosition(motorPositions);
     iTuner.WaitForOperationComplete(timeout);
     return(iTuner.QueryCurrentMotorPositionAll());
 }
Пример #3
0
 /// <summary>Sets the specified reflection coefficient in the device reference plane at fundamental frequency with timeout.</summary>
 /// <param name="iTuner">Specifies a reference to the instrument.</param>
 /// <param name="gamma">Specifies the desired reflection coefficient in the device reference plane. Valid Range is Real part: [-1, 1] and Imaginary part: [-1, 1].</param>
 /// <param name="timeout">Specifies the maximum length of time, in seconds, to allow the operation to complete. The default is 60.</param>
 /// <returns>The estimated reflection coefficient at the device reference plane for the current tuner position at all frequencies of the active tuner calibration data set.</returns>
 public static Complex[] MoveTunerPerGamma(FocusITunerBroker iTuner, Complex gamma, short timeout = 60)
 {
     iTuner.MoveTunerPerReflectionCoefficient(gamma);
     iTuner.WaitForOperationComplete(timeout);
     return(iTuner.QueryReflectionCoefficientAllFrequencies());
 }