Browse Source

测试功能优化

wangyingliang 3 years ago
parent
commit
fbc2165213

+ 1 - 0
.gitignore

@@ -12,3 +12,4 @@
 /tps/TpsLabStudio/发射机/9B发射机/模板/~$常温测试模板.xlsx
 /exe/apps/Tps_LQ_Transmitter/发射机/YZH16A发射机/测试数据/常温测试/666.xlsx
 *.zip
+/exe/apps/Tps_LQ_Transmitter/发射机/YZH16A发射机/测试数据/常温测试

BIN
exe.zip


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/config/测试#常温测试#YZH16A发射机-N9030A.xlsx


+ 185 - 0
exe/logs/202111.log

@@ -3431,3 +3431,188 @@
 2021-11-23 01:45:13.3710 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
 2021-11-23 01:45:13.3710 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
 2021-11-23 01:45:13.3710 Info:                [source]:runtime,[msg]:Runtime 关闭 
+2021-11-23 16:50:19.4133 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 16:50:19.4333 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 16:50:19.4783 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 16:50:19.4783 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 16:50:19.5003 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 16:50:19.5003 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 16:50:19.5003 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 16:50:19.5003 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 16:50:19.5003 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 16:50:23.5960 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 16:50:23.6250 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 16:50:23.6430 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 16:50:23.6550 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 16:57:33.3288 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 16:57:33.3478 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 16:57:33.3888 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 16:57:33.3988 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 16:57:33.3988 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 16:57:33.4128 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 16:57:33.4128 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 16:57:33.4128 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 16:57:33.4128 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 16:57:35.5958 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 16:57:35.6138 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 16:57:35.6238 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 16:57:35.6338 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 17:26:54.1419 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 17:26:54.1689 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 17:26:54.2239 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 17:26:54.2359 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 17:26:54.2609 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 17:26:54.2609 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 17:26:54.2609 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 17:26:54.2609 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 17:26:54.2609 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 17:26:56.4611 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 17:26:56.4771 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 17:26:56.4771 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 17:26:56.4961 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 17:28:23.7418 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 17:28:23.7668 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 17:28:23.8058 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 17:28:23.8058 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 17:28:23.8308 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 17:28:23.8308 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 17:28:23.8308 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 17:28:23.8348 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 17:28:23.8348 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 17:28:25.7979 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 17:28:25.8169 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 17:28:25.8269 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 17:28:25.8359 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 17:29:53.4658 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 17:29:53.4918 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 17:29:53.5468 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 17:29:53.5568 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 17:29:53.5568 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 17:29:53.5568 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 17:29:53.5698 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 17:29:53.5698 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 17:29:53.5698 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 17:29:59.6561 Error:                [source]:Visa SearchDevices,[msg]:*IDN查询设备名称时异常,GPIB0::18::INSTR 
+2021-11-23 17:30:03.8746 Error:                [source]:Visa SearchDevices,[msg]:VISA设备搜索执行异常,   在 DevicesApp.VisaBus.GetDeviceModel(String resourcehandle, String& deviceID, String& bustype) 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 167
+   在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
+2021-11-23 17:30:03.8746 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 17:30:03.9036 Error:                [source]:资源管理器 LoadDevice,[msg]:初始化本地配置文件的设备异常:USB0::0x0957::0x0D0B::US49230327::INSTR,请确认设备是否存在。原因:调用的目标发生了异常。 
+2021-11-23 17:30:03.9136 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 17:37:48.7798 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 17:37:48.7798 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 17:37:48.7958 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 17:37:48.8048 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 17:37:53.0077 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-11-23 17:37:53.0077 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-11-23 17:37:53.0077 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-11-23 17:37:53.0077 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-11-23 17:37:53.0077 Info:                [source]:runtime,[msg]:Runtime 关闭 
+2021-11-23 17:37:56.7999 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 17:37:56.8179 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 17:37:56.8529 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 17:37:56.8529 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 17:37:56.8739 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 17:37:56.8739 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 17:37:56.8739 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 17:37:56.8739 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 17:37:56.8739 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 17:37:58.7809 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 17:37:58.8009 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 17:37:58.8109 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 17:37:58.8209 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 17:50:28.3881 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-11-23 17:50:28.3881 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-11-23 17:50:28.3881 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-11-23 17:50:28.3881 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-11-23 17:50:28.3881 Info:                [source]:runtime,[msg]:Runtime 关闭 
+2021-11-23 17:57:29.1294 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 17:57:29.1464 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 17:57:29.1864 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 17:57:29.2084 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 17:57:29.2374 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 17:57:29.2374 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 17:57:29.2374 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 17:57:29.2414 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 17:57:29.2414 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 17:57:31.2336 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 17:57:31.2516 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 17:57:31.2608 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 17:57:31.2608 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 18:07:09.0685 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 18:07:09.0895 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 18:07:09.1375 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 18:07:09.1505 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 18:07:09.1635 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 18:07:09.1635 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 18:07:09.1635 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 18:07:09.1635 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 18:07:09.1635 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 18:07:11.0446 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 18:07:11.0606 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 18:07:11.0696 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 18:07:11.0696 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 18:48:39.4837 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-11-23 18:48:39.4837 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-11-23 18:48:39.4837 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-11-23 18:48:39.4837 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-11-23 18:48:39.4837 Info:                [source]:runtime,[msg]:Runtime 关闭 
+2021-11-23 18:48:44.6262 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 18:48:44.6482 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 18:48:44.7112 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 18:48:44.7112 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 18:48:44.7322 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 18:48:44.7322 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 18:48:44.7322 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 18:48:44.7322 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 18:48:44.7322 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 18:48:47.2792 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 18:48:47.3002 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 18:48:47.3112 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 18:48:47.3212 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 18:49:14.8006 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 18:49:14.8196 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 18:49:14.8576 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 18:49:14.8676 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 18:49:14.8676 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 18:49:14.8676 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 18:49:14.8676 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 18:49:14.8676 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 18:49:14.8676 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 18:49:16.6609 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 18:49:16.6769 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 18:49:16.6869 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 18:49:16.6959 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 18:49:42.5866 Error:                [source]:runtime,[msg]:未将对象引用设置到对象的实例。     在 Tps_LQ_Transmitter.FrmMain.BtnStop_Click(Object sender, EventArgs e) 位置 D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\tps\TpsLabStudio\FrmMain.cs:行号 441
+   在 System.Windows.Forms.Control.OnClick(EventArgs e)
+   在 DevComponents.DotNetBar.ButtonX.OnClick(EventArgs e)
+   在 DevComponents.DotNetBar.ButtonX.OnMouseUp(MouseEventArgs e)
+   在 System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
+   在 System.Windows.Forms.Control.WndProc(Message& m)
+   在 DevComponents.DotNetBar.PopupItemControl.WndProc(Message& m)
+   在 System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
+   在 System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
+   在 System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
+   在 System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg)
+   在 System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData)
+   在 System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
+   在 System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
+   在 System.Windows.Forms.Application.Run(Form mainForm)
+   在 JGWorks.Program.Main() 位置 D:\code\LabStudio\JGWorks\Program.cs:行号 70 
+2021-11-23 18:49:45.4066 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-11-23 18:49:45.4256 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-11-23 18:49:45.4616 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-11-23 18:49:45.4616 Info:                [source]:runtime,[msg]:加载插件"D:\000Code\0.TpsLabStudio_LTS_1112\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-11-23 18:49:45.4816 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-11-23 18:49:45.4816 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-11-23 18:49:45.4816 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-11-23 18:49:45.4816 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-11-23 18:49:45.4816 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-11-23 18:49:47.2877 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-11-23 18:49:47.3067 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-11-23 18:49:47.3067 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::13::INSTR。 
+2021-11-23 18:49:47.3267 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::18::INSTR。 
+2021-11-23 18:58:45.5502 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-11-23 18:58:45.5502 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-11-23 18:58:45.5502 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-11-23 18:58:45.5502 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-11-23 18:58:45.5502 Info:                [source]:runtime,[msg]:Runtime 关闭 

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


