CN109359046B - Multi-channel radio frequency signal measurement system control code generation device and method - Google Patents

Multi-channel radio frequency signal measurement system control code generation device and method Download PDF

Info

Publication number
CN109359046B
CN109359046B CN201811230198.7A CN201811230198A CN109359046B CN 109359046 B CN109359046 B CN 109359046B CN 201811230198 A CN201811230198 A CN 201811230198A CN 109359046 B CN109359046 B CN 109359046B
Authority
CN
China
Prior art keywords
radio frequency
frequency signal
measurement system
signal measurement
module
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
Application number
CN201811230198.7A
Other languages
Chinese (zh)
Other versions
CN109359046A (en
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.)
Jiangsu Acetec Semiconductor Co ltd
Original Assignee
Jiangsu Acetec Semiconductor 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 Jiangsu Acetec Semiconductor Co ltd filed Critical Jiangsu Acetec Semiconductor Co ltd
Priority to CN201811230198.7A priority Critical patent/CN109359046B/en
Publication of CN109359046A publication Critical patent/CN109359046A/en
Application granted granted Critical
Publication of CN109359046B publication Critical patent/CN109359046B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/36Preventing errors by testing or debugging software
    • G06F11/3664Environments for testing or debugging software
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F8/00Arrangements for software engineering
    • G06F8/30Creation or generation of source code
    • G06F8/34Graphical or visual programming

Abstract

The invention discloses a device and a method for generating a control code of a multi-channel radio frequency signal measurement system. The device includes: the project file generation module is used for generating and storing project configuration; the hardware model module is used for providing graphical modeling of various hardware circuit modules; the code text generation module is used for generating a control code text of the multi-channel radio frequency signal measurement system according to the configured hardware model; the code compiling module is used for compiling the generated control codes into a dynamic library file; and the system debugging module is used for debugging the multi-channel radio frequency signal measuring system. The control code of the multi-channel radio frequency signal measurement system is generated by operating the graphical interface, so that a user can operate the graphical interface to configure the radio frequency circuit module of the multi-channel radio frequency signal measurement system and generate the corresponding control code, the development efficiency of the control code is improved, and the development difficulty is reduced.

Description

