CN102467364B - A kind of method and device of adaptive generation power supply host computer interface - Google Patents
A kind of method and device of adaptive generation power supply host computer interface Download PDFInfo
- Publication number
- CN102467364B CN102467364B CN201010531087.7A CN201010531087A CN102467364B CN 102467364 B CN102467364 B CN 102467364B CN 201010531087 A CN201010531087 A CN 201010531087A CN 102467364 B CN102467364 B CN 102467364B
- Authority
- CN
- China
- Prior art keywords
- power supply
- host computer
- computer interface
- channels
- configuration information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 25
- 230000003044 adaptive effect Effects 0.000 title description 3
- 238000005259 measurement Methods 0.000 claims description 6
- 238000011161 development Methods 0.000 abstract description 16
- 239000002699 waste material Substances 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 4
- 230000009977 dual effect Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 238000009434 installation Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000004891 communication Methods 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Landscapes
- Power Sources (AREA)
Abstract
本发明提供了一种自适应生成电源上位机界面的方法及装置,该方法包括以下:从电源的配置文件中读取配置信息;获取所述电源的设置参数;根据所述的配置信息和所述的设置参数生成配置数据;根据所述的配置数据生成电源上位机界面。该装置包括:配置信息读取单元、设置参数获取单元、配置数据生成单元、电源上位机界面生成单元。本发明提供的技术方案,可适用于多种不同的电源仪器从而能够提高开发效率,避免开发资源浪费和重复开发,降低开发成本,同时也利于版本升级管理。
The present invention provides a method and device for adaptively generating a power supply host computer interface. The method includes the following steps: reading configuration information from the configuration file of the power supply; obtaining the setting parameters of the power supply; Generate configuration data according to the above-mentioned setting parameters; generate a power supply host computer interface according to the above-mentioned configuration data. The device includes: a configuration information reading unit, a setting parameter acquisition unit, a configuration data generation unit, and a power supply host computer interface generation unit. The technical solution provided by the present invention can be applied to various power supply devices so as to improve development efficiency, avoid waste of development resources and repeated development, reduce development cost, and facilitate version upgrade management at the same time.
Description
技术领域 technical field
本发明涉及电源上位机领域,尤其是一种电源上位机的用户界面,具体地说是一种自适应生成电源上位机界面的方法及装置。The invention relates to the field of power supply host computer, in particular to a user interface of the power supply host computer, in particular to a method and device for adaptively generating the interface of the power supply host computer.
背景技术 Background technique
现有的目前基于PC的电源应用程序(可将电源应用程序称作为电源上位机)只针对特定的电源仪器产品,其界面都为固定形式,不会随着电源仪器的改变动态变化,例如:安捷伦公司的电源仪器的应用程序、固纬电源仪器的应用程序等。若用户需要使用多款电源仪器产品的应用程序,则需要在控制端(例如:PC端)安装每款电源仪器产品的应用程序,使用非常不方便。对于功能相近的一系列电源仪器产品,其应用程序也包含很多相同的功能模块,对于电源仪器应用程序的开发人员,需要针对每一款电源仪器单独开发应用程序,这样的开发效率不高,造成开发资源浪费,重复开发,同时也不利于版本升级管理。Existing current PC-based power supply applications (the power supply application program can be referred to as the power supply host computer) are only aimed at specific power supply instrument products, and their interfaces are fixed and will not change dynamically with the change of the power supply instrument, for example: The application program of Agilent's power supply instrument, the application program of GW Instek's power supply instrument, etc. If the user needs to use the application programs of multiple power supply instrument products, the application program of each power supply instrument product needs to be installed on the control terminal (for example: PC terminal), which is very inconvenient to use. For a series of power supply instrument products with similar functions, their application programs also contain many identical functional modules. For power supply instrument application developers, they need to develop applications for each power supply instrument separately. Such development efficiency is not high, resulting in Development resources are wasted, repeated development is not conducive to version upgrade management.
发明内容 Contents of the invention
本发明实施例提出一种自适应生成电源上位机界面的方法及装置,以解决现有技术中因为需要对不同的电源仪器而开发不同的应用程序而造成浪费开发资源、不利于版本升级的问题。The embodiment of the present invention proposes a method and device for adaptively generating a power supply host computer interface to solve the problems in the prior art that waste development resources and are not conducive to version upgrades due to the need to develop different application programs for different power supply instruments .
本发明的目的之一是,提供一种自适应生成电源上位机界面的方法,所述的方法包括以下步骤:One of the objects of the present invention is to provide a method for adaptively generating a power supply host computer interface, the method comprising the following steps:
从电源的配置文件中读取配置信息;Read configuration information from the configuration file of the power supply;
获取所述电源的设置参数;Obtain the setting parameters of the power supply;
根据所述的配置信息和所述的设置参数生成配置数据;generating configuration data according to the configuration information and the setting parameters;
根据所述的配置数据生成电源上位机界面。Generate a power host computer interface according to the configuration data.
从电源的配置文件中读取配置信息包括:查询所述电源的型号,根据所述型号查找配置文件,从所述配置文件中读取配置信息。Reading the configuration information from the configuration file of the power supply includes: querying the model of the power supply, searching for the configuration file according to the model, and reading the configuration information from the configuration file.
所述的配置信息包括:通道状态、量程选择信息。The configuration information includes: channel status and range selection information.
所述的配置信息还包括:显示精度、最大最小限值。The configuration information also includes: display accuracy, maximum and minimum limits.
所述的通道包括:单通道、双通道、3通道、4通道、5通道、6通道、7通道或8通道。The channels include: single channel, double channel, 3 channels, 4 channels, 5 channels, 6 channels, 7 channels or 8 channels.
所述的方法还包括:从电源的配置文件中读取配置信息之前,进行初始化。The method further includes: before reading the configuration information from the configuration file of the power supply, performing initialization.
所述的根据所述的配置数据生成电源上位机界面包括:The generation of the power host computer interface according to the configuration data includes:
显示或隐藏通道显示区、量程显示区、测量值显示区。Show or hide the channel display area, range display area, and measurement value display area.
本发明的目的之一是,提供一种自适应生成电源上位机界面的装置,所述的装置包括:One of the objects of the present invention is to provide a device for adaptively generating a power supply host computer interface, said device comprising:
配置信息读取单元,用于从电源的配置文件中读取配置信息;The configuration information reading unit is used to read the configuration information from the configuration file of the power supply;
设置参数获取单元,获取所述电源的设置参数;A setting parameter acquisition unit to acquire the setting parameters of the power supply;
配置数据生成单元,根据所述的配置信息和所述的设置参数生成配置数据;a configuration data generating unit, configured to generate configuration data according to the configuration information and the setting parameters;
电源上位机界面生成单元,根据所述的配置数据生成电源上位机界面。The power supply host computer interface generation unit generates the power supply host computer interface according to the configuration data.
所述的配置信息读取单元进一步用于:查询所述电源的型号,根据所述型号查找配置文件,从所述配置文件中读取配置信息。The configuration information reading unit is further configured to: query the model of the power supply, search for a configuration file according to the model, and read configuration information from the configuration file.
所述的配置信息包括:通道状态、量程选择信息。The configuration information includes: channel status and range selection information.
所述的配置信息还包括:显示精度、最大最小限值。The configuration information also includes: display accuracy, maximum and minimum limits.
所述的通道包括:单通道、双通道、3通道、4通道、5通道、6通道、7通道或8通道。The channels include: single channel, double channel, 3 channels, 4 channels, 5 channels, 6 channels, 7 channels or 8 channels.
所述的装置还包括:初始化单元,用于从电源的配置文件中读取配置信息之前,进行初始化。The device further includes: an initialization unit, configured to perform initialization before reading the configuration information from the configuration file of the power supply.
所述的电源上位机界面生成单元包括:显示区显示或隐藏单元,用于显示或隐藏通道显示区、量程显示区、测量值显示区。The interface generating unit of the upper computer of the power supply includes: a display area display or hiding unit, which is used to display or hide the channel display area, the range display area, and the measurement value display area.
本发明的有效果在于:利用电源的配置信息和设置参数生成配置数据,根据该配置数据生成电源上位机界面,该电源上位机界面能够自适应于多种不同的电源仪器,从而能够提高开发效率,避免开发资源浪费和重复开发,降低开发成本,同时也利于版本升级管理。The present invention has the effect that configuration data is generated by using the configuration information and setting parameters of the power supply, and a power supply host computer interface is generated according to the configuration data. The power supply host computer interface can be adaptive to a variety of different power supply instruments, thereby improving development efficiency , to avoid waste of development resources and repeated development, reduce development costs, and also facilitate version upgrade management.
附图说明 Description of drawings
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动性的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the accompanying drawings in the following description are only These are some embodiments of the present invention. For those skilled in the art, other drawings can also be obtained according to these drawings on the premise of not paying creative efforts.
图1为本发明实施例提供的自适应生成电源上位机界面的方法的流程图;Fig. 1 is a flowchart of a method for adaptively generating a power supply host computer interface provided by an embodiment of the present invention;
图2为本发明实施例提供的自适应生成电源上位机界面的方法的另一流程图;Fig. 2 is another flowchart of a method for adaptively generating a power supply host computer interface provided by an embodiment of the present invention;
图3为本发明实施例提供的自适应生成电源上位机界面的装置的示意图;3 is a schematic diagram of a device for adaptively generating a power supply host computer interface provided by an embodiment of the present invention;
图4为本发明实施例提供的自适应获取电源上位机界面的装置的另一示意图;FIG. 4 is another schematic diagram of a device for adaptively acquiring a power host computer interface provided by an embodiment of the present invention;
图5为本发明实施例提供的3通道电源上位机的界面;Fig. 5 is the interface of the 3-channel power upper computer provided by the embodiment of the present invention;
图6为本发明实施例提供的单通道电源上位机的界面;Fig. 6 is the interface of the single-channel power supply upper computer provided by the embodiment of the present invention;
图7为本发明实施例提供的8通道电源上位机的界面。Fig. 7 is the interface of the 8-channel power supply host computer provided by the embodiment of the present invention.
具体实施方式 detailed description
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.
电源仪器用于为外部设备提供电源,而电源仪器与其控制端(包括但不限于PC、服务器)相连,控制端上执行电源仪器应用程序,执行程序,则会相应地出现该电源仪器的应用程序软件界面。本发明提供的方法则可应用于该电源仪器的控制端应用程序。The power supply instrument is used to provide power for external equipment, and the power supply instrument is connected to its control terminal (including but not limited to PC, server), and the application program of the power supply instrument is executed on the control terminal. When the program is executed, the application program of the power supply instrument will appear accordingly software interface. The method provided by the invention can be applied to the control terminal application program of the power supply instrument.
如图1所示,为本发明实施例提供的一种自适应获取电源仪器界面的方法流程图,所述的方法包括以下步骤:As shown in Figure 1, it is a flow chart of a method for adaptively obtaining a power supply instrument interface provided by an embodiment of the present invention, and the method includes the following steps:
步骤S101,从电源的配置文件中读取配置信息;Step S101, read the configuration information from the configuration file of the power supply;
进一步地,从电源的配置文件中读取配置信息包括:查询所述电源的型号,根据所述型号查找配置文件,从所述配置文件中读取配置信息。例如:Further, reading the configuration information from the configuration file of the power supply includes: querying the model of the power supply, searching for the configuration file according to the model, and reading the configuration information from the configuration file. For example:
在程序的安装目录中查找以仪器型号命名的仪器配置文件,若查找不到对应的仪器配置文件,则输出错误信息并结束程序。Search for the instrument configuration file named after the instrument model in the installation directory of the program. If the corresponding instrument configuration file cannot be found, an error message will be output and the program will end.
电源仪器控制端与电源仪器之间可通过有线或者无线方式(例如:包括但不限于蓝牙、红外、无线移动通信网络)进行通信。从配置文件中读取配置信息的包括:通道状态、通道数(通道数具体指的是:电源仪器能够为外部设备提供几路(通道)电源,例如:单通道、双通道或者多通道)、通道名称(例如:A通道、B通道、C通道等)、量程选择信息(例如:能够提供的电压、电流以及功率的量程)、显示精度(例如:电压精度到1V、0.1V、0.01V……;电流精确到1A、0.1A、0.01A……;功率精确到1W、0.1W、0.01W……)以及显示单位(例如:电压的单位为毫伏、伏特、千伏等;电流的单位为毫安、安、千安等;功率的单位为瓦、千瓦)、最大最小限值等信息。Communication between the control terminal of the power supply instrument and the power supply instrument can be carried out through wired or wireless means (for example: including but not limited to bluetooth, infrared, wireless mobile communication network). The configuration information read from the configuration file includes: channel status, channel number (the channel number specifically refers to: the power supply instrument can provide several channels (channels) of power for external devices, such as: single channel, dual channel or multi-channel), Channel name (for example: A channel, B channel, C channel, etc.), range selection information (for example: the range of voltage, current and power that can be provided), display accuracy (for example: voltage accuracy to 1V, 0.1V, 0.01V... ...; the current is accurate to 1A, 0.1A, 0.01A...; the power is accurate to 1W, 0.1W, 0.01W...) and the display unit (for example: the unit of voltage is millivolt, volt, kilovolt, etc.; the unit of current The unit of power is milliamp, ampere, kiloampere, etc.; the unit of power is watt, kilowatt), the maximum and minimum limits and other information.
步骤S102,获取所述电源的设置参数;Step S102, acquiring the setting parameters of the power supply;
具体来讲,获取所述电源的设置参数可以通过:向电源仪器发送查询命令的方式查询到。该设置参数可包括:电压及电流的数值、过压过流保护值、通道是打开或是关闭等。Specifically, obtaining the setting parameters of the power supply may be queried by sending a query command to the power supply device. The setting parameters may include: voltage and current values, overvoltage and overcurrent protection values, whether the channel is on or off, and so on.
步骤S103,根据所述的配置信息和所述的设置参数生成配置数据;Step S103, generating configuration data according to the configuration information and the setting parameters;
配置数据包括:配置信息和设置参数两部分。根据上述步骤S101至步骤S102,将已获得的配置信息和设置参数组合起来,就得到了配置数据。Configuration data includes: configuration information and setting parameters. According to the above steps S101 to S102, the obtained configuration information and setting parameters are combined to obtain the configuration data.
步骤S104,根据所述的配置数据生成电源上位机界面;Step S104, generating a power supply host computer interface according to the configuration data;
获得了配置信息和设置参数,则可以将这些信息显示在显示界面上。具体可为:显示或隐藏以下显示区:通道显示区、量程显示区、测量值显示区。After obtaining the configuration information and setting parameters, the information can be displayed on the display interface. Specifically, it can be: display or hide the following display areas: channel display area, range display area, and measurement value display area.
所述的通道包括单通道、双通道、或多通道(例如3通道、4通道、5通道、6通道、7通道或8通道)。The channels include single channel, double channel, or multiple channels (such as 3 channels, 4 channels, 5 channels, 6 channels, 7 channels or 8 channels).
如图2所示,优选的是,所述的自适应生成电源仪器界面的方法还包括:步骤S105,从电源的配置文件中读取配置信息之前,进行初始化。As shown in FIG. 2 , preferably, the method for adaptively generating a power supply instrument interface further includes: step S105 , performing initialization before reading configuration information from a power supply configuration file.
如图3所示,本发明实施例还提供一种自适应生成电源仪器界面的装置,所述的装置包括:As shown in Figure 3, the embodiment of the present invention also provides a device for adaptively generating a power supply instrument interface, and the device includes:
配置信息读取单元201,用于从电源的配置文件中读取配置信息;The configuration information reading unit 201 is configured to read the configuration information from the configuration file of the power supply;
进一步地,所述的配置信息读取单元101进一步用于:查询所述电源的型号,根据所述型号查找配置文件,从所述配置文件中读取配置信息。例如:Further, the configuration information reading unit 101 is further configured to: inquire about the model of the power supply, search for a configuration file according to the model, and read configuration information from the configuration file. For example:
在程序的安装目录中查找以仪器型号命名的仪器配置文件,若查找不到对应的仪器配置文件,则输出错误信息并结束程序。Search for the instrument configuration file named after the instrument model in the installation directory of the program. If the corresponding instrument configuration file cannot be found, an error message will be output and the program will end.
自适应生成电源仪器界面的装置与电源仪器之间可通过有线或者无线方式(例如:包括但不限于蓝牙、红外、无线移动通信网络)进行通信。从配置文件中读取配置信息的包括:通道状态、通道数(通道数具体指的是:电源仪器能够为外部设备提供几路(通道)电源,例如:单通道、双通道或者多通道)、通道名称(例如:A通道、B通道、C通道等)、量程选择信息(例如:能够提供的电压、电流以及功率的量程)、显示精度(例如:电压精度到1V、0.1V、0.01V……;电流精确到1A、0.1A、0.01A……;功率精确到1W、0.1W、0.01W……)以及显示单位(例如:电压的单位为毫伏、伏特、千伏等;电流的单位为毫安、安、千安等;功率的单位为瓦、千瓦)、最大最小限值等信息。The device for adaptively generating the interface of the power supply instrument can communicate with the power supply instrument in a wired or wireless manner (for example, including but not limited to bluetooth, infrared, and wireless mobile communication network). The configuration information read from the configuration file includes: channel status, channel number (the channel number specifically refers to: the power supply instrument can provide several channels (channels) of power for external devices, such as: single channel, dual channel or multi-channel), Channel name (for example: A channel, B channel, C channel, etc.), range selection information (for example: the range of voltage, current and power that can be provided), display accuracy (for example: voltage accuracy to 1V, 0.1V, 0.01V... ...; the current is accurate to 1A, 0.1A, 0.01A...; the power is accurate to 1W, 0.1W, 0.01W...) and the display unit (for example: the unit of voltage is millivolt, volt, kilovolt, etc.; the unit of current The unit of power is milliamp, ampere, kiloampere, etc.; the unit of power is watt, kilowatt), the maximum and minimum limits and other information.
设置参数获取单元202,用于获取所述电源的设置参数;A setting parameter acquisition unit 202, configured to acquire the setting parameters of the power supply;
具体来讲,获取所述电源的设置参数可以通过:向电源仪器发送查询命令的方式查询到。该设置参数可包括:电压及电流的数值、过压过流保护值、通道是打开或是关闭等。Specifically, obtaining the setting parameters of the power supply may be queried by sending a query command to the power supply device. The setting parameters may include: voltage and current values, overvoltage and overcurrent protection values, whether the channel is on or off, and so on.
配置数据生成单元203,根据所述的配置信息和所述的设置参数生成配置数据;The configuration data generating unit 203 generates configuration data according to the configuration information and the setting parameters;
配置数据包括:配置信息和设置参数两部分。根据上述步骤S101至步骤S102,将已获得的配置信息和设置参数组合起来,就得到了配置数据。Configuration data includes: configuration information and setting parameters. According to the above steps S101 to S102, the obtained configuration information and setting parameters are combined to obtain the configuration data.
电源上位机界面生成单元204,根据所述的配置数据生成电源上位机界面。The power host computer interface generation unit 204 generates a power host computer interface according to the configuration data.
获得了配置信息和设置参数,则可以将这些信息显示在显示界面上。具体可为:显示或隐藏以下显示区:通道显示区、量程显示区、测量值显示区。After obtaining the configuration information and setting parameters, the information can be displayed on the display interface. Specifically, it can be: display or hide the following display areas: channel display area, range display area, and measurement value display area.
所述的通道包括单通道、双通道、或多通道(例如3通道、4通道、5通道、6通道、7通道或8通道)。The channels include single channel, double channel, or multiple channels (such as 3 channels, 4 channels, 5 channels, 6 channels, 7 channels or 8 channels).
优选的是,如图4所示,所述的装置还包括:Preferably, as shown in Figure 4, the device also includes:
初始化单元205,用于从电源的配置文件中读取配置信息之前,进行初始化。The initialization unit 205 is configured to perform initialization before reading the configuration information from the configuration file of the power supply.
以下以具体实例来介绍本发明。在电源仪器的控制端(例如:PC机)上运行电源上位机应用软件,则出现软件启动界面。利用如图1、图2所示的方法,控制端PC机从电源仪器的配置文件中获取到如上述步骤S101至S105中所提及的配置信息和设置参数,然后根据配置信息和所述的设置参数生成应用于该款电源的软件界面。例如:从最终生成的界面来看,可知如图5所示的界面对应的该款电源是3通道的电源;图6所示的界面对应的该款电源是单通道的电源;图7所示的界面对应的该款电源是8通道的电源。如图5所示,电源的3个通道名称分别为CHI、CH2、CH3,其中:通道CHI的量程为“+6V/5A”,通道CH2的量程为“+25V/1A”,通道CH3的量程为“-25V/1A”。通道CHI、CH2、CH3当前均处于关闭状态,,因此图中显示的电压、电流、功率的数据均为0。从图5中还可得知通道CH1的电压精度为0.001V,电流精度为0.001A,功率精确为0.01W;通道CH2的电压精度为0.01V,电流精度为0.001A,功率精确为0.01W;通道CH3的电压精度为0.01V,电流精度为0.001A,功率精确为0.01W。图5中右侧的区域为相关的辅助信息区域,“波形图”按钮表示通过获得的电压电流绘制实时的波形图,“连接”按钮用于连接电源仪器,“?”按钮表示帮助信息,“紧急停止”表示遇紧急情况时切断通道(断电),以及显示当前日期及时间,以上这些信息(图5右侧的辅助信息区域中的上述信息)都是根据获得的电压/电流信息而做的相应的辅助处理,并不是本发明的关键技术之所在,在此不再赘述。The present invention is described below with specific examples. Run the application software of the upper computer of the power supply on the control terminal (for example: PC) of the power supply instrument, and the software startup interface will appear. Using the method shown in Figure 1 and Figure 2, the PC at the control end obtains the configuration information and setting parameters as mentioned in the above steps S101 to S105 from the configuration file of the power supply instrument, and then according to the configuration information and the described Setting parameters generates a software interface applied to this power supply. For example: From the final generated interface, it can be seen that the power supply corresponding to the interface shown in Figure 5 is a 3-channel power supply; the interface shown in Figure 6 corresponds to a single-channel power supply; as shown in Figure 7 The power supply corresponding to the interface is an 8-channel power supply. As shown in Figure 5, the names of the three channels of the power supply are CHI, CH2, and CH3, among which: the range of channel CHI is "+6V/5A", the range of channel CH2 is "+25V/1A", and the range of channel CH3 It is "-25V/1A". Channels CHI, CH2, and CH3 are currently closed, so the voltage, current, and power data displayed in the figure are all 0. It can also be seen from Figure 5 that the voltage accuracy of channel CH1 is 0.001V, the current accuracy is 0.001A, and the power accuracy is 0.01W; the voltage accuracy of channel CH2 is 0.01V, the current accuracy is 0.001A, and the power accuracy is 0.01W; The voltage accuracy of channel CH3 is 0.01V, the current accuracy is 0.001A, and the power accuracy is 0.01W. The area on the right side in Figure 5 is the relevant auxiliary information area. The "waveform diagram" button indicates that the real-time waveform diagram is drawn through the obtained voltage and current, the "connection" button is used to connect the power supply instrument, and the "?" button indicates help information, " "Emergency stop" means to cut off the channel (power off) in case of emergency, and to display the current date and time. The above information (the above information in the auxiliary information area on the right side of Figure 5) is based on the obtained voltage/current information. The corresponding auxiliary processing is not the key technology of the present invention, and will not be repeated here.
与图5类似,从图6中的上位机界面可得知:通道CH1的量程为“+32V/5A”,当前均处于关闭状态,通道CH1的电压精度为0.001V,电流精度为0.001A,功率精确为0.01W。从图7中的上位机界面可得知:通道CH1的量程为“+6V/5A”,当前处于打开状态,通道CH1的电压为5.000V,电流为4.000A,功率为20.00W;通道CH2的量程为“+25V/1A”,当前处于打开状态,通道CH2的电压为12.00V,电流为0.500A,功率为6.00W;通道CH3的量程为“-25V/1A”,当前处于打开状态,通道CH3的电压为10.00V,电流为0.600A,功率为6.00W;通道CH4的量程为“+6V/5A”,当前处于关闭状态,通道CH4的电压精度为0.001V,电流精度为0.01A,功率精度为0.01W;通道CH5的量程为“+6V/5A”,当前处于关闭状态,通道CH5的电压精度为0.001V,电流精度为0.001A,功率精度为0.01W;通道CH6的量程为“+6V/5A”,当前处于关闭状态,通道CH6的电压精度为0.001V,电流精度为0.01A,功率精度为0.01W;通道CH7的量程为“+6V/5A”,当前处于关闭状态,通道CH7的电压精度为0.001V,电流精度为0.01A,功率精度为0.01W;通道CH8的量程为“+6V/5A”,当前处于关闭状态,通道CH1的电压精度为0.001V,电流精度为0.01A,功率精度为0.01W。图7中左侧的通道CH1、CH2、CH3用黑色实心长方块标示出来以用来表示通道当前处于打开状态,而通道CH4、CH5、CH6、CH7、CH8用黑色空心长方块标示出来以用来表示通道当前处于关闭状态。图7中CH1、CH4、CH5、CH6、CH7、CH8中的“CV”表示当前的输出通道处于恒压状态。Similar to Figure 5, it can be seen from the host computer interface in Figure 6 that the range of channel CH1 is "+32V/5A", and they are currently closed. The voltage accuracy of channel CH1 is 0.001V, and the current accuracy is 0.001A. The power is precisely 0.01W. From the host computer interface in Figure 7, it can be known that the range of channel CH1 is "+6V/5A", and it is currently open, the voltage of channel CH1 is 5.000V, the current is 4.000A, and the power is 20.00W; the channel CH2 The range is "+25V/1A", and it is currently on. The voltage of channel CH2 is 12.00V, the current is 0.500A, and the power is 6.00W; the range of channel CH3 is "-25V/1A", and it is currently on. The voltage of CH3 is 10.00V, the current is 0.600A, and the power is 6.00W; the range of channel CH4 is "+6V/5A", and it is currently closed. The voltage accuracy of channel CH4 is 0.001V, the current accuracy is 0.01A, and the power The accuracy is 0.01W; the range of channel CH5 is "+6V/5A", and it is currently closed. The voltage accuracy of channel CH5 is 0.001V, the current accuracy is 0.001A, and the power accuracy is 0.01W; the range of channel CH6 is "+ 6V/5A", it is currently closed, the voltage accuracy of channel CH6 is 0.001V, the current accuracy is 0.01A, and the power accuracy is 0.01W; the range of channel CH7 is "+6V/5A", it is currently closed, channel CH7 The voltage accuracy of the channel is 0.001V, the current accuracy is 0.01A, and the power accuracy is 0.01W; the range of channel CH8 is "+6V/5A", and it is currently closed; the voltage accuracy of channel CH1 is 0.001V, and the current accuracy is 0.01A , The power accuracy is 0.01W. The channels CH1, CH2, and CH3 on the left in Figure 7 are marked with black solid rectangles to indicate that the channels are currently open, while the channels CH4, CH5, CH6, CH7, and CH8 are marked with black hollow rectangles for Indicates that the channel is currently closed. "CV" in CH1, CH4, CH5, CH6, CH7, and CH8 in Figure 7 indicates that the current output channel is in a constant voltage state.
本发明的有效果在于:利用电源的配置信息和设置参数生成配置数据,根据该配置数据生成电源上位机界面,该电源上位机界面能够自适应于多种不同的电源仪器,从而能够提高开发效率,避免开发资源浪费和重复开发,降低开发成本,同时也利于版本升级管理。The present invention has the effect that configuration data is generated by using the configuration information and setting parameters of the power supply, and a power supply host computer interface is generated according to the configuration data. The power supply host computer interface can be adaptive to a variety of different power supply instruments, thereby improving development efficiency , to avoid waste of development resources and repeated development, reduce development costs, and also facilitate version upgrade management.
以上实施例,只是本发明优选的具体实施方式,所属领域的技术人员在本发明的技术方案内进行的通常变化、更改或者替换都应包含在本发明的保护范围之内。The above embodiments are only preferred specific implementations of the present invention, and ordinary changes, changes or substitutions made by those skilled in the art within the technical solution of the present invention shall be included within the protection scope of the present invention.
Claims (14)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010531087.7A CN102467364B (en) | 2010-11-03 | 2010-11-03 | A kind of method and device of adaptive generation power supply host computer interface |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201010531087.7A CN102467364B (en) | 2010-11-03 | 2010-11-03 | A kind of method and device of adaptive generation power supply host computer interface |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN102467364A CN102467364A (en) | 2012-05-23 |
| CN102467364B true CN102467364B (en) | 2016-08-10 |
Family
ID=46071042
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201010531087.7A Active CN102467364B (en) | 2010-11-03 | 2010-11-03 | A kind of method and device of adaptive generation power supply host computer interface |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN102467364B (en) |
Families Citing this family (2)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN105093949A (en) * | 2015-07-13 | 2015-11-25 | 小米科技有限责任公司 | Method and apparatus for controlling device |
| CN105487895B (en) * | 2015-11-27 | 2019-05-14 | 贵州航天风华精密设备有限公司 | A kind of power parameter generic definition method |
Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101192143A (en) * | 2006-12-01 | 2008-06-04 | 上海亚伦科技有限公司 | Software interface construction method |
| CN101324843A (en) * | 2008-07-16 | 2008-12-17 | 广州复旦奥特科技股份有限公司 | Object model of general-purpose gateway design |
| CN101593112A (en) * | 2009-06-23 | 2009-12-02 | 中兴通讯股份有限公司 | A method and system for adaptively displaying supporting software pages of terminal products |
| CN101661058A (en) * | 2009-09-21 | 2010-03-03 | 浙江创维自动化工程有限公司 | IEC 61850 digital distance electric power data collecting method and apparatus thereof |
Family Cites Families (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US7426694B2 (en) * | 2004-02-17 | 2008-09-16 | Schweitzer Engineering Laboratories, Inc. | System and method for customizing design of settings management user interface systems used to configure settings for intelligent electronic devices |
-
2010
- 2010-11-03 CN CN201010531087.7A patent/CN102467364B/en active Active
Patent Citations (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN101192143A (en) * | 2006-12-01 | 2008-06-04 | 上海亚伦科技有限公司 | Software interface construction method |
| CN101324843A (en) * | 2008-07-16 | 2008-12-17 | 广州复旦奥特科技股份有限公司 | Object model of general-purpose gateway design |
| CN101593112A (en) * | 2009-06-23 | 2009-12-02 | 中兴通讯股份有限公司 | A method and system for adaptively displaying supporting software pages of terminal products |
| CN101661058A (en) * | 2009-09-21 | 2010-03-03 | 浙江创维自动化工程有限公司 | IEC 61850 digital distance electric power data collecting method and apparatus thereof |
Also Published As
| Publication number | Publication date |
|---|---|
| CN102467364A (en) | 2012-05-23 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN104053164B (en) | Things-internet gateway test system and method | |
| CN109600356A (en) | Carry out the method and apparatus of the communication between bridging device using low energy device | |
| ES2957416T3 (en) | Computer-implemented apparatus, device and method for the automatic generation of a SCADA slave interface | |
| CN108683636B (en) | Charging pile communication method and system | |
| CN105354220B (en) | A kind of application process of intelligent substation IED equipment user's custom profiles | |
| CN104516709B (en) | Voice assisting method and system based on software operation scene and voice assistant | |
| CN101447695B (en) | Management method of functions of multi-agent-based digital substation | |
| CN108170454A (en) | A kind of data interactive method for being applied to BIOS and baseboard management controller | |
| CN110867956A (en) | Topology automatic identification system and method based on intelligent platform area | |
| CN105516178A (en) | Protocol converter for unified management and control of intelligent power distribution terminal | |
| CN102467364B (en) | A kind of method and device of adaptive generation power supply host computer interface | |
| CN106371869A (en) | Realizing method for IEC61850 configuration software of compartment equipment of intelligent substation | |
| Hernandez-Rojas et al. | IoT android gateway for monitoring and control a WSN | |
| CN105702009A (en) | Intelligent meter reading gateway supporting multi-type sensor network accessing simultaneously | |
| Adolf et al. | Smartscript-a domain-specific language for appliance control in smart grids | |
| Scott et al. | A DIY approach to pervasive computing for the Internet of Things: A smart alarm clock | |
| CN203219328U (en) | A multi-channel communication protocol converter | |
| Wang et al. | The design and implementation of the voice control system of smart home based on iOS | |
| CN104317717B (en) | Embedded software testing method on basis of dimension conversion | |
| CN205722357U (en) | A kind of intelligent meter data recording gateway supporting polymorphic type sensing network to be concurrently accessed | |
| CN202748161U (en) | Environmental factor acquisition system and measuring apparatus for production process of semiconductor integrated circuit | |
| Vinkovič et al. | The internet of things communication protocol for devices with low memory footprint | |
| CN102855303A (en) | Method and device for data transmission between SCADA (supervisory control and data acquisition) system and database platform | |
| CN103207795A (en) | Electric energy configuration method based on light WEB server | |
| WO2005031536A3 (en) | User interface provisioning |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| C06 | Publication | ||
| PB01 | Publication | ||
| C10 | Entry into substantive examination | ||
| SE01 | Entry into force of request for substantive examination | ||
| C14 | Grant of patent or utility model | ||
| GR01 | Patent grant |