/// <summary>
 ///     <inheritdoc />
 /// </summary>
 public void SetPulseDelay(double delay, PulseDelay pulseDelay)
 {
     try
     {
         ScpiDataExchanger.Request(":PULM:DEL " + delay + " " + pulseDelay + ";");
     }
     catch (Exception exception)
     {
         throw new SignalGeneratorException(exception.Message);
     }
 }
Пример #2
0
 /// <summary>
 ///     <inheritdoc />
 /// </summary>
 public void SetPulseDelay(double delay, PulseDelay pulseDelay)
 {
     try
     {
         E8257D.SetPulseDelay(delay, pulseDelay);
     }
     catch (Exception exception)
     {
         throw new SignalGeneratorException(exception.Message);
     }
 }
 /// <summary>
 ///     <inheritdoc />
 /// </summary>
 public void SetPulseModulationInternalDelay(double delay, PulseDelay pulseDelay)
 {
     try
     {
         ScpiDataExchanger.Request(":PULM:INT:DEL " + Convert.ToString(delay, CultureInfo.InvariantCulture) +
                                   " " + pulseDelay +
                                   ";");
     }
     catch (Exception exception)
     {
         throw new SignalGeneratorException(exception.Message);
     }
 }
 /// <summary>
 ///     Sets the delay between pulses, according to the specified parameters
 /// </summary>
 /// <param name="delay">Delay between pulses</param>
 /// <param name="timeType">Dimension type</param>
 public void SetPulseDelay(double delay, PulseDelay timeType)
 {
     try
     {
         _deviceExchanger.SendDataWithOutReturn(":PULM:DEL " + delay + " " + timeType + ";");
     }
     catch (Smb100AException smb100AException)
     {
         throw new Smb100AException("Failed to set delay between pulses in " + delay + " " +
                                    timeType +
                                    ": " +
                                    smb100AException.Message);
     }
 }