Multi-channel radio frequency signal measurement system control code generation device and method
Technical Field
The invention belongs to the field of chip testing, and particularly relates to a device and a method for generating a control code of a multi-channel radio frequency signal measurement system.
Background
In the actual production process of chip testing, due to different testing requirements, the rf circuit modules in the multi-channel rf signal measurement system (also called NR530 system) have different configurations, which require different control codes to be written to ensure correct control of the system.
With the increasing complexity of the design of radio frequency circuits, the difficulty of writing and debugging software interfaces for controlling the operation of the circuits is increasing. At present, a manual coding mode is mostly adopted to generate a software interface, but the development efficiency of the mode is low, and the maintenance difficulty is high.
Disclosure of Invention
The purpose of the invention is as follows: aiming at the defects in the prior art, the invention aims to provide a device and a method for generating a control code of a multi-channel radio frequency signal measurement system, which have simple structure and convenient operation.
The technical scheme is as follows: in order to achieve the purpose of the invention, the technical scheme adopted by the invention is as follows:
in a first aspect, the present invention provides a multi-channel radio frequency signal measurement system control code generating apparatus, comprising:
the project file generation module is used for generating and storing project configuration;
the hardware model module is used for providing graphical modeling of various hardware circuit modules;
the code text generation module is used for generating a control code text of the multi-channel radio frequency signal measurement system according to the configured hardware model;
the code compiling module is used for compiling the generated control codes into a dynamic library file;
and the system debugging module is used for debugging the multi-channel radio frequency signal measuring system.
Further, the project file generation module completes generation and storage of project configuration by recording the type of the selected radio frequency circuit module and the position of the slot where the selected radio frequency circuit module is located.
Furthermore, the hardware model modules comprise different types of hardware modules, including a radio frequency path diagram, 2D model drawing of different switch models, switch switching logic and USB drive control thereof, wherein the radio frequency path diagram shows radio frequency path information of the hardware modules and switch device configuration under the radio frequency path; drawing 2D models of different switch models to display graphs of the switch models on a circuit diagram interface; the switch switching logic and the USB drive control are used for controlling the switching state of the switch so as to switch the radio frequency path.
Furthermore, the code compiling module compiles the code text by configuring basic parameters required by code compiling through the CodeDom class to generate an available dynamic library file.
In a second aspect, the present invention also provides a method for generating a control code of a multi-channel radio frequency signal measurement system, including the following steps:
1) importing or creating a generation project of a control code of the multi-channel radio frequency signal measurement system;
2) configuring a model of a corresponding radio frequency circuit module and a corresponding slot position on a main interface according to a radio frequency circuit module selected by a multi-channel radio frequency signal measuring system;
3) configuring connection modes of different radio frequency paths on a graphical interface under a single radio frequency circuit model;
4) storing configured different radio frequency circuit models, path connection modes under the models and switching logics of switches as configuration files, and generating control codes of the multi-channel radio frequency signal measurement system according to information in the configuration files;
5) and verifying whether the generated control code can successfully control the multi-channel radio frequency signal measuring system or not through a debugging interface, and performing fault troubleshooting and debugging on the multi-channel radio frequency signal measuring system.
Further, the generation project of the control code of the multi-channel radio frequency signal measurement system is a PRO format file, and is used for storing configuration information of a radio frequency circuit module of the multi-channel radio frequency signal measurement system.
Further, the radio frequency circuit model is generated by modeling based on a radio frequency circuit module adopted by the multi-channel radio frequency signal measurement system, and the model comprises a radio frequency path connection mode of the radio frequency circuit module, a switch type and a graph drawing logic on a path, path information and corresponding USB drive control.
Further, the models of the radio frequency circuit module comprise MTRX, MHUB, MHRM, SDT, S3T and MSP 8T.
Furthermore, the graphical interface of the single radio frequency circuit model comprises a graphical circuit connection mode and an internal switch device of the graphical radio frequency circuit module, and the connection mode of the radio frequency paths is changed by switching the switches, so that the connection modes of different radio frequency paths and corresponding switch control logics are configured.
Further, a code text is generated by taking the radio frequency circuit module as a unit, the code logic is determined by the configured radio frequency circuit model and the switch control logic corresponding to different radio frequency circuits, and a dynamic library file of the control code is generated by necessary parameters required by compiling the CodeDom configuration code
Has the advantages that: compared with the prior art, the invention has the following advantages: the control code of the multi-channel radio frequency signal measurement system is generated by operating the graphical interface, so that a user can operate the graphical interface to configure the radio frequency circuit module of the multi-channel radio frequency signal measurement system and generate the corresponding control code, the development efficiency of the control code is improved, and the development difficulty is reduced.
Drawings
FIG. 1 is a flow chart of a method of multi-channel radio frequency signal measurement system control code generation;
FIG. 2 is a main interface of a multi-channel RF signal measurement system control code generation tool.
Fig. 3 is a graphical interface of the MTRX module of the multi-channel rf signal measurement system control code generation tool.
Detailed Description
The present invention will be further illustrated by the following specific examples, which are carried out on the premise of the technical scheme of the present invention, and it should be understood that these examples are only for illustrating the present invention and are not intended to limit the scope of the present invention.
As shown in fig. 1, an embodiment of the present invention provides a control code generation apparatus for a multi-channel radio frequency signal measurement system, including an engineering file generation module, a hardware model module, module configuration information, a code text generation module, a code compiling module, and a system debugging module.
The project file generation module is used for generating and storing project configuration. The engineering file generation module contains configuration information of all hardware modules of the NR530 system, and specifically, the engineering file generation module completes generation and saving of engineering configuration by recording the type of the selected radio frequency circuit module and the slot position where the selected radio frequency circuit module is located.
The hardware model module is used for providing graphical modeling of various hardware circuit modules. The hardware model module comprises different types of hardware modules, and specifically, the hardware model module mainly comprises a radio frequency path diagram of the module, 2D model drawing of different switch models, switch switching logic and USB drive control. The module radio frequency path diagram interface displays radio frequency path information of the hardware module and switch device configuration under the radio frequency path; drawing 2D models of different switch models to display graphs of the switch models on a circuit diagram interface; the switch switching logic and the USB drive control are used for controlling the switching state of the switch, so that the effect of switching the radio frequency path is achieved.
And the code text generation module is used for generating a control code text of the multi-channel radio frequency signal measurement system according to the configured hardware model. After a user configures a radio frequency circuit module used by the multi-channel radio frequency signal measurement system and a switch control logic of a radio frequency path inside the module on a graphical interface, configuration information needs to be stored in an xml file. When the code text generation module generates a code text file, the corresponding code control logic is obtained by reading the radio frequency path information in the configuration file, and a control function of system initialization, radio frequency path selection and switching is generated based on the logic.
The code compiling module is used for compiling the generated control codes into dynamic library files. Specifically, the code compiling module compiles the code text by configuring basic parameters required by code compiling through the CodeDom class to generate an available dynamic library file.
The system debugging module is used for debugging the multi-channel radio frequency signal measuring system, and a user can conveniently debug and switch a radio frequency path.
The invention also provides a method for generating the control code of the multi-channel radio frequency signal measurement system, which comprises the following steps:
1) and (4) importing or creating a generation project of the control code of the multi-channel radio frequency signal measurement system. The generation project of the control code of the multi-channel radio frequency signal measurement system is a PRO format file, and the PRO format file is used for storing configuration information (the type and the number of selected modules and the positions of slots occupied) of radio frequency circuit modules of the multi-channel radio frequency signal measurement system.
2) And configuring a model of the corresponding radio frequency circuit module and a corresponding slot position on the main interface according to the radio frequency circuit module selected by the multi-channel radio frequency signal measuring system. The radio frequency circuit model is modeled and generated based on radio frequency circuit modules (MTRX, MHUB, MHRM, SDT, S3T, MSP8T and other models) adopted by the multi-channel radio frequency signal measurement system, and comprises a radio frequency path connection mode of the radio frequency circuit modules, switch types and graph drawing logics on paths, path information, corresponding USB drive control and the like.
3) And configuring the connection modes of different radio frequency paths on a graphical interface under a single radio frequency circuit model. The graphical interface of the single radio frequency circuit model comprises a graphical circuit connection mode and an internal switching device of a graphical radio frequency circuit module. By switching the switch model, the connection mode of the radio frequency path can be changed, so that the connection modes of different radio frequency paths and corresponding switch control logics are configured.
4) And storing configured different radio frequency circuit models, path connection modes under the models and switching logics of switches as configuration files, and generating control codes of the multi-channel radio frequency signal measurement system according to information in the configuration files. Wherein, the control code is generated and compiled based on the CodeDom technology. And generating a code text by taking the radio frequency circuit module as a unit, determining the code logic by the configured radio frequency circuit model and the switch control logic corresponding to different radio frequency circuits, and generating a dynamic library file of the control code by necessary parameters required by compiling the CodeDom configuration code.
5) And verifying whether the generated control code can successfully control the multi-channel radio frequency signal measuring system or not through a debugging interface, and performing fault troubleshooting and debugging on the multi-channel radio frequency signal measuring system.
Fig. 2 shows a main interface of a multi-channel rf signal measurement system control code generation tool for configuring currently required rf circuit modules.
Fig. 3 shows a graphical interface of the MTRX module of the multi-channel rf signal measurement system control code generation tool for selecting and switching rf paths and configuring corresponding switch control logic.
In summary, the control code of the multi-channel radio frequency signal measurement system is generated by operating the graphical interface, so that a user can operate the graphical interface to configure the radio frequency circuit module of the multi-channel radio frequency signal measurement system and generate the corresponding control code, the development efficiency of the control code is improved, and the development difficulty is reduced.

