Loading…

方法名称: waveform_at_noncoupler

方法ID: 0x4286

方法标签:

方法描述:


  • {
  • float wcpi;
  • float wave_center;
  • float cpi;
  • float half_wf_width;
  • int intcpi;
  • float tmpvar;
  • float tmpvar1;
  • float tmpctr;
  • float tmpstart;
  • float tmpend;
  • tmpvar = 60.0;
  • if (dynamic_variables[0].DEVICE_VARIABLE.DIGITAL_UNITS == 44)
  • {
  • tmpvar = 60.0 / 0.08333333;
  • }
  • if (dynamic_variables[0].DEVICE_VARIABLE.DIGITAL_UNITS == 45)
  • {
  • tmpvar = 60.0 / 0.0254;
  • }
  • if (dynamic_variables[0].DEVICE_VARIABLE.DIGITAL_UNITS == 49)
  • {
  • tmpvar = 60.0 / 25.4;
  • }
  • if (dynamic_variables[0].DEVICE_VARIABLE.DIGITAL_UNITS == 48)
  • {
  • tmpvar = 60.0 / 2.54;
  • }
  • half_wf_width = tmpvar * 0.5;
  • if (wf_chooser == 0)
  • {
  • if (measure_mode == 0)
  • {
  • wave_center = probe_length - level.DIGITAL_VALUE - half_wf_width;
  • }


请登录以获得完整内容