Forráskód Böngészése

添加测试实时日志信息

ceac_pqy@163.com 3 éve
szülő
commit
ecb34f8c4a
39 módosított fájl, 421 hozzáadás és 18 törlés
  1. BIN
      exe/apps/Tps_LQ_Transmitter/Tps_LQ_Transmitter.dll
  2. BIN
      exe/apps/Tps_LQ_Transmitter/Tps_LQ_Transmitter.pdb
  3. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/.xlsx
  4. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1046.xlsx
  5. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1057.xlsx
  6. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1058.xlsx
  7. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1103.xlsx
  8. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1106.xlsx
  9. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1110.xlsx
  10. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1116.xlsx
  11. BIN
      exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/12.xlsx
  12. 355 0
      exe/logs/202108.log
  13. BIN
      exe/发射机/9B发射机/模板/~$常温测试模板.xlsx
  14. BIN
      exe/发射机/9B发射机/模板/常温测试模板.xlsx
  15. BIN
      exe/发射机/9B发射机/测试数据/常温测试/.xlsx
  16. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1.xlsx
  17. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1046.xlsx
  18. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1057.xlsx
  19. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1058.xlsx
  20. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1103.xlsx
  21. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1106.xlsx
  22. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1110.xlsx
  23. BIN
      exe/发射机/9B发射机/测试数据/常温测试/1116.xlsx
  24. BIN
      exe/发射机/9B发射机/测试数据/常温测试/12.xlsx
  25. BIN
      exe/发射机/9B发射机/测试数据/常温测试/211006.xlsx
  26. BIN
      exe/发射机/9B发射机/测试数据/常温测试/666.xlsx
  27. BIN
      exe/发射机/9B发射机/测试数据/常温测试/66666.xlsx
  28. BIN
      tps/TpsLabStudio/.vs/TpsLabStudio/v16/.suo
  29. 29 11
      tps/TpsLabStudio/FrmMain.cs
  30. 3 0
      tps/TpsLabStudio/com/SerialPort.cs
  31. 4 0
      tps/TpsLabStudio/models/BaseModel.cs
  32. 3 0
      tps/TpsLabStudio/models/HarmonicSuppression.cs
  33. 9 1
      tps/TpsLabStudio/models/ModulationIndexAndMaxFreqOffset.cs
  34. 2 0
      tps/TpsLabStudio/models/NoisePowerDensity.cs
  35. 4 4
      tps/TpsLabStudio/models/PhaseNoise.cs
  36. 5 1
      tps/TpsLabStudio/models/PowerAndFreqStability.cs
  37. 3 1
      tps/TpsLabStudio/models/PowerTest-PowerMeter.cs
  38. 2 0
      tps/TpsLabStudio/models/SpuriousSuppression.cs
  39. 2 0
      tps/TpsLabStudio/models/VoltAndCurrent.cs

BIN
exe/apps/Tps_LQ_Transmitter/Tps_LQ_Transmitter.dll


BIN
exe/apps/Tps_LQ_Transmitter/Tps_LQ_Transmitter.pdb


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1046.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1057.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1058.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1103.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1106.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1110.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/1116.xlsx


BIN
exe/apps/Tps_LQ_Transmitter/发射机/9B发射机/测试数据/常温测试/12.xlsx


+ 355 - 0
exe/logs/202108.log

@@ -6969,3 +6969,358 @@
 2021-08-21 23:55:33.2714 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
 2021-08-21 23:55:33.2884 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
 2021-08-21 23:55:33.3034 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 00:42:29.1104 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 00:42:29.2354 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 00:42:29.6584 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 00:42:29.6734 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 00:42:29.6894 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 00:42:29.6894 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 00:42:29.6894 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 00:42:29.6894 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 00:42:29.6894 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 00:42:38.9554 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 00:42:40.9874 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 00:42:41.0654 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 00:42:41.0844 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 00:42:41.0964 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 10:46:38.3060 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 10:46:38.4220 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 10:46:38.7130 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 10:46:38.7320 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 10:46:38.7460 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 10:46:38.7510 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 10:46:38.7510 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 10:46:38.7510 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 10:46:38.7510 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 10:46:44.5440 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 NationalInstruments.VisaNS.Internal.ErrorChecker.CheckStatusAndThrow(Int32 status, VisaHandle visaObject)