Claims (10)

1. A multi-channel rf signal measurement system control code generating apparatus, characterized in that: the method comprises the following steps:
the project file generation module is used for generating and storing project configuration;
the hardware model module is used for providing graphical modeling of various hardware circuit modules;
the code text generation module is used for generating a control code text of the multi-channel radio frequency signal measurement system according to the configured hardware model;
the code compiling module is used for compiling the generated control codes into a dynamic library file;
the system debugging module is used for debugging the multi-channel radio frequency signal measuring system; the method for generating the control code of the multi-channel radio frequency signal measurement system based on the code generation device consisting of the engineering file generation module, the hardware model module, the code text generation module, the code compiling module and the system debugging module comprises the following specific steps:
1) importing or creating a generation project of a control code of the multi-channel radio frequency signal measurement system;
2) configuring a model of a corresponding radio frequency circuit module and a corresponding slot position on a main interface according to a radio frequency circuit module selected by a multi-channel radio frequency signal measuring system;
3) configuring connection modes of different radio frequency paths on a graphical interface under a single radio frequency circuit model;
4) storing configured different radio frequency circuit models, path connection modes under the models and switching logics of switches as configuration files, and generating control codes of the multi-channel radio frequency signal measurement system according to information in the configuration files;
5) and verifying whether the generated control code can successfully control the multi-channel radio frequency signal measuring system or not through a debugging interface, and performing fault troubleshooting and debugging on the multi-channel radio frequency signal measuring system.
2. The multi-channel radio frequency signal measurement system control code generating apparatus of claim 1, wherein: the project file generation module completes the generation and the saving of project configuration by recording the type of the selected radio frequency circuit module and the position of the slot.
3. The multi-channel radio frequency signal measurement system control code generating apparatus of claim 1, wherein: the hardware model module comprises different types of hardware modules, including a radio frequency path diagram, 2D model drawing of different switch models, switch switching logic and USB drive control thereof, wherein the radio frequency path diagram displays radio frequency path information of the hardware modules and switch device configuration under a radio frequency path; drawing 2D models of different switch models to display graphs of the switch models on a circuit diagram interface; the switch switching logic and the USB drive control are used for controlling the switching state of the switch so as to switch the radio frequency path.
4. The multi-channel radio frequency signal measurement system control code generating apparatus of claim 1, wherein: and the code compiling module compiles the code text by configuring basic parameters required by code compiling through the CodeDom class to generate an available dynamic library file.
5. A method for generating control codes of a multi-channel radio frequency signal measurement system is characterized by comprising the following steps: the method comprises the following steps:
1) importing or creating a generation project of a control code of the multi-channel radio frequency signal measurement system;
2) configuring a model of a corresponding radio frequency circuit module and a corresponding slot position on a main interface according to a radio frequency circuit module selected by a multi-channel radio frequency signal measuring system;
3) configuring connection modes of different radio frequency paths on a graphical interface under a single radio frequency circuit model;
4) storing configured different radio frequency circuit models, path connection modes under the models and switching logics of switches as configuration files, and generating control codes of the multi-channel radio frequency signal measurement system according to information in the configuration files;
5) and verifying whether the generated control code can successfully control the multi-channel radio frequency signal measuring system or not through a debugging interface, and performing fault troubleshooting and debugging on the multi-channel radio frequency signal measuring system.
6. The multi-channel radio frequency signal measurement system control code generation method of claim 5, wherein: the generation project of the control code of the multi-channel radio frequency signal measurement system is a PRO format file which is used for storing configuration information of a radio frequency circuit module of the multi-channel radio frequency signal measurement system.
7. The multi-channel radio frequency signal measurement system control code generation method of claim 5, wherein: the radio frequency circuit model is generated by modeling based on a radio frequency circuit module adopted by the multi-channel radio frequency signal measuring system, and comprises a radio frequency path connection mode of the radio frequency circuit module, a switch type and graph drawing logic on a path, path information and corresponding USB drive control.
8. The multi-channel radio frequency signal measurement system control code generation method of claim 7, wherein: the models of the radio frequency circuit module comprise MTRX, MHUB, MHRM, SDT, S3T and MSP 8T.
9. The multi-channel radio frequency signal measurement system control code generation method of claim 5, wherein: the graphical interface of the single radio frequency circuit model comprises a graphical circuit connection mode and an internal switch device of a graphical radio frequency circuit module, and the connection mode of the radio frequency paths is changed by switching the switches, so that the connection modes of different radio frequency paths and corresponding switch control logics are configured.
10. The multi-channel radio frequency signal measurement system control code generation method of claim 5, wherein: and generating a code text by taking the radio frequency circuit module as a unit, determining the code logic by the configured radio frequency circuit model and the switch control logic corresponding to different radio frequency circuits, and generating a dynamic library file of the control code by necessary parameters required by compiling the CodeDom configuration code.
CN201811230198.7A 2018-10-22 2018-10-22 Multi-channel radio frequency signal measurement system control code generation device and method Active CN109359046B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811230198.7A CN109359046B (en) 2018-10-22 2018-10-22 Multi-channel radio frequency signal measurement system control code generation device and method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811230198.7A CN109359046B (en) 2018-10-22 2018-10-22 Multi-channel radio frequency signal measurement system control code generation device and method