+ 3 - 3
tps/TpsLabStudio/models/PowerAndFreqStability.cs

@@ -155,11 +155,11 @@ namespace Tps_LQ_Transmitter.models
                     SA.Write("SingleOrCont", "1"); SA.Query("OPC");
                     Thread.Sleep(500);
                     SA.Write("MARK打开", "1"); SA.Query("OPC");
-                    Thread.Sleep(200);
-                    SA.Write("打开MARK精度", "1"); SA.Query("OPC");
                     Thread.Sleep(500);
-                    SA.Write("PEAK", "1"); SA.Query("OPC");
+                    SA.Write("打开MARK精度", "1"); SA.Query("OPC");
                     Thread.Sleep(200);
+                    SA.Write("PEAK", "1"); SA.Query("OPC");
+                    Thread.Sleep(500);
                     // SA.Write("SingleOrCont", "0"); SA.Query("OPC");
                     //   SA.Write("单次扫描"); SA.Query("OPC");
                     //   Thread.Sleep(100);

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

@@ -60,6 +60,9 @@ namespace Tps_LQ_Transmitter.models
             PowerPara.SmallSignalREF = parameters.Parameters.GetParameter<string>("小信号参考电平(REF)");
             PowerPara.RBW = parameters.Parameters.GetParameter<string>("分辨率带宽(RBW)");
             PowerPara.VBW = parameters.Parameters.GetParameter<string>("视频带宽(VBW)");
