Pārlūkot izejas kodu

多频点测试功能已完成,差注释和上下限设置、相位噪声、噪声功率谱生成excel表。

ceac_pqy@163.com 3 gadi atpakaļ
vecāks
revīzija
b2dc9ca120

BIN
exe/apps/Tps_LQ_Transmitter/Tps_LQ_Transmitter.dll


BIN
exe/apps/Tps_LQ_Transmitter/Tps_LQ_Transmitter.pdb


+ 166 - 0
exe/logs/202108.log

@@ -5729,3 +5729,169 @@
    在 DevicesApp.VisaBus.SearchDevices() 位置 D:\code\LabStudio\component\DevicesApp\VisaBus.cs:行号 30 
 2021-08-20 23:25:26.3498 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
 2021-08-20 23:25:26.3718 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-21 09:46:41.1364 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-21 09:46:41.2514 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-21 09:46:41.5404 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-21 09:46:41.5644 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-21 09:46:41.6484 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-21 09:46:41.6484 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-21 09:46:41.6484 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-21 09:46:41.6484 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-21 09:46:41.6484 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-21 09:46:51.5864 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-21 09:46:53.6244 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-21 09:46:53.6554 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-21 09:46:53.6764 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-21 09:54:15.9634 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-21 09:54:16.1224 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-21 09:54:16.4674 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-21 09:54:16.4844 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-21 09:54:16.5164 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-21 09:54:16.5164 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-21 09:54:16.5164 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-21 09:54:16.5164 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-21 09:54:16.5164 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-21 09:54:24.6894 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-21 09:54:26.7364 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-21 09:54:27.0024 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-21 09:54:27.0654 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-21 09:56:06.2024 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-08-21 09:56:06.2024 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-08-21 09:56:06.2024 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-08-21 09:56:06.2134 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-08-21 09:56:06.2134 Info:                [source]:runtime,[msg]:Runtime 关闭 
+2021-08-21 10:00:17.6806 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-21 10:00:17.8246 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-21 10:00:18.3816 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-21 10:00:18.3986 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-21 10:00:18.4826 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-21 10:00:18.4826 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-21 10:00:18.4826 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-21 10:00:18.4926 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-21 10:00:18.4926 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-21 10:00:25.0486 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-21 10:00:25.0746 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-21 10:00:25.0976 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-21 10:00:25.1136 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-21 10:05:47.9986 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-21 10:05:48.1346 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-21 10:05:48.5586 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-21 10:05:48.5826 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-21 10:05:48.6096 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-21 10:05:48.6096 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-21 10:05:48.6096 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-21 10:05:48.6096 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-21 10:05:48.6096 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-21 10:05:52.5946 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-21 10:05:52.6106 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-21 10:05:52.6306 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-21 10:05:52.6486 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-21 10:25:44.4926 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-08-21 10:25:44.4926 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-08-21 10:25:44.4926 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-08-21 10:25:44.4926 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-08-21 10:25:44.4926 Info:                [source]:runtime,[msg]:Runtime 关闭 
+2021-08-21 11:29:44.3966 Info:                [source]:runtime,[msg]:Runtime 启动 
+2021-08-21 11:29:44.5136 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DataApp\bundle.config" 
+2021-08-21 11:29:44.8126 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\DevicesApp\bundle.config" 
+2021-08-21 11:29:44.9526 Info:                [source]:runtime,[msg]:加载插件"F:\Code\Transmitter-3-New\TpsLabStudio_LTS\exe\apps\Tps_LQ_Transmitter\bundle.config" 
+2021-08-21 11:29:45.0306 Info:                [source]:runtime,[msg]:AppHost 开始启动插件 
+2021-08-21 11:29:45.0376 Info:                [source]:runtime,[msg]:插件"数据管理"启动成功 
+2021-08-21 11:29:45.0376 Info:                [source]:runtime,[msg]:插件"资源管理器"启动成功 
+2021-08-21 11:29:45.0376 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"启动成功 
+2021-08-21 11:29:45.0376 Info:                [source]:runtime,[msg]:Runtime 启动完成 
+2021-08-21 11:29:50.6416 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-21 11:29:54.7286 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-21 11:29:56.7686 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-21 11:29:56.8256 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:GPIB0::34::INSTR。 
+2021-08-21 11:29:56.8366 Info:                [source]:资源管理器 LoadDevice,[msg]:初始化设备成功:USB0::0x0957::0x0D0B::US49230327::INSTR。 
+2021-08-21 11:39:59.8106 Info:                [source]:runtime,[msg]:AppHost 停止插件 
+2021-08-21 11:39:59.8106 Info:                [source]:runtime,[msg]:插件"数据管理"停止成功 
+2021-08-21 11:39:59.8106 Info:                [source]:runtime,[msg]:插件"资源管理器"停止成功 
+2021-08-21 11:39:59.8106 Info:                [source]:runtime,[msg]:插件"6YX03B-9B"停止成功 
+2021-08-21 11:39:59.8106 Info:                [source]:runtime,[msg]:Runtime 关闭 

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


+ 4 - 0
tps/TpsLabStudio/FrmMain.cs

@@ -355,6 +355,8 @@ namespace Tps_LQ_Transmitter
 
                     if (IsRuning == false)
                     {
+                        //控制断电
+                        SerialClient.DUT_Transmitter_Ctrol(0x00, 0x00);
                         SerialClient.SerialClose();
                         return;
                     }