Publications (2)

Publication Number Publication Date
CN109359046A CN109359046A (en) 2019-02-19
CN109359046B true CN109359046B (en) 2022-04-19

Family

ID=65346248

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811230198.7A Active CN109359046B (en) 2018-10-22 2018-10-22 Multi-channel radio frequency signal measurement system control code generation device and method

Country Status (1)

Country Link
CN (1) CN109359046B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915242A (en) * 2012-09-26 2013-02-06 北京广利核系统工程有限公司 Method for implementing code programming by graphical operations
CN104484166A (en) * 2014-12-04 2015-04-01 山东科技大学 Graphical modeling device and method for automatic testing system
CN104615039A (en) * 2014-09-22 2015-05-13 中国电子科技集团公司第四十一研究所 USB interface control expandable multi-channel radio frequency switch device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6784903B2 (en) * 1997-08-18 2004-08-31 National Instruments Corporation System and method for configuring an instrument to perform measurement functions utilizing conversion of graphical programs into hardware implementations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102915242A (en) * 2012-09-26 2013-02-06 北京广利核系统工程有限公司 Method for implementing code programming by graphical operations
CN104615039A (en) * 2014-09-22 2015-05-13 中国电子科技集团公司第四十一研究所 USB interface control expandable multi-channel radio frequency switch device
CN104484166A (en) * 2014-12-04 2015-04-01 山东科技大学 Graphical modeling device and method for automatic testing system

