Beispiel #1
0
 /// <summary>
 /// 创建查询直流电源错误指令
 /// </summary>
 /// <returns>查询直流电源错误指令</returns>
 public string SystemError()
 {
     ScpiCmdBuilder.AppendCmdInMessage(ref strBuilder, EScpiCmd.System, EScpiCmd.Error);
     ScpiCmdBuilder.AppendQueryInMessage(ref strBuilder);
     return(ScpiCmdBuilder.ToCmdMsg(strBuilder));
 }
Beispiel #2
0
 /// <summary>
 /// 创建查询采样电压值指令
 /// </summary>
 /// <returns>查询采样电压值指令</returns>
 public string QueryMeasureVoltage()
 {
     ScpiCmdBuilder.AppendCmdInMessage(ref strBuilder, EScpiCmd.Measure, EScpiCmd.Scalar, EScpiCmd.Voltage, EScpiCmd.Dc);
     ScpiCmdBuilder.AppendQueryInMessage(ref strBuilder);
     return(ScpiCmdBuilder.ToCmdMsg(strBuilder));
 }