CN111580885A - Method and system for quickly integrating hardware based on labview upper computer - Google Patents

Method and system for quickly integrating hardware based on labview upper computer Download PDF

Info

Publication number
CN111580885A
CN111580885A CN202010384090.4A CN202010384090A CN111580885A CN 111580885 A CN111580885 A CN 111580885A CN 202010384090 A CN202010384090 A CN 202010384090A CN 111580885 A CN111580885 A CN 111580885A
Authority
CN
China
Prior art keywords
hardware
upper computer
configuration file
module
labview upper
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.)
Withdrawn
Application number
CN202010384090.4A
Other languages
Chinese (zh)
Inventor
李小伟
刘顺华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Huideyi Technology Co ltd
Original Assignee
Beijing Huideyi Technology Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing Huideyi Technology Co ltd filed Critical Beijing Huideyi Technology Co ltd
Priority to CN202010384090.4A priority Critical patent/CN111580885A/en
Publication of CN111580885A publication Critical patent/CN111580885A/en
Withdrawn legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/445Program loading or initiating
    • G06F9/44505Configuring for program initiating, e.g. using registry, configuration files

Abstract

The invention provides a hardware rapid integration method based on a labview upper computer, which comprises the following steps: receiving configured hardware information and generating a configuration file; when software of a labview upper computer is started, the configuration file is immediately acquired; and the system for controlling the Labview upper computer updates hardware data based on the configuration file and displays the UI interface after the hardware data is updated. According to the method and the system provided by the invention, the component information of different hardware is defined, and the corresponding component information is loaded based on different hardware configurations, so that the corresponding functional module is loaded in the integrated function of the whole software, the high-efficiency integrated development can be realized, the integrated workload is reduced, the test and maintenance cost is reduced, and the development period is shortened.

Description