Also Published As

Publication number Publication date
CN109359046A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN103293008B (en) Automotive diagnostic installation
JP2005505780A (en) Event type test system for specific memory test
CN204330370U (en) The trouble-shooter of air conditioner
CN105842559B (en) Test result wiring method, device and test macro and mobile terminal
US20080040639A1 (en) Apparatus and Method For Generating Test Pattern Data For Testing Semiconductor Device
CN101458652A (en) Embedded on-line emulation debugging system for microcontroller
CN103853147B (en) A kind of on-line debugging system of embedded system
CN110321292A (en) Chip detecting method, device, electronic equipment and computer readable storage medium
CN111142918A (en) Programmable device program parameter configuration and flow control method
CN105446859B (en) The software condition monitoring of power consumption analysis and wave file automatic generation method
CN109359046B (en) Multi-channel radio frequency signal measurement system control code generation device and method
CN114139474A (en) Circuit simulation model establishing method and system and related components
CN101915894B (en) Method for testing real-time finite-sate machine in digital logic device
CN102193860B (en) Microcontroller online debugging circuit and method as well as microcontroller
CN106933215B (en) PXI bus-based universal equivalent device for external interface of telemetry system
CN105955202A (en) Network-based economical embedded five-axis numerical control system and control method thereof
CN102915272A (en) Software testing method, software testing system and television terminal
CN112542210A (en) High-speed flash limit read-write speed testing device
CN102565683A (en) Generation and verification method of test vector
CN103383710A (en) Circuit board based on SOPC analog brain waves and method for constructing brain dynamic model
CN111460759A (en) Python language-based EDA (electronic design automation) verification platform and use method thereof
CN103064883B (en) The data auto-generation method of railway signal maintenance system
CN205068102U (en) Pumped storage unit operational process and error detection training system
CN108089468A (en) A kind of medical examination equipment control sequential visualized generation method
CN101561476B (en) Application method of chip selection switching on test tooling

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
GR01 Patent grant
GR01 Patent grant