@@ -368,6 +370,8 @@ namespace Tps_LQ_Transmitter
 
                 SerialClient.SerialClose();
                 #endregion
+                //控制断电
+                SerialClient.DUT_Transmitter_Ctrol(0x00, 0x00);
                 DCPower.Write("GLOBal:OUTPut:STATe 0\n"); DCPower.Query("*OPC?\n");
                 this.Invoke(new Action(() => {
                     BtnLoadTpsConfig.Enabled = true;

BIN
tps/TpsLabStudio/config/测试#常温测试#发射机 -N9030A.xlsx


+ 1 - 1
tps/TpsLabStudio/models/HarmonicSuppression.cs

@@ -54,7 +54,7 @@ namespace Tps_LQ_Transmitter.models
             //string ComPort = CfigComParas.GetComPort("1");
             //byte ThridByte = Convert.ToByte(CfigComParas.GetThirdByte("1"), 16);
           
-            PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
+           // PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
             PowerPara.SPAN = parameters.Parameters.GetParameter<string>("扫描带宽(SPAN)");
             PowerPara.REF = parameters.Parameters.GetParameter<string>("参考电平(REF)");
             PowerPara.SmallSignalREF = parameters.Parameters.GetParameter<string>("小信号参考电平(REF)");

+ 8 - 8
tps/TpsLabStudio/models/ModulationIndexAndMaxFreqOffset.cs

@@ -47,16 +47,16 @@ namespace Tps_LQ_Transmitter.models
             }
 
             MatchModulaPara CfigModuParas = new MatchModulaPara();
-            //CfigModuParas = LoadModulationWorkBook();
-            //if (CfigModuParas == null)
-            //{
-            //    return false;
-            //}
+            CfigModuParas = LoadModulationWorkBook();
+            if (CfigModuParas == null)
+            {
+                return false;
+            }
 
             ConfigParameter PowerPara = new ConfigParameter();
-            PowerPara.StepFrequency = 0;
-            PowerPara.ComPort = parameters.Parameters.GetParameter<string>("串口");
-            PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
+            //PowerPara.StepFrequency = 0;
+            ////PowerPara.ComPort = parameters.Parameters.GetParameter<string>("串口");
+            //PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
             //PowerPara.StartFrequency = parameters.Parameters.GetParameter<double>("起始频率");
             //PowerPara.StepFrequency = parameters.Parameters.GetParameter<double>("频率步进");
             //PowerPara.FrequencyNumber = parameters.Parameters.GetParameter<int>("频点数量");

+ 1 - 1
tps/TpsLabStudio/models/NoisePowerDensity.cs

@@ -37,7 +37,7 @@ namespace Tps_LQ_Transmitter.models
             ConfigParameter PowerPara = new ConfigParameter();
             //PowerPara.StepFrequency = 0;
             //PowerPara.ComPort = parameters.Parameters.GetParameter<string>("串口");
-            PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
+            //PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
             //PowerPara.StartFrequency = parameters.Parameters.GetParameter<double>("起始频率");
             //PowerPara.StepFrequency = parameters.Parameters.GetParameter<double>("频率步进");
             //PowerPara.FrequencyNumber = parameters.Parameters.GetParameter<int>("频点数量");

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

@@ -36,7 +36,7 @@ namespace Tps_LQ_Transmitter.models
             ConfigParameter PowerPara = new ConfigParameter();
             //PowerPara.StepFrequency = 0;
             //PowerPara.ComPort = parameters.Parameters.GetParameter<string>("串口");
-            PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
+           // PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
             //PowerPara.StartFrequency = parameters.Parameters.GetParameter<double>("起始频率");
             //PowerPara.StepFrequency = parameters.Parameters.GetParameter<double>("频率步进");
             //PowerPara.FrequencyNumber = parameters.Parameters.GetParameter<int>("频点数量");

+ 1 - 1
tps/TpsLabStudio/models/SpuriousSuppression.cs

@@ -43,7 +43,7 @@ namespace Tps_LQ_Transmitter.models
             ConfigParameter PowerPara = new ConfigParameter();
             //PowerPara.StepFrequency = 0;
             //PowerPara.ComPort = parameters.Parameters.GetParameter<string>("串口");
-            PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
+           // PowerPara.OutLoss = parameters.Parameters.GetParameter<double>("输出损耗");
             //PowerPara.StartFrequency = parameters.Parameters.GetParameter<double>("起始频率");
             //PowerPara.StepFrequency = parameters.Parameters.GetParameter<double>("频率步进");
             //PowerPara.FrequencyNumber = parameters.Parameters.GetParameter<int>("频点数量");

+ 1 - 1
tps/TpsLabStudio/models/VoltAndCurrent.cs

@@ -55,7 +55,7 @@ namespace Tps_LQ_Transmitter.models
 
 
             ConfigParameter PowerPara = new ConfigParameter();
-            PowerPara.ComPort = parameters.Parameters.GetParameter<string>("串口");
+            //PowerPara.ComPort = parameters.Parameters.GetParameter<string>("串口");
             //PowerPara.StartFrequency = parameters.Parameters.GetParameter<double>("起始频率");
             //PowerPara.FrequencyNumber = parameters.Parameters.GetParameter<int>("频点数量");
             //PowerPara.StopFrequency = parameters.Parameters.GetParameter<double>("终止频率");