Method and system for quickly integrating hardware based on labview upper computer
Technical Field
The invention relates to a hardware integration technology, in particular to a method and a system for quickly integrating hardware based on a labview upper computer.
Background
The hardware system integration is to connect and install all test resources, perform hardware integration under the support of a software platform and an instrument driver, and require that all test resources work normally, program-controlled resources are accurately and reliably controlled, and instrument performance indexes meet requirements.
As shown in fig. 1, a workflow diagram of the configuration of non-standard components and the integration of increasing and decreasing hardware at present is performed on the existing software when there is a new hardware integration requirement, each configuration in the system is a new item, when the integration requirement becomes more, the problem of difficult maintenance occurs, and the stability of the fast integration mode is poor, which increases the later testing cost.
Disclosure of Invention
The embodiment of the invention provides a method and a system for quickly integrating hardware based on a labview upper computer.
The first aspect of the embodiment of the invention provides a hardware rapid integration method based on a labview upper computer, which comprises the following steps:
receiving configured hardware information and generating a configuration file;
when software of a labview upper computer is started, the configuration file is immediately acquired;
and the system for controlling the Labview upper computer updates hardware data based on the configuration file and displays the UI interface after the hardware data is updated.
Preferably, the hardware information includes any one or more of a type of hardware, a name of the hardware, a communication type of the hardware, a protocol of the hardware, and a parameter of the hardware.
Preferably, after the step of updating the hardware data by the system of the Labview upper computer based on the configuration file, the method further comprises:
and the Labview upper computer updates the control logic and dynamically updates the PID map based on the hardware information.
In a second aspect of the embodiments of the present invention, a hardware rapid integration system based on a labview upper computer is provided, which includes the following devices:
a configuration module: the system comprises a configuration module, a configuration module and a configuration module, wherein the configuration module is used for receiving configured hardware information and generating a configuration file;
an acquisition module: the configuration file is used for immediately acquiring the configuration file when software of the labview upper computer is started;
an update module: and the system for controlling the Labview upper computer updates hardware data based on the configuration file and displays the UI interface after updating the hardware data.
Preferably, the hardware information includes any one or more of a type of hardware, a name of the hardware, a communication type of the hardware, a protocol of the hardware, and a parameter of the hardware.
Preferably, the UI interface includes any one or more of a control module, a communication module, a PID drawing module, and an automatic control module.
In a third aspect of the embodiments of the present invention, a hardware rapid integration device based on a labview upper computer is provided, which includes: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of the first aspect of the invention and its various possible designs.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention when the computer program is executed by a processor.
According to the method and the system for quickly integrating the hardware based on the labview upper computer, provided by the invention, the component information of different hardware is defined, and the corresponding component information is loaded based on different hardware configurations, so that the corresponding functional module is loaded in the integrated function of the whole software, the high-efficiency integrated development can be realized, the integrated workload is reduced, the test and maintenance cost is reduced, and the development period is shortened.
Drawings
FIG. 1 is a flow chart of a hardware rapid integration method of a labview upper computer in the prior art;
FIG. 2 is a flowchart of a first embodiment of a method for rapidly integrating hardware of a labview upper computer according to the present invention;
FIG. 3 is a flowchart of a second embodiment of a method for rapidly integrating hardware of a labview upper computer according to the present invention;
FIG. 4 is a structural diagram of a hardware rapid integration system of a labview upper computer provided by the invention;
FIG. 5 is a schematic interface diagram of an equipment device and a component loading module provided by the present invention;
FIG. 6 is a schematic view of an interface of a control module provided by the present invention;
FIG. 7 is a schematic interface diagram of a communication module according to the present invention;
FIG. 8 is a schematic interface diagram of a PID mapping module and a display module according to the present invention;
FIG. 9 is a schematic diagram of an interface of an automatic control module according to the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the processes do not mean the execution sequence, and the execution sequence of the processes should be determined by the functions and the internal logic of the processes, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should be understood that in the present application, "comprising" and "having" and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be understood that, in the present invention, "a plurality" means two or more. "and/or" is merely an association describing an associated object, meaning that three relationships may exist, for example, and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship. "comprises A, B and C" and "comprises A, B, C" means that all three of A, B, C comprise, "comprises A, B or C" means that one of A, B, C comprises, "comprises A, B and/or C" means that any 1 or any 2 or 3 of A, B, C comprises.
It should be understood that in the present invention, "B corresponding to a", "a corresponds to B", or "B corresponds to a" means that B is associated with a, and B can be determined from a. Determining B from a does not mean determining B from a alone, but may be determined from a and/or other information. And the matching of A and B means that the similarity of A and B is greater than or equal to a preset threshold value.
As used herein, "if" may be interpreted as "at … …" or "when … …" or "in response to a determination" or "in response to a detection", depending on the context.
The technical solution of the present invention will be described in detail below with specific examples. The following several specific embodiments may be combined with each other, and details of the same or similar concepts or processes may not be repeated in some embodiments.
As shown in fig. 2, in a first aspect of the present invention, a method for quickly integrating hardware based on a labview upper computer is provided. Compared with a comparison file, the method has the advantages that a step of configuration updating is added on the whole, the hardware information needing to be added is configured after the labview upper computer is started, and the method has certain creativity on the premise of solving the technical problem by combining the difference and the following steps.
The method for quickly integrating the hardware based on the labview upper computer, disclosed by the invention, comprises the following steps as shown in figure 3:
s1, configuration step: and receiving the configured hardware information and generating a configuration file. The hardware information includes any one or more of the type of hardware, the name of the hardware, the communication type of the hardware, the protocol of the hardware, and the parameter of the hardware.
S2, an acquisition step: and when the software of the labview upper computer is started, immediately acquiring the configuration file.
S3, updating: and the system for controlling the Labview upper computer updates hardware data based on the configuration file and displays the UI interface after the hardware data is updated. After the step of updating the hardware data of the system of the Labview upper computer based on the configuration file, the method further comprises the following steps: and the Labview upper computer updates the control logic and dynamically updates the PID map based on the hardware information.
In a second aspect of the embodiments of the present invention, a hardware rapid integration system based on a labview upper computer is provided, as shown in fig. 4, including: a configuration module: and the hardware information used for receiving the configuration generates a configuration file. The hardware information includes any one or more of the type of hardware, the name of the hardware, the communication type of the hardware, the protocol of the hardware, and the parameter of the hardware. An acquisition module: the configuration file is used for immediately acquiring the configuration file when software of the labview upper computer is started; an update module: and the system for controlling the Labview upper computer updates hardware data based on the configuration file and displays the UI interface after updating the hardware data. The configuration module, the acquisition module and the update module can be implemented as a single chip microcomputer integrated with the labview upper computer, and can also be any one or more of a processor, a controller, an FPGA and an MCU.
In one embodiment, the UI interface comprises a device, component loading module, as shown in fig. 5, comprising pumps, valves, sensors, etc., wherein the pumps further comprise a pumps, B pumps, etc., the valves further comprise inlet valves 1, outlet valves 1, etc., and the sensors comprise sensors 1, sensors 2, etc. The loading and reading of the configuration file and the display of the result can be realized through the device loading module.
The UI interface includes a control module that controls the components based on the type of control component, the name of the control component, the component model, and the parameters, as shown in fig. 6, where the example in this figure is the control of the pump component, the a pump.
The UI interface includes a communication module, as shown in fig. 7, which includes information of an IP address, a port, and the like, wherein the IP address may be 192.168.1.222, the port may be 8004, and the like.
The UI interface includes a PID mapping module and a display module, and as shown in fig. 8, after parsing the configuration file, obtains an analysis result of the component, and obtains a current PID state based on the analysis result to perform PID mapping.
The UI interface includes a communication module automation module, as shown in fig. 9, which includes a full automation script, wherein the automation module controls a specific operation to a specific component.
In a third aspect of the embodiments of the present invention, a hardware rapid integration device based on a labview upper computer is provided, which includes: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of the first aspect of the invention and its various possible designs.
A fourth aspect of the embodiments of the present invention provides a readable storage medium, in which a computer program is stored, and the computer program is used for implementing the method according to the first aspect of the present invention and various possible designs of the first aspect of the present invention when the computer program is executed by a processor.
The embodiment of the invention provides a hardware structure schematic diagram of a terminal, which comprises: a processor, memory and computer program; wherein
A memory for storing the computer program, which may also be a flash memory (flash). The computer program is, for example, an application program, a functional module, or the like that implements the above method.
And the processor is used for executing the computer program stored in the memory so as to realize the steps executed by the terminal in the method. Reference may be made in particular to the description relating to the preceding method embodiment.
Alternatively, the memory may be separate or integrated with the processor.
When the memory is a device independent of the processor, the terminal may further include:
a bus for connecting the memory and the processor. The terminal may further include a transmitter for transmitting the first type event information generated by the processor to the server.
The present invention also provides a readable storage medium, in which a computer program is stored, which, when being executed by a processor, is adapted to implement the methods provided by the various embodiments described above.
The readable storage medium may be a computer storage medium or a communication medium. Communication media includes any medium that facilitates transfer of a computer program from one place to another. Computer storage media may be any available media that can be accessed by a general purpose or special purpose computer. For example, a readable storage medium is coupled to the processor such that the processor can read information from, and write information to, the readable storage medium. Of course, the readable storage medium may also be an integral part of the processor. The processor and the readable storage medium may reside in an Application Specific Integrated Circuits (ASIC). Additionally, the ASIC may reside in user equipment. Of course, the processor and the readable storage medium may also reside as discrete components in a communication device. The readable storage medium may be a read-only memory (ROM), a random-access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, and the like.
The present invention also provides a program product comprising execution instructions stored in a readable storage medium. The at least one processor of the device may read the execution instructions from the readable storage medium, and the execution of the execution instructions by the at least one processor causes the device to implement the methods provided by the various embodiments described above.
In the above embodiments of the terminal or the server, it should be understood that the Processor may be a Central Processing Unit (CPU), other general-purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the present invention may be embodied directly in a hardware processor, or in a combination of the hardware and software modules within the processor.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (8)

