CN109359046A - A kind of multi-channel radio frequency Signal Measurement System control routine generating means and method - Google Patents
A kind of multi-channel radio frequency Signal Measurement System control routine generating means and method Download PDFInfo
- Publication number
- CN109359046A CN109359046A CN201811230198.7A CN201811230198A CN109359046A CN 109359046 A CN109359046 A CN 109359046A CN 201811230198 A CN201811230198 A CN 201811230198A CN 109359046 A CN109359046 A CN 109359046A
- Authority
- CN
- China
- Prior art keywords
- radio frequency
- measurement system
- signal measurement
- frequency signal
- control routine
- 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.)
- Granted
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/36—Preventing errors by testing or debugging software
- G06F11/3664—Environments for testing or debugging software
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F8/00—Arrangements for software engineering
- G06F8/30—Creation or generation of source code
- G06F8/34—Graphical or visual programming
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Software Systems (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Hardware Design (AREA)
- Quality & Reliability (AREA)
- Monitoring And Testing Of Transmission In General (AREA)
Abstract
The present invention discloses a kind of multi-channel radio frequency Signal Measurement System control routine generating means and method.The device includes: project file generation module, for generating and saving engineering configuration;Hardware model module, for providing the mathematics library of multiple hardwares circuit module;Code text generation module, for generating the control routine text of multi-channel radio frequency Signal Measurement System according to configured hardware model;Code compilation module, for the control routine of generation to be compiled into dynamic library file;System debug module, for debugging multi-channel radio frequency Signal Measurement System.Of the invention generates multi-channel radio frequency Signal Measurement System control routine by operation graphic interface, operation graphic interface is allowed users to configure the RF circuit module of multi-channel radio frequency Signal Measurement System and generate corresponding control routine, the development efficiency of control routine is improved, while reducing development difficulty.
Description
Technical field
The invention belongs to chip testing fields, and in particular to a kind of multi-channel radio frequency Signal Measurement System control routine generation
Device and method.
Background technique
In the actual production process of chip testing, due to different testing requirements, multi-channel radio frequency Signal Measurement System
RF circuit module in (also known as NR530 system) has different configurations, this needs to write different control routines, Cai Nengbao
Demonstrate,prove correct control system.
As the complexity of radio circuit design is continuously improved, the software interface for control circuit work is write and is debugged
Difficulty it is increasing.The mode of h coding is mostly used to generate software interface at present, but this mode development efficiency is lower, dimension
It is big to protect difficulty.
Summary of the invention
Goal of the invention: in view of the deficienciess of the prior art, the object of the present invention is to provide a kind of structure is simple, operation side
Just multi-channel radio frequency Signal Measurement System control routine generating means and method.
Technical solution: in order to achieve the above-mentioned object of the invention, The technical solution adopted by the invention is as follows:
In a first aspect, the present invention provide can a kind of multi-channel radio frequency Signal Measurement System control routine generating means, packet
It includes:
Project file generation module, for generating and saving engineering configuration;
Hardware model module, for providing the mathematics library of multiple hardwares circuit module;
Code text generation module, for generating multi-channel radio frequency Signal Measurement System according to configured hardware model
Control routine text;
Code compilation module, for the control routine of generation to be compiled into dynamic library file;
System debug module, for debugging multi-channel radio frequency Signal Measurement System.
Further, the project file generation module passes through the RF circuit module type of record selection and inserting for place
Groove location is completed to generate and save engineering configuration.
Further, the hardware model module includes different types of hardware module, including radio-frequency path figure, difference are opened
Close 2D modeling rendering, switching logic and its USB drive control of model, wherein radio-frequency path figure shows hardware module
Radio-frequency path information and radio-frequency path under switching device configuration;The 2D modeling rendering of different switch models is then used for
The figure of display switch model on circuit diagram interface;Switching logic and USB drive control are then used for the switching of control switch
State, to switch radio-frequency path.
Further, the code compilation module is by basic parameter needed for the compiling of CodeDom class configuration code, to generation
Code text is compiled, and generates available dynamic library file.
In second aspect, the present invention also provides a kind of multi-channel radio frequency Signal Measurement System control routine generation method,
The following steps are included:
1) the generation engineering of importing or newly-built multi-channel radio frequency Signal Measurement System control routine;
2) RF circuit module selected according to multi-channel radio frequency Signal Measurement System configures corresponding radio frequency in main interface
The model of circuit module and corresponding slot position;
3) on the graphical interfaces under single radio frequency circuit model, the connection type in different radio frequency path is configured;
4) by the switch logic of Path Connection and switch under configured different radio frequency circuit model and model
Configuration file is saved as, and generates the control routine of multi-channel radio frequency Signal Measurement System according to the information in configuration file;
5) whether multi-channel radio frequency Signal Measurement System can successfully be controlled by the control routine that Debugging interface verifying generates,
And malfunction elimination and debugging are carried out to multi-channel radio frequency Signal Measurement System.
Further, the generation engineering of the multi-channel radio frequency Signal Measurement System control routine is PRO formatted file, is used
In the configuration information for the RF circuit module for saving multi-channel radio frequency Signal Measurement System.
Further, the radio circuit model is the RF circuit module used with multi-channel radio frequency Signal Measurement System
Based on model and generate, which includes the radio-frequency path connection type of RF circuit module, switchtype and figure on path
Shape rendering logic, routing information and corresponding USB drive control.
Further, the model of the RF circuit module includes MTRX, MHUB, MHRM, SDT, S3T and MSP8T.
Further, the graphical interfaces of the single radio frequency circuit model includes patterned circuit connecting mode and figure
The internal switch device of the RF circuit module of shape switchs the connection type for changing radio-frequency path by switching, to configure
The connection type in different radio frequency path and corresponding switch control logic.
Further, code text is generated as unit of RF circuit module, code logic is by the radio circuit mould that configures
Type and the corresponding switch control logic of different radio frequency circuit determine, pass through call parameter needed for the compiling of CodeDom configuration code
Generate the dynamic library file of control routine
The utility model has the advantages that compared with prior art, the invention has the following advantages that of the invention by operating graphic interface
Multi-channel radio frequency Signal Measurement System control routine is generated, allows users to operation graphic interface to configure multi-channel radio frequency letter
The RF circuit module of number measuring system simultaneously generates corresponding control routine, improves the development efficiency of control routine, drops simultaneously
Low development difficulty.
Detailed description of the invention
Fig. 1 is the method flow diagram that multi-channel radio frequency Signal Measurement System control routine generates;
Fig. 2 is the main interface of multi-channel radio frequency Signal Measurement System control routine Core Generator.
Fig. 3 is the graphic interface of the MTRX module of multi-channel radio frequency Signal Measurement System control routine Core Generator.
Specific embodiment
Combined with specific embodiments below, the present invention is furture elucidated, and embodiment is under the premise of the technical scheme of the present invention
Implemented, 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.
It is filled as shown in Figure 1, being generated the embodiment of the invention provides a kind of multi-channel radio frequency Signal Measurement System control routine
It sets, including project file generation module, hardware model module and module configuration information, code text generation module, code is compiled
Translate module and system debug module.
Wherein, project file generation module is for generating and saving engineering configuration.Project file generation module includes NR530
The all hardware module configuration information of system, specifically, the RF circuit module that project file generation module is selected by record
The slot position at type and place is completed to generate and save engineering configuration.
Hardware model module is for providing the mathematics library of multiple hardwares circuit module.Hardware model module includes difference
The hardware module of type, specifically, the part mainly include the radio-frequency path figure of module, different switch models 2D model draw
System, switching logic and its USB drive control are constituted.Wherein, penetrating for hardware module of module radio-frequency path figure interface display
Switching device configuration under frequency routing information and radio-frequency path;The 2D modeling rendering of different switch models is then used in circuit
The figure of display switch model on figure interface;Switching logic and USB drive control are then used for the switching state of control switch,
To have the function that switch radio-frequency path.
Code text generation module is used to generate multi-channel radio frequency Signal Measurement System according to configured hardware model
Control routine text.User graphical interfaces configure RF circuit module used in a lot of channel radio frequency signal measuring systems and
After the switch control logic of inside modules radio-frequency path, need for configuration information to be stored in xml document.Code text generates
Module is controlled when generating code text file by reading the corresponding code of the radio-frequency path acquisition of information in the configuration file
Logic generates the initialization of system, the control function of radio-frequency path selection and switching based on this logic.
Code compilation module is used to the control routine of generation being compiled into dynamic library file.Specifically, code compilation module
By basic parameter needed for the compiling of CodeDom class configuration code, code text is compiled, available dynamic library text is generated
Part.
System debug module facilitates user to debug and switch radio frequency road for debugging multi-channel radio frequency Signal Measurement System
Diameter.
The present invention also provides a kind of multi-channel radio frequency Signal Measurement System control routine generation method, this method include with
Lower step:
1) the generation engineering of importing or newly-built multi-channel radio frequency Signal Measurement System control routine.Wherein, multichannel is penetrated
The generation engineering of frequency Signal Measurement System control routine is PRO formatted file, for saving multi-channel radio frequency Signal Measurement System
RF circuit module configuration information (selected module type, quantity, occupy slot position).
2) RF circuit module selected according to multi-channel radio frequency Signal Measurement System configures corresponding radio frequency in main interface
The model of circuit module and corresponding slot position.Wherein, radio circuit model is adopted with multi-channel radio frequency Signal Measurement System
It models and generates based on RF circuit module (models such as MTRX, MHUB, MHRM, SDT, S3T, MSP8T), which includes
The radio-frequency path connection type of RF circuit module, switchtype and graphic plotting logic on path, routing information and right
USB drive control answered etc..
3) on the graphical interfaces under single radio frequency circuit model, the connection type in different radio frequency path is configured.Wherein, single
The graphical interfaces of a radio circuit model includes patterned circuit connecting mode and patterned RF circuit module
Internal switch device.By switching switch models, thus it is possible to vary the connection type of radio-frequency path, to configure different radio frequency path
Connection type and corresponding switch control logic.
4) by the switch logic of Path Connection and switch under configured different radio frequency circuit model and model
Configuration file is saved as, and generates the control routine of multi-channel radio frequency Signal Measurement System according to the information in configuration file.Its
In, control routine is generated and is compiled based on CodeDom technology.Code text is generated as unit of RF circuit module, code is patrolled
It collects and is determined by the radio circuit model and the corresponding switch control logic of different radio frequency circuit that configure, generation is configured by CodeDom
Call parameter needed for code compiling generates the dynamic library file of control routine.
5) whether multi-channel radio frequency Signal Measurement System can successfully be controlled by the control routine that Debugging interface verifying generates,
And malfunction elimination and debugging are carried out to multi-channel radio frequency Signal Measurement System.
Shown in Fig. 2 is the main interface of multi-channel radio frequency Signal Measurement System control routine Core Generator, is worked as configuring
Preceding required RF circuit module.
Shown in Fig. 3 is the graphical boundary of the MTRX module of multi-channel radio frequency Signal Measurement System control routine Core Generator
Face configures corresponding switch control logic for selecting and switching radio-frequency path.
In conclusion of the invention generate multi-channel radio frequency Signal Measurement System control generation by operation graphic interface
Code allows users to operation graphic interface to configure the RF circuit module of multi-channel radio frequency Signal Measurement System and generation pair
The control routine answered, improves the development efficiency of control routine, while reducing development difficulty.
Claims (10)
1. a kind of multi-channel radio frequency Signal Measurement System control routine generating means, it is characterised in that: include:
Project file generation module, for generating and saving engineering configuration;
Hardware model module, for providing the mathematics library of multiple hardwares circuit module;
Code text generation module, for generating the control of multi-channel radio frequency Signal Measurement System according to configured hardware model
Code text;
Code compilation module, for the control routine of generation to be compiled into dynamic library file;
System debug module, for debugging multi-channel radio frequency Signal Measurement System.
2. multi-channel radio frequency Signal Measurement System control routine generating means according to claim 1, it is characterised in that: institute
The slot position for stating RF circuit module type and place that project file generation module is selected by record is completed to generate and be protected
Deposit engineering configuration.
3. multi-channel radio frequency Signal Measurement System control routine generating means according to claim 1, it is characterised in that: institute
Stating hardware model module includes different types of hardware module, including radio-frequency path figure, different switch models 2D modeling rendering,
Switching logic and its USB drive control, wherein radio-frequency path figure shows the radio-frequency path information of hardware module, and
Switching device configuration under radio-frequency path;The 2D modeling rendering of different switch models is then used for the display switch on circuit diagram interface
The figure of model;Switching logic and USB drive control are then used for the switching state of control switch, to switch radio-frequency path.
4. multi-channel radio frequency Signal Measurement System control routine generating means according to claim 1, it is characterised in that: institute
Code compilation module is stated by basic parameter needed for the compiling of CodeDom class configuration code, code text is compiled, is generated
Available dynamic library file.
5. a kind of multi-channel radio frequency Signal Measurement System control routine generation method, it is characterised in that: the following steps are included:
1) the generation engineering of importing or newly-built multi-channel radio frequency Signal Measurement System control routine;
2) RF circuit module selected according to multi-channel radio frequency Signal Measurement System configures corresponding radio circuit in main interface
The model of module and corresponding slot position;
3) on the graphical interfaces under single radio frequency circuit model, the connection type in different radio frequency path is configured;
4) switch logic of Path Connection and switch under configured different radio frequency circuit model and model is saved
For configuration file, and generate according to the information in configuration file the control routine of multi-channel radio frequency Signal Measurement System;
5) whether multi-channel radio frequency Signal Measurement System can successfully be controlled by the control routine that Debugging interface verifying generates, and right
Multi-channel radio frequency Signal Measurement System carries out malfunction elimination and debugging.
6. multi-channel radio frequency Signal Measurement System control routine generation method according to claim 5, it is characterised in that: institute
The generation engineering for stating multi-channel radio frequency Signal Measurement System control routine is PRO formatted file, for saving multi-channel radio frequency letter
The configuration information of the RF circuit module of number measuring system.
7. multi-channel radio frequency Signal Measurement System control routine generation method according to claim 5, it is characterised in that: institute
Stating radio circuit model is to model to generate based on the RF circuit module that multi-channel radio frequency Signal Measurement System uses, the mould
Type includes radio-frequency path connection type, the switchtype on path and the graphic plotting logic, routing information of RF circuit module
And corresponding USB drive control.
8. multi-channel radio frequency Signal Measurement System control routine generation method according to claim 7, it is characterised in that: institute
The model for stating RF circuit module includes MTRX, MHUB, MHRM, SDT, S3T and MSP8T.
9. multi-channel radio frequency Signal Measurement System control routine generation method according to claim 5, it is characterised in that: institute
The graphical interfaces for stating single radio frequency circuit model includes patterned circuit connecting mode and patterned RF circuit module
Internal switch device, by switching switch change radio-frequency path connection type, to configure the connection in different radio frequency path
Mode and corresponding switch control logic.
10. multi-channel radio frequency Signal Measurement System control routine generation method according to claim 5, it is characterised in that:
Generate code text as unit of RF circuit module, code logic is by the radio circuit model and different radio frequency circuit pair that configure
The switch control logic answered determines, the dynamic of control routine is generated by call parameter needed for the compiling of CodeDom configuration code
Library file.
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 true CN109359046A (en) | 2019-02-19 |
CN109359046B 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 (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020080174A1 (en) * | 1997-08-18 | 2002-06-27 | National Instruments Corporation | System and method for configuring an instrument to perform measurement functions utilizing conversion of graphical programs into hardware implementations |
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 |
-
2018
- 2018-10-22 CN CN201811230198.7A patent/CN109359046B/en active Active
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US20020080174A1 (en) * | 1997-08-18 | 2002-06-27 | National Instruments Corporation | System and method for configuring an instrument to perform measurement functions utilizing conversion of graphical programs into hardware implementations |
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 |
---|---|
CN109359046B (en) | 2022-04-19 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN100576221C (en) | A kind of fault injection system of verifying anti-single particle effect capability and method thereof | |
CN107290646A (en) | The automatically testing platform and method of testing of high-speed ADC chip | |
CN101206162B (en) | System for data acquisition and signal treatment of testing flat wheel | |
CN103728968A (en) | Automatic test system for CAN network and ECU functions | |
CN111581082B (en) | Vehicle-mounted controller test script generation device and method | |
CN108090313B (en) | Complex rock fracture model modeling and identifying method | |
CN105842559B (en) | Test result wiring method, device and test macro and mobile terminal | |
CN106646315A (en) | Automatic testing system and automatic testing method for digital measuring instruments | |
CN107885500A (en) | A kind of runtime environment generation method towards AUTOSAR software architectures | |
CN105842609B (en) | A kind of SCR system of diesel engine control unit hardware circuit detection device | |
CN109542438A (en) | One kind being based on visual chart development approach | |
CN206248785U (en) | Volume production test module of the inside with analog-to-digital conversion interface chip | |
CN208077394U (en) | A kind of the communication test plate and communication test system of concentrator communication module | |
CN102565683B (en) | Generation and verification method of test vector | |
CN105446859A (en) | Automatic generation method of software condition monitoring and wave file for power consumption analysis | |
CN109359046A (en) | A kind of multi-channel radio frequency Signal Measurement System control routine generating means and method | |
RU2003111456A (en) | AUTOMATED CONTROL AND DIAGNOSTIC COMPLEX (OPTIONS) | |
CN103592599A (en) | USB-based logic analyzer triggering device | |
CN101159492A (en) | Simulation checking system and its method for SDH logical design | |
CN106933215B (en) | PXI bus-based universal equivalent device for external interface of telemetry system | |
CN103838664A (en) | Pressure testing method and device | |
CN102236068A (en) | Method and device for testing chip | |
CN104063526A (en) | Waveform comparative method for integrated circuit simulation | |
CN111460759A (en) | Python language-based EDA (electronic design automation) verification platform and use method thereof | |
CN106970879A (en) | A kind of parameter automatization configuration verification platform and method for configurable processing core |
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 |