+   在 NationalInstruments.VisaNS.Session.CheckStatusAndThrow(Int32 status)
+   在 NationalInstruments.VisaNS.Internal.MessageBasedSessionImpl.ReadString(Int32 countToRead)
+   在 NationalInstruments.VisaNS.MessageBasedSession.Query(String dataToWrite)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 182
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:46:48.5880 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:46:50.6050 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:46:50.6660 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 10:46:50.6740 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 10:46:50.6980 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 10:49:07.2340 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 10:49:07.4060 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 10:49:07.7040 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 10:49:07.7190 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 10:49:07.7320 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 10:49:07.7320 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 10:49:07.7320 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 10:49:07.7320 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 10:49:07.7320 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 10:49:16.1280 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:49:18.1490 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:49:18.1990 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 10:49:18.2160 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 10:49:18.2280 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 10:55:23.0830 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 10:55:23.2030 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 10:55:23.5400 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 10:55:23.5540 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 10:55:23.5680 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 10:55:23.5680 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 10:55:23.5680 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 10:55:23.5680 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 10:55:23.5680 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 10:55:31.8750 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:55:33.9120 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:55:33.9680 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 10:55:33.9860 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 10:55:33.9980 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 10:58:07.5780 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 10:58:07.7180 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 10:58:08.1130 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 10:58:08.1280 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 10:58:08.1450 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 10:58:08.1500 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 10:58:08.1500 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 10:58:08.1500 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 10:58:08.1500 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 10:58:16.4860 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:58:18.5010 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 10:58:18.5590 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 10:58:18.6450 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 10:58:18.6610 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 11:03:08.1080 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 11:03:08.2530 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 11:03:08.6380 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 11:03:08.6580 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 11:03:08.7280 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 11:03:08.7350 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 11:03:08.7350 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 11:03:08.7350 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 11:03:08.7350 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 11:03:26.7300 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 11:03:26.8470 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 11:03:27.1650 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 11:03:27.1780 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 11:03:27.1910 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 11:03:27.1910 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 11:03:27.1910 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 11:03:27.1910 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 11:03:27.1910 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 11:03:35.3290 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:03:37.3690 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:03:37.4160 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 11:03:37.4370 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 11:03:37.4510 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 11:06:15.6280 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 11:06:15.7540 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 11:06:16.1730 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 11:06:16.4440 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 11:06:16.4640 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 11:06:16.4640 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 11:06:16.4640 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 11:06:16.4640 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 11:06:16.4640 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 11:06:28.6500 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:06:30.6750 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:06:30.7180 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 11:06:30.7370 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 11:06:30.7370 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 11:07:58.3780 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 11:07:58.5040 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 11:07:58.8600 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 11:07:58.8750 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 11:07:58.8880 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 11:07:58.8880 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 11:07:58.8930 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 11:07:58.8930 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 11:07:58.8930 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 11:08:07.0760 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:08:09.1120 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:08:09.1810 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 11:08:09.2010 Error:                [source]:资源管理器 LoadDevice,[msg]:初始化本地配置文件的设备异常:USB0::0x0957::0x0D0B::US49230327::INSTR,请确认设备是否存在。原因:调用的目标发生了异常。 
+2021-08-22 11:08:09.2150 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 11:10:44.0500 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 11:10:44.1780 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 11:10:44.4930 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 11:10:44.5190 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 11:10:44.5440 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 11:10:44.5500 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 11:10:44.5500 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 11:10:44.5500 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 11:10:44.5500 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 11:10:52.6050 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:10:54.6400 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:10:54.7010 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 11:10:54.7200 Error:                [source]:资源管理器 LoadDevice,[msg]:初始化本地配置文件的设备异常:USB0::0x0957::0x0D0B::US49230327::INSTR,请确认设备是否存在。原因:调用的目标发生了异常。 
+2021-08-22 11:10:54.7340 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 11:16:22.3560 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 11:16:22.5560 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 11:16:22.9230 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 11:16:22.9620 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 11:16:22.9800 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 11:16:22.9800 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 11:16:22.9800 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 11:16:22.9800 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 11:16:22.9800 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 11:16:31.3300 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:16:33.3450 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 11:16:33.8420 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 11:16:33.9250 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 11:16:33.9400 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 11:23:42.9300 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-08-22 11:23:42.9300 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-08-22 11:23:42.9330 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-08-22 11:23:42.9330 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-08-22 11:23:42.9330 Info:                [source]:runtime,[msg]:Runtime 关闭 
+2021-08-22 12:15:35.4610 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-22 12:15:35.5570 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-22 12:15:35.7900 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-22 12:15:35.8000 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-22 12:15:35.8100 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-22 12:15:35.8100 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-22 12:15:35.8100 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-22 12:15:35.8100 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-22 12:15:35.8100 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-22 12:15:43.6620 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 12:15:45.6760 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 System.RuntimeMethodHandle.InvokeMethod(Object target, Object[] arguments, Signature sig, Boolean constructor)
+   在 System.Reflection.RuntimeConstructorInfo.Invoke(BindingFlags invokeAttr, Binder binder, Object[] parameters, CultureInfo culture)
+   在 System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes, StackCrawlMark& stackMark)
+   在 System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes)
+   在 System.Activator.CreateInstance(Type type, Object[] args)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName, AccessModes accessMode, Int32 openTimeout)
+   在 NationalInstruments.VisaNS.ResourceManager.Open(String resourceName)
+   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 129
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-08-22 12:15:45.7360 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-22 12:15:45.7530 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-22 12:15:45.7650 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-08-22 12:31:51.6750 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-08-22 12:31:51.6750 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-08-22 12:31:51.6750 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-08-22 12:31:51.6750 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-08-22 12:31:51.6750 Info:                [source]:runtime,[msg]:Runtime 关闭 