1. A hardware rapid integration method based on a labview upper computer is characterized by comprising the following steps:
receiving configured hardware information and generating a configuration file;
when software of a labview upper computer is started, the configuration file is immediately acquired;
and the system for controlling the Labview upper computer updates hardware data based on the configuration file and displays the UI interface after the hardware data is updated.
2. The hardware rapid integration method of claim 1,
the hardware information comprises any one or more of the type of hardware, the name of the hardware, the communication type of the hardware, the protocol of the hardware and the parameters of the hardware.
3. The hardware rapid integration method of claim 1,
after the step of updating the hardware data of the system of the Labview upper computer based on the configuration file, the method further comprises the following steps:
and the Labview upper computer updates the control logic and dynamically updates the PID map based on the hardware information.
4. A hardware rapid integration system based on a labview upper computer is characterized by comprising the following devices:
a configuration module: the system comprises a configuration module, a configuration module and a configuration module, wherein the configuration module is used for receiving configured hardware information and generating a configuration file;
an acquisition module: the configuration file is used for immediately acquiring the configuration file when software of the labview upper computer is started;
an update module: and the system for controlling the Labview upper computer updates hardware data based on the configuration file and displays the UI interface after updating the hardware data.
5. The hardware rapid integration system of claim 4,
the hardware information comprises any one or more of the type of hardware, the name of the hardware, the communication type of the hardware, the protocol of the hardware and the parameters of the hardware.
6. The hardware rapid integration system of claim 4,
the UI interface comprises any one or more of a control module, a communication module, a PID drawing module and an automatic control module.
7. The utility model provides a hardware rapid integration equipment based on labview host computer which characterized in that includes: memory, a processor and a computer program, the computer program being stored in the memory, the processor running the computer program to perform the method of any of claims 1 to 3.
8. A readable storage medium, in which a computer program is stored which, when being executed by a processor, is adapted to carry out the method of any one of claims 1 to 3.
CN202010384090.4A 2020-05-09 2020-05-09 Method and system for quickly integrating hardware based on labview upper computer Withdrawn CN111580885A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010384090.4A CN111580885A (en) 2020-05-09 2020-05-09 Method and system for quickly integrating hardware based on labview upper computer

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010384090.4A CN111580885A (en) 2020-05-09 2020-05-09 Method and system for quickly integrating hardware based on labview upper computer