+            PowerPara.SmallSignalSPAN = parameters.Parameters.GetParameter<string>("小信号扫描带宽(SPAN)");
+            PowerPara.SmallSignalRBW = parameters.Parameters.GetParameter<string>("小信号分辨率带宽(RBW)");
+            PowerPara.SmallSignalVBW = parameters.Parameters.GetParameter<string>("小信号视频带宽(VBW)");
             PowerPara.ShakeCompensate = parameters.Parameters.GetParameter<double>("抖动补偿");
             PowerPara.LimitOffset = parameters.Parameters.GetParameter<double>("临界偏移");
             //PowerPara.ControlDelay = parameters.Parameters.GetParameter<int>("控制延时");
@@ -135,6 +138,9 @@ namespace Tps_LQ_Transmitter.models
                     PowerRigth = Power - y_value;
                     if (PowerPara.SpecialFreq != 0)
                     {
+                        SA.Write("SPAN", PowerPara.SmallSignalSPAN); SA.Query("OPC");
+                        SA.Write("RBW", PowerPara.SmallSignalRBW); SA.Query("OPC");
+                        SA.Write("VBW", PowerPara.SmallSignalVBW); SA.Query("OPC");
                         SA.Write("CENTER", PowerPara.SpecialFreq.ToString()); SA.Query("OPC");
                         SA.Write("SingleOrCont", "1"); SA.Query("OPC");
                         Thread.Sleep(500);
@@ -299,6 +305,10 @@ namespace Tps_LQ_Transmitter.models
             /// </summary>
             public string SPAN { set; get; }
             /// <summary>
+            ///设置小信号SPAN
+            /// </summary>
+            public string SmallSignalSPAN { set; get; }
+            /// <summary>
             /// 设置参考电平
             /// </summary>
             public string REF { set; get; }
@@ -316,6 +326,14 @@ namespace Tps_LQ_Transmitter.models
             /// </summary>
             public string VBW { set; get; }
             /// <summary>
+            /// 设置小信号RBW
+            /// </summary>
+            public string SmallSignalRBW { set; get; }
+            /// <summary>
+            /// 设置小信号VBW
+            /// </summary>
+            public string SmallSignalVBW { set; get; }
+            /// <summary>
             /// 控制延时
             /// </summary>
             public int ControlDelay { set; get; }