BIN
exe/发射机/9B发射机/模板/~$常温测试模板.xlsx


BIN
exe/发射机/9B发射机/模板/常温测试模板.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1046.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1057.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1058.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1103.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1106.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1110.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/1116.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/12.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/211006.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/666.xlsx


BIN
exe/发射机/9B发射机/测试数据/常温测试/66666.xlsx


BIN
tps/TpsLabStudio/.vs/TpsLabStudio/v16/.suo


+ 29 - 11
tps/TpsLabStudio/FrmMain.cs

@@ -229,7 +229,8 @@ namespace Tps_LQ_Transmitter
         {
             if (currFileNode == null)
                 return;
-
+            labRemainTime.Text = $"开始测试";
+            
             IsRuning = true;
 
             BtnLoadTpsConfig.Enabled = false;
@@ -271,17 +272,24 @@ namespace Tps_LQ_Transmitter
             }
         }
 
+        Thread SerialHandleThread1;
 
-        void StartTest()
+        private void WorkThretdHandleFunction(object num)
+        { 
+        
+        }
+            void StartTest()
         {
             Stopwatch TimesCounter = new Stopwatch();
             double testMin = 0;
-            TimesCounter.Start();
+            TimesCounter.Restart();
             //开始测试的时候重置测试表格
             currFileNode.Tps.ResetTestTable();
-            // currFileNode.Tps.ResetManualTable();
-            //dgvManualData.DataSource = null;
-            //dgvManualData.DataSource = currFileNode.Tps.ManualTable;
+
+
+
+            SerialHandleThread1 = new Thread(new ParameterizedThreadStart(WorkThretdHandleFunction));
+            SerialHandleThread1.Priority = ThreadPriority.Highest;
 
             MainTps tps = new MainTps();
 
@@ -326,6 +334,7 @@ namespace Tps_LQ_Transmitter
             DCPower.Write($"VOLTage {volt} V\n"); DCPower.Query("*OPC?\n");//设置电压
             DCPower.Write($"CURRent {Current} A\n"); DCPower.Query("*OPC?\n");//设置电流
             DCPower.Write("GLOBal:OUTPut:STATe 1\n"); DCPower.Query("*OPC?\n");
+            ShowMessage(MsgType.Info, string.Format("打开TDK电源."));
 
 
 
@@ -346,6 +355,7 @@ namespace Tps_LQ_Transmitter
                 //执行测试过程
                 //currFileNode.Tps.Start(isOrderByChannel);
                 SerialClient.SerialOpen(CfigComParas.GetComPort("1"));
+                ShowMessage(MsgType.Info, string.Format("打开串口."));
                 #region 根据频点来测指标
                 for (int point = 0; point < FrequencyNumber; point++)//频点总数
                 {
@@ -364,28 +374,36 @@ namespace Tps_LQ_Transmitter
                         SerialClient.DUT_Transmitter_Ctrol(0x00, 0x00);
                         SerialClient.SerialClose();
                         DCPower.Write("GLOBal:OUTPut:STATe 0\n"); DCPower.Query("*OPC?\n");
+                        ShowMessage(MsgType.Info, string.Format("关闭6YYC信号源,关闭串口,关闭TDK电源."));
                         return;
                     }
                     //控制
+                   
                     SerialClient.DUT_Transmitter_Ctrol(ThridByte, FourthByte);
-                    Thread.Sleep(ControlDelay);//单位ms
+                    ShowMessage(MsgType.Info, string.Format("发送串口指令EB 90 {0} {1}.", ThridByte, FourthByte));
                     testMin = TimesCounter.ElapsedMilliseconds/1000f / 60f;
-                    this.Invoke(new Action(() => {
-                        labRemainTime.Text = $"第{point+1}个频点[{CenterFreq}]MHz测试,共{currFileNode.Tps.TestNodes.Count-1}个频点,耗时{Math.Round(testMin,2)}Min。";
+
+                    Thread.Sleep(ControlDelay);//单位ms
+                    ShowMessage(MsgType.Info, string.Format("延时{0}ms.", ControlDelay));
+                    this.BeginInvoke(new Action(() =>
+                    {
+                        labRemainTime.Text = $"第{point + 1}个频点[{CenterFreq}]MHz测试,共{currFileNode.Tps.TestNodes.Count - 1}个频点,耗时{Math.Round(testMin, 2)}Min。";
                     }));
                     currFileNode.Tps.Start(isOrderByChannel);
 
                 }
                 TimesCounter.Stop();
                 testMin = TimesCounter.ElapsedMilliseconds / 1000f / 60f;
-                this.Invoke(new Action(() => {
+                this.BeginInvoke(new Action(() => {
                     labRemainTime.Text = $"测试结束,共计耗时{Math.Round(testMin,2)}分钟";
                 }));
                 #endregion
                 //控制断电
+               
                 SerialClient.DUT_Transmitter_Ctrol(0x00, 0x00);
                 SerialClient.SerialClose();
                 DCPower.Write("GLOBal:OUTPut:STATe 0\n"); DCPower.Query("*OPC?\n");
+                ShowMessage(MsgType.Info, string.Format("关闭6YYC信号源,关闭串口,关闭TDK电源."));
                 this.Invoke(new Action(() => {
                     BtnLoadTpsConfig.Enabled = true;
                     BtnStart.Enabled = true;
@@ -419,7 +437,7 @@ namespace Tps_LQ_Transmitter
             //}
             BtnStart.Enabled = true;
             BtnLoadTpsConfig.Enabled = true;
-                        labRemainTime.Text = $"已停止测试。";
+            labRemainTime.Text = $"已停止测试。";
 
             //DC.Write("关闭电源");
 

+ 3 - 0
tps/TpsLabStudio/com/SerialPort.cs

@@ -4,6 +4,7 @@ using System.Linq;
 using System.Text;
 using System.Threading.Tasks;
 using System.IO.Ports;
+using System.Windows.Forms;
 
 namespace Tps_LQ_Transmitter.com
 {
@@ -60,7 +61,9 @@ namespace Tps_LQ_Transmitter.com
             }
             catch (Exception ex)
             {
+                MessageBox.Show($"串口控制频点失败:{ex.Message}");
                 throw new Exception($"write com error msg:{ex.Message}");
+                
             }     
         }
         public void SerialClose()

+ 4 - 0
tps/TpsLabStudio/models/BaseModel.cs

@@ -91,6 +91,7 @@ namespace Tps_LQ_Transmitter.models
             
             string ModelFile = "./发射机/" + productname + "/模板/" + tps.TestProject + "模板.xlsx";
             string subPath = "./发射机/" + productname + "/测试数据/" + tps.TestProject +"/";
+            
 
             if (false == System.IO.Directory.Exists(subPath))
             {
@@ -101,12 +102,14 @@ namespace Tps_LQ_Transmitter.models
             if (File.Exists(FileName))
             {
                 workbook.LoadFromFile(FileName);
+                ShowMessage(MsgType.Info, string.Format("打开文件路径:{0}", FileName));
                 sheet1 = workbook.Worksheets[sheetname];
                 
             }
             else if (File.Exists(ModelFile))
             {
                 workbook.LoadFromFile(ModelFile);
+                ShowMessage(MsgType.Info, string.Format("打开文件路径:{0}", ModelFile));
                 sheet1 = workbook.Worksheets["测试信息"];
                 sheet1.Range["A2"].Value2 = tps.Serial;//序列号
                 sheet1.Range["B2"].Value2 = tps.Tester;//检验员
@@ -147,6 +150,7 @@ namespace Tps_LQ_Transmitter.models
                 productname = tps.Product;
             }
             string subPath = "./发射机/" + productname +  "/测试数据 /" + tps.TestProject + "/";
+            ShowMessage(MsgType.Info, string.Format("保存文件路径:{0}", subPath));
             string FileName = subPath + tps.Serial + ".xlsx";
             workbook.CalculateAllValue();
             workbook.SaveToFile(FileName);

+ 3 - 0
tps/TpsLabStudio/models/HarmonicSuppression.cs

@@ -19,6 +19,8 @@ namespace Tps_LQ_Transmitter.models
         /// </summary>
         public override bool Run(TestNode parameters)
         {
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点谐波抑制测试开始", parameters.PointIndex));
+
             double y_value, x_value;
             Random random = new Random();
             //获取仪器
@@ -189,6 +191,7 @@ namespace Tps_LQ_Transmitter.models
             }
 
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点谐波抑制测试结束", parameters.PointIndex));
             return true;
         }
 

+ 9 - 1
tps/TpsLabStudio/models/ModulationIndexAndMaxFreqOffset.cs

@@ -21,6 +21,7 @@ namespace Tps_LQ_Transmitter.models
         public override bool Run(TestNode parameters)
         {
             double y_value, x_value;
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点调制指数及最大频偏指标测试开始", parameters.PointIndex));
             Random random = new Random();
             //获取仪器
             var SA = this.tps.GetDevice("频谱仪");
@@ -184,8 +185,13 @@ namespace Tps_LQ_Transmitter.models
                 }
                 Data.rightModulationIndex[parameters.PointIndex] = CfigModuParas.GetModulaParameter(RelativeVal);//右侧调制系数
                 Data.rightFreqOffset[parameters.PointIndex] = CfigModuParas.GetFreqOffsetParameter(RelativeVal);//右侧最大频偏
+                if (Data.rightFreqOffset[parameters.PointIndex] == null || Data.rightFreqOffset[parameters.PointIndex] == null)
+                {
+                    ShowMessage(MsgType.Error, "未加调制信号或频偏dB值在ModulationMode.xlsx中查询不到,请在ModulationMode.xlsx增加对应的dB值。调制系数测试失败");
+                    return false;
+                }
 
-                Data.ModulationIndex[parameters.PointIndex] = Math.Min(double.Parse(Data.leftModulationIndex[parameters.PointIndex]), double.Parse(Data.rightModulationIndex[parameters.PointIndex])).ToString();//调制系数
+                    Data.ModulationIndex[parameters.PointIndex] = Math.Min(double.Parse(Data.leftModulationIndex[parameters.PointIndex]), double.Parse(Data.rightModulationIndex[parameters.PointIndex])).ToString();//调制系数
                 Data.MaxFreqOffset[parameters.PointIndex] = Math.Min(double.Parse(Data.leftFreqOffset[parameters.PointIndex]), double.Parse(Data.rightFreqOffset[parameters.PointIndex])).ToString();//最大频偏
 
                 ModulationIndexPrint.Test_name = parameters.Channel + "-调制系数测试-" + parameters.CenterFreq.ToString() + "MHz";
@@ -281,6 +287,8 @@ namespace Tps_LQ_Transmitter.models
 
             }
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点调制指数及最大频偏指标测试结束", parameters.PointIndex));
+          
             return true;
         }
 

+ 2 - 0
tps/TpsLabStudio/models/NoisePowerDensity.cs

@@ -20,6 +20,7 @@ namespace Tps_LQ_Transmitter.models
         public override bool Run(TestNode parameters)
         {
             double ChannelPower, ChannelPowerDensity;
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点噪声功率谱密度测试开始", parameters.PointIndex));
             //获取仪器
             var SA = this.tps.GetDevice("频谱仪");
            
@@ -171,6 +172,7 @@ namespace Tps_LQ_Transmitter.models
 
             }
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点噪声功率谱密度测试结束", parameters.PointIndex));
             return true;
         }
 

+ 4 - 4
tps/TpsLabStudio/models/PhaseNoise.cs

@@ -20,7 +20,7 @@ namespace Tps_LQ_Transmitter.models
         public override bool Run(TestNode parameters)
         {
             double y_value, x_value;
-            
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点相位噪声测试开始", parameters.PointIndex));
             //获取仪器
             var SA = this.tps.GetDevice("频谱仪");
            
@@ -116,9 +116,8 @@ namespace Tps_LQ_Transmitter.models
                     
                     //Psa.Write("相位噪声stopOffset", "200000"); Psa.QueryTimeout("OPC", 3000);
                     //Psa.Write("相位噪声startOffset", "20"); Psa.QueryTimeout("OPC", 3000);
-                    SA.Write("相位噪声关闭平均");
-                    SA.Query("OPC");
-                    SA.Write("相位噪声测试");  SA.Query("OPC");
+                    SA.Write("相位噪声关闭平均");    SA.Query("OPC");
+                    SA.Write("相位噪声测试");  //SA.Query("OPC");
                     Thread.Sleep(5000);
 
                     SA.Write("相位噪声下设置Mark", "1"); SA.Query("OPC");
@@ -240,6 +239,7 @@ namespace Tps_LQ_Transmitter.models
                 SA.Write("SingleOrCont", "1"); SA.Query("OPC");
             }
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点相位噪声测试结束", parameters.PointIndex));
             return true;
         }
 

+ 5 - 1
tps/TpsLabStudio/models/PowerAndFreqStability.cs

@@ -24,6 +24,7 @@ namespace Tps_LQ_Transmitter.models
         public override bool Run(TestNode parameters)
         {
             double y_value, x_value, TestFreq;
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点功率及频率稳定度测试开始", parameters.PointIndex));
 
             Random random = new Random();
 
@@ -155,10 +156,12 @@ namespace Tps_LQ_Transmitter.models
                     Thread.Sleep(500);
                     SA.Write("MARK打开", "1"); SA.Query("OPC");
                     SA.Write("打开MARK精度", "1"); SA.Query("OPC");
+                    Thread.Sleep(100);
                     SA.Write("PEAK", "1"); SA.Query("OPC");
                     SA.Write("SingleOrCont", "0"); SA.Query("OPC");
                     SA.Write("单次扫描"); SA.Query("OPC");
-                    string i=SA.Query("读MARK高精度频率", "1");
+                    Thread.Sleep(100);
+                    // string i=SA.Query("读MARK高精度频率", "1");
                     TestFreq = double.Parse(SA.Query("读MARK高精度频率", "1")); SA.Query("OPC"); ;
                     
 
@@ -309,6 +312,7 @@ namespace Tps_LQ_Transmitter.models
             //SerialClient.DUT_Transmitter_Ctrol( 00, 00);//控制掉电
             //SerialClient.SerialClose();
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点功率及频率稳定度测试结束", parameters.PointIndex));
             return true;
         }
 

+ 3 - 1
tps/TpsLabStudio/models/PowerTest-PowerMeter.cs

@@ -27,7 +27,8 @@ namespace Tps_LQ_Transmitter.models
         {
             //获取仪器
             DataType PowerPrint = new DataType();//功率(w)
-     
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点功率(功率计)测试开始", parameters.PointIndex));
+
             var PowerMeter = this.tps.GetDeviceModel("GPIB0::13::INSTR");
             if (PowerMeter == null)
             {
@@ -189,6 +190,7 @@ namespace Tps_LQ_Transmitter.models
                 #endregion
             }
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点功率(功率计)测试结束", parameters.PointIndex));
             return true;
         }
 

+ 2 - 0
tps/TpsLabStudio/models/SpuriousSuppression.cs

@@ -20,6 +20,7 @@ namespace Tps_LQ_Transmitter.models
         public override bool Run(TestNode parameters)
         {
             double y_value, x_value;
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点杂波抑制测试开始", parameters.PointIndex));
             Random random = new Random();
             //获取仪器
             var SA = this.tps.GetDevice("频谱仪");
@@ -154,6 +155,7 @@ namespace Tps_LQ_Transmitter.models
                 }
             }
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点杂波抑制测试结束", parameters.PointIndex));
             return true;
         }
 

+ 2 - 0
tps/TpsLabStudio/models/VoltAndCurrent.cs

@@ -24,6 +24,7 @@ namespace Tps_LQ_Transmitter.models
         public override bool Run(TestNode parameters)
         {
             object[] TableCell;
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点电压及电流测试开始", parameters.PointIndex));
             TestParameters result = new TestParameters();
             Random random = new Random();
             //获取仪器
@@ -156,6 +157,7 @@ namespace Tps_LQ_Transmitter.models
 
             }
             SaveExcel(workbook);
+            ShowMessage(MsgType.Info, string.Format("第{0}个频点电压及电流测试结束", parameters.PointIndex));
             return true;
         }
         //public void OpenExcel(string sheetname, out Spire.Xls.Workbook workbook,out Spire.Xls.Worksheet sheet )