Publications (1)

Publication Number Publication Date
CN111580885A true CN111580885A (en) 2020-08-25

Family

ID=72122890

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010384090.4A Withdrawn CN111580885A (en) 2020-05-09 2020-05-09 Method and system for quickly integrating hardware based on labview upper computer

Country Status (1)

Country Link
CN (1) CN111580885A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113138808A (en) * 2021-04-29 2021-07-20 上海阵量智能科技有限公司 Integration method, integration device, computer equipment and storage medium
CN113434484A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Method, system, device and electronic device for describing functions of equipment

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113138808A (en) * 2021-04-29 2021-07-20 上海阵量智能科技有限公司 Integration method, integration device, computer equipment and storage medium
CN113138808B (en) * 2021-04-29 2023-08-08 上海阵量智能科技有限公司 Integration method, device, computer equipment and storage medium
CN113434484A (en) * 2021-06-29 2021-09-24 青岛海尔科技有限公司 Method, system, device and electronic device for describing functions of equipment

Similar Documents

Publication Publication Date Title
CN111130962B (en) Automatic configuration method, equipment, system and storage medium for switch
CN111580885A (en) Method and system for quickly integrating hardware based on labview upper computer
CN110515795B (en) Big data component monitoring method and device and electronic equipment
CN110765195A (en) Data analysis method and device, storage medium and electronic equipment
CN115495142A (en) Cloud resource arranging method and device, computer equipment and storage medium
CN102291274A (en) System and method for realizing automatic adaptation of network testing instrument
CN113411225A (en) QGA service management method, device, equipment and medium based on cloud host
CN112948189A (en) Margin test method, margin test system and related device
CN109739576B (en) Configuration overview command execution method and device, computer equipment and storage medium thereof
CN116701168A (en) Peripheral interface testing method, device, equipment and storage medium
CN111459406B (en) Method and system for identifying NVME hard disk under storage unloading card
CN112069102B (en) GPIO controller configuration method and system
CN114706772A (en) Installation environment detection method, device, equipment and storage medium
CN112130900A (en) User information management method, system, equipment and medium for BMC
CN110908876B (en) Method and device for acquiring hardware performance data
CN113849229A (en) Server starting method and device, electronic equipment and readable storage medium
CN111722879A (en) USB flash disk identification method, Linux system, Linux equipment and readable storage medium
CN113127281B (en) ASPM test method, system, equipment and storage medium
CN114228745B (en) Driving system module control method, device, equipment, medium, product and vehicle
CN114817337B (en) Hardware interface type self-adaptive matching method and related device
CN115525415B (en) Data processing method, device, equipment and medium
US11645616B1 (en) Verifying the integrity of data transmitted between a firmware and a baseboard management controller (BMC)
CN117544532A (en) Inspection display method and device, electronic equipment and storage medium
CN116909612A (en) Hot upgrading method and device of task scheduling firmware, electronic equipment and medium
CN114168561A (en) Method, system and device for multi-project hybrid configuration

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WW01 Invention patent application withdrawn after publication

Application publication date: 20200825

WW01 Invention patent application withdrawn after publication