CN112416440A - Board card control method, device, equipment and medium based on measurement and control system - Google Patents

Board card control method, device, equipment and medium based on measurement and control system Download PDF

Info

Publication number
CN112416440A
CN112416440A CN202011196009.6A CN202011196009A CN112416440A CN 112416440 A CN112416440 A CN 112416440A CN 202011196009 A CN202011196009 A CN 202011196009A CN 112416440 A CN112416440 A CN 112416440A
Authority
CN
China
Prior art keywords
waveform generator
waveform
board card
control
cards
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
Application number
CN202011196009.6A
Other languages
Chinese (zh)
Other versions
CN112416440B (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.)
Shandong Inspur Science Research Institute Co Ltd
Original Assignee
Jinan Inspur Hi Tech Investment and Development 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 Jinan Inspur Hi Tech Investment and Development Co Ltd filed Critical Jinan Inspur Hi Tech Investment and Development Co Ltd
Priority to CN202011196009.6A priority Critical patent/CN112416440B/en
Publication of CN112416440A publication Critical patent/CN112416440A/en
Application granted granted Critical
Publication of CN112416440B publication Critical patent/CN112416440B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/4401Bootstrapping
    • G06F9/4411Configuring for operating with peripheral devices; Loading of device drivers
    • 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural
    • 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/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4494Execution paradigms, e.g. implementations of programming paradigms data driven
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2218/00Aspects of pattern recognition specially adapted for signal processing
    • G06F2218/08Feature extraction
    • G06F2218/10Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/02Total factory control, e.g. smart factories, flexible manufacturing systems [FMS] or integrated manufacturing systems [IMS]

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Security & Cryptography (AREA)
  • Tests Of Electronic Circuits (AREA)
  • Stored Programmes (AREA)

Abstract

The application discloses a board card control method, device, equipment and medium based on a measurement and control system, which comprises the following steps: calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case; creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards; creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator; and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator. In the embodiment of the description, the number of the board cards in the cascaded chassis and the slot positions where the board cards are located are obtained, and the control area of the board card of the waveform generator is created according to the number of the board cards and the slot positions where the board cards are located, so that the control of the board cards is realized.

Description

Board card control method, device, equipment and medium based on measurement and control system
Technical Field
The application relates to the technical field of computers, in particular to a board card control method, device, equipment and medium based on a measurement and control system.
Background
The board card is a printed circuit board, called PCB for short, and has a plug core during manufacturing, and can be inserted into a slot of a main circuit board (motherboard) of a computer to control the operation of hardware.
In the prior art, hardware equipment is controlled mostly in a DOS window or terminal command mode, the method for controlling the board card of the measurement and control system has higher requirements on related research and development personnel, the system needs to learn related knowledge of a computer, and the method for controlling the board card has complicated instructions and lower efficiency.
Disclosure of Invention
In view of this, embodiments of the present application provide a board control method, an apparatus, a device, and a medium based on a measurement and control system, which are used to solve the problems of complicated instruction and low efficiency of controlling a board in the prior art.
The embodiment of the application adopts the following technical scheme:
the embodiment of the application provides a board card control method based on a measurement and control system, and the method comprises the following steps:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
Further, the calling a preset driver to detect the number of the waveform generator cards and the slot positions where the waveform generator cards are located in the cascaded chassis specifically includes:
and calling a preset program to detect the quantity of the waveform generator cards and the slot positions of the waveform generator cards in the cascade case, and sequencing the detected slot positions of the waveform generator cards according to a preset rule.
Further, the controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator specifically includes:
receiving waveform data and determining waveform parameters corresponding to the waveform data;
if the waveform parameters are the preset waveform parameters of the waveform generator, the waveform data are sent to a waveform generator board card;
and controlling the waveform generator board card according to the control of the waveform generator board card.
Further, the control controls include one or more of a drop-down list of control areas of the waveform generator board card, output parameters, and stand-alone buttons.
Further, the output parameters include the amplitude and offset values of the channels.
Further, the number of the wave generator board card control areas is equal to the number of the detected wave generator board cards.
Further, the waveform parameters of the waveform generator include the waveform parameters of a custom waveform generator and the waveform parameters of a pre-configured waveform generator;
the waveform parameters comprise one or more of waveform shape, waveform frequency and waveform phase.
The embodiment of the application still provides a integrated circuit board controlling means based on observing and controling system, the device includes:
the calling unit is used for calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
the first creating unit is used for creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
the second establishing unit is used for establishing a control of the waveform generator board card in a channel of the waveform generator board card control area and setting waveform parameters of the waveform generator;
and the control unit is used for controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
The embodiment of the present application further provides a board control device based on measurement and control system, the device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
The embodiment of the application further provides a board control medium based on a measurement and control system, which stores computer executable instructions, and is characterized in that the computer executable instructions are set as:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects: in the embodiment of the description, the number of the board cards in the cascaded chassis and the slot positions where the board cards are located are obtained, and the control area of the board card of the waveform generator is created according to the number of the board cards and the slot positions where the board cards are located, so that the control of the board cards is realized.
Drawings
The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the application and together with the description serve to explain the application and not to limit the application. In the drawings:
fig. 1 is a schematic flow diagram of a board control method based on a measurement and control system provided in an embodiment of the present specification;
fig. 2 is a schematic flowchart of a board control method provided in an embodiment of the present specification;
fig. 3 is a schematic structural diagram of a board card control device based on a measurement and control system provided in an embodiment of the present specification.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the technical solutions of the present application will be described in detail and completely with reference to the following specific embodiments of the present application and the accompanying drawings. It should be apparent that the described embodiments are only some of the embodiments of the present application, 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 application.
The technical solutions provided by the embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic flow diagram of a board control method based on a measurement and control system provided in an embodiment of the present specification, where an execution unit of the measurement and control system in the embodiment of the present specification may execute the following steps, and the measurement and control system may be a UI quantum measurement and control system, and the specific steps may include:
step S101, calling a preset driving program to detect the quantity of the waveform generator cards and the slot positions of the waveform generator cards in the cascade case.
In step S101 in the embodiment of this specification, this step may specifically include:
and calling a preset program to detect the quantity of the waveform generator cards and the slot positions of the waveform generator cards in the cascade case, and sequencing the detected slot positions of the waveform generator cards according to a preset rule. The slot position of each wave generator board card has a slot position number, and the slot positions can be sequenced from small to large.
The Waveform generator board card in the embodiment of the present specification may be an AWG (array Waveform generator) board card, and the AWG, as a signal generating device, may generate a complex time-varying multipath signal, and may measure performance indexes of equipment such as a complex radar, an electronic reconnaissance, a friend or foe identification, and the like in the military field, and provide a plurality of digital modulation signals; the method is widely applied in the field of scientific research, and particularly in some advanced scientific and technological research fields, the method needs to support the cooperative work of a plurality of AWG boards.
And step S102, creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards.
In step S102 of the embodiment of the present specification, the number of the waveform generator board card control areas is equal to the number of the detected waveform generator board cards.
Step S103, creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator.
In step S103 of the embodiment of this specification, the waveform parameters of the waveform generator include the waveform parameters of the custom waveform generator and the waveform parameters of the pre-configured waveform generator;
the waveform parameters comprise one or more of waveform shape, waveform frequency and waveform phase.
And step S104, controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
In step S104 in the embodiment of this specification, this step may specifically include:
receiving waveform data and determining waveform parameters corresponding to the waveform data;
if the waveform parameters are the preset waveform parameters of the waveform generator, the waveform data are sent to a waveform generator board card;
and controlling the waveform generator board card according to the control of the waveform generator board card.
Wherein the control controls include one or more of a drop-down list of control regions of the waveform generator board card, output parameters, and stand-alone buttons. The output parameters may include the amplitude and offset values of the channels (offset values).
It should be noted that, in the embodiment of the present specification, a board control method based on a measurement and control system is disclosed, in which a function class of the measurement and control system is automatically run when software is started, a member function in the class indirectly accesses kernel codes by calling an interface function in a DLL (Dynamic Link Library), so as to obtain the number of boards in a cascaded chassis and a slot position where each board is located, and then the slot position number of the board is transmitted to a sub-window class of a specific operation board by a construction function of the subclass, and the sub-window class function can create a control region for controlling the board according to the number of boards and the slot position where each board is located.
The software can be UI measurement and control software, the UI measurement and control software packages a console instruction, parameters are input and output through a software interface, user input parameters are converted into control instructions or the parameters are transmitted into a driver API, the UI measurement and control software is used for operating the board, the difficulty of developers in operating equipment can be reduced, the operation flow is simplified, and the working efficiency is improved.
The technical solution of the embodiment of the present specification may specifically include the following:
(1) the software can automatically call a driver to check the number of AWG boards in the cascaded chassis during the starting process, and then a dialog box can be popped up to display the detected number of the boards and the number of the slot positions where the boards are located (the sequence of the slot positions is from small to large).
(2) The main thread calls the AWG board control modules, the construction function is called to initialize the control areas of the AWG boards, the control areas are added in the main window, and the quantity of the initialized AWG board control areas is equal to the quantity of the boards detected by the software.
The control area of the board card can be added into the main window in the form of a TabWidget tag, the name of the tag is named by the slot number, and the slot numbers are in an increasing order from left to right according to the tag.
Meanwhile, the amplitude and the offset value of an output channel of the slot position board card can be independently controlled in the control area of each slot position board card.
(3) The AWG board card can be controlled by operating a drop-down list, an output parameter, a click button and the like in the AWG board card control area.
(4) If the user clicks the 'send waveform' button, the software detects whether the pull-down list and the output parameters are correct, and if the pull-down list and the output parameters are correct, the software can complete board control through parameter type conversion, DLL function calling and driver program calling.
(5) When the software exits, the DLL handle is closed and the resources applied to the system by the software runtime are released.
Further, the technical solution of the embodiment of the present specification may further specifically include the following:
1) the software can automatically call a function devices _ inll _ classis (int _ Out _ arr [ ], int _ Out _ num) in the starting process, further indirectly call a driver to check the number of AWG boards in the cascaded chassis, and then pop up a dialog box to display the detected number of boards and the slot number where the boards are located (the detected slot numbers are sequenced before the function returns, and the sequence is from small to large).
2) If the detected number of the board cards is less than or equal to 0, the popped dialog box window information is error information returned by the function;
if the detected number of the cards is larger than 0, the main thread calls an AWG card control module and calls a construction function explicit CTabWidget (int slot, QWidget parent nulptr), wherein the slot is a slot number corresponding to a currently created AWG card control area, software binds the slot with a CTabWidget label, the name of the label is named by the slot number, and the slot numbers are in an increasing order from left to right according to the label. The channel constructor can be called in the constructor of the CTabWidget () to create the amplitude and offset values of the waveform output controlling each channel of the AWG card in the same way.
3) There are 2 ways to set the AWG waveform:
firstly, parameters configured in a software package are used, interface parameters do not need to be set, and data can be sent to a board card by clicking a 'waveform sending' button.
Secondly, by using the user-defined waveform data, the method needs to set the waveform channel of the AWG board card, and the method specifically comprises the following steps:
firstly, enabling a 'self-defined waveform' check box to be in a check state, and activating a waveform attribute setting control;
secondly, selecting the waveform parameters of each channel in turn, comprising: outputting parameters such as waveform shape, waveform frequency, waveform phase and the like, clicking a 'save parameter' button after setting is finished, recording all parameters of the AWG board card in a file named by a user by software, and directly clicking an 'open parameter' button to select the file next time to finish setting all the parameters.
4) After the AWG waveform setting is finished, a 'waveform sending' button is clicked, UI interface setting and input parameters are obtained through a message mechanism, and the parameters and the interface setting are transmitted into a DLL and a driver program interface function, so that the AWG board card control is realized.
5) And when the software exits, closing the DLL, and calling the destructor of the function class in the module to release the applied memory.
Further, referring to fig. 2, a flow diagram of the board card control method is shown, which specifically includes the following contents:
calling a devices _ inlall _ classis (int _ Out _ arr [ ], int _ Out _ num) function to obtain the number of the board cards and the slots where the board cards are located, judging whether the number of the board cards is greater than 0 or not, and if the number of the board cards is not greater than 0, popping up dialog box window information to be error processing and error prompt; if the number of the cards is larger than 0, an AWG card control area interface is created in the main window according to the obtained card number and the slot position information, and a control module of the AWG card calls a channel control class to create a control of each channel. When a user needs to control the AWG board card, sending waveform data, detecting whether parameters of a drop-down list of the user are correct, and if the parameters of the drop-down list are detected to be incorrect, popping up dialog box window information to be error processing and error prompt; if the parameters of the drop-down list are detected to be incorrect, a DLL function and a drive function are called to realize AWG board card control, whether the called functions return to be correct or not is judged, if not, the popped dialog box window information is error processing and error prompt, and if not, the DLL is unloaded, and the applied system resources are released.
Further, fig. 3 is a schematic structural diagram of the board control device based on the measurement and control system provided in the embodiment of the present application, including: the device comprises a calling unit 1, a first creating unit 2, a second creating unit 3 and a control unit 4.
The calling unit 1 is used for calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
the first creating unit 2 is used for creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
the second creating unit 3 is used for creating a control of the waveform generator board card in a channel of the waveform generator board card control area and setting waveform parameters of the waveform generator;
the control unit 4 is configured to control the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
The embodiment of the present application further provides a board control device based on measurement and control system, the device includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
The embodiment of the application further provides a board control medium based on a measurement and control system, which stores computer executable instructions, and is characterized in that the computer executable instructions are set as:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
In the 90 s of the 20 th century, improvements in a technology could clearly distinguish between improvements in hardware (e.g., improvements in circuit structures such as diodes, transistors, switches, etc.) and improvements in software (improvements in process flow). However, as technology advances, many of today's process flow improvements have been seen as direct improvements in hardware circuit architecture. Designers almost always obtain the corresponding hardware circuit structure by programming an improved method flow into the hardware circuit. Thus, it cannot be said that an improvement in the process flow cannot be realized by hardware physical modules. For example, a Programmable Logic Device (PLD), such as a Field Programmable Gate Array (FPGA), is an integrated circuit whose Logic functions are determined by programming the Device by a user. A digital system is "integrated" on a PLD by the designer's own programming without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Furthermore, nowadays, instead of manually making an Integrated Circuit chip, such Programming is often implemented by "logic compiler" software, which is similar to a software compiler used in program development and writing, but the original code before compiling is also written by a specific Programming Language, which is called Hardware Description Language (HDL), and HDL is not only one but many, such as abel (advanced Boolean Expression Language), ahdl (alternate Hardware Description Language), traffic, pl (core universal Programming Language), HDCal (jhdware Description Language), lang, Lola, HDL, laspam, hardward Description Language (vhr Description Language), vhal (Hardware Description Language), and vhigh-Language, which are currently used in most common. It will also be apparent to those skilled in the art that hardware circuitry that implements the logical method flows can be readily obtained by merely slightly programming the method flows into an integrated circuit using the hardware description languages described above.
The controller may be implemented in any suitable manner, for example, the controller may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, and an embedded microcontroller, examples of which include, but are not limited to, the following microcontrollers: ARC 625D, Atmel AT91SAM, Microchip PIC18F26K20, and Silicone Labs C8051F320, the memory controller may also be implemented as part of the control logic for the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller as pure computer readable program code, the same functionality can be implemented by logically programming method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers and the like. Such a controller may thus be considered a hardware component, and the means included therein for performing the various functions may also be considered as a structure within the hardware component. Or even means for performing the functions may be regarded as being both a software module for performing the method and a structure within a hardware component.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. One typical implementation device is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smartphone, a personal digital assistant, a media player, a navigation device, an email device, a game console, a tablet computer, a wearable device, or a combination of any of these devices.
For convenience of description, the above devices are described as being divided into various units by function, and are described separately. Of course, the functionality of the units may be implemented in one or more software and/or hardware when implementing the present application.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
In a typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include forms of volatile memory in a computer readable medium, Random Access Memory (RAM) and/or non-volatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of a computer-readable medium.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape disk storage or other magnetic storage devices, or any other non-transmission medium which can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
It should also be noted that the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The application may be described in the general context of computer-executable instructions, such as program modules, being executed by a computer. Generally, program modules include routines, programs, objects, components, data structures, etc. that perform particular tasks or implement particular abstract data types. The application may also be practiced in distributed computing environments where tasks are performed by remote processing devices that are linked through a communications network. In a distributed computing environment, program modules may be located in both local and remote computer storage media including memory storage devices.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only an example of the present application and is not intended to limit the present application. Various modifications and changes may occur to those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims (10)

1. A board card control method based on a measurement and control system is characterized by comprising the following steps:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
2. The board card control method based on the measurement and control system according to claim 1, wherein the step of calling a preset driver to detect the number of the waveform generator board cards and the slot positions where the waveform generator board cards are located in the cascaded chassis specifically comprises the steps of:
and calling a preset program to detect the quantity of the waveform generator cards and the slot positions of the waveform generator cards in the cascade case, and sequencing the detected slot positions of the waveform generator cards according to a preset rule.
3. The board card control method based on the measurement and control system according to claim 1, wherein the controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator specifically comprises:
receiving waveform data and determining waveform parameters corresponding to the waveform data;
if the waveform parameters are the preset waveform parameters of the waveform generator, the waveform data are sent to a waveform generator board card;
and controlling the waveform generator board card according to the control of the waveform generator board card.
4. The measurement and control system-based board card control method according to claim 1, wherein the control comprises one or more of a drop-down list of a control area of the waveform generator board card, an output parameter and a stand-alone button.
5. The board card control method based on the measurement and control system according to claim 4, wherein the output parameters include amplitude and offset values of the channels.
6. The measurement and control system-based board card control method according to claim 1, wherein the number of the wave generator board card control areas is equal to the number of the detected wave generator board cards.
7. The board card control method based on the measurement and control system according to claim 1, wherein the waveform parameters of the waveform generator include waveform parameters of a custom waveform generator and waveform parameters of a pre-configured waveform generator;
the waveform parameters comprise one or more of waveform shape, waveform frequency and waveform phase.
8. The utility model provides a integrated circuit board controlling means based on observing and controling system which characterized in that, the device includes:
the calling unit is used for calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
the first creating unit is used for creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
the second establishing unit is used for establishing a control of the waveform generator board card in a channel of the waveform generator board card control area and setting waveform parameters of the waveform generator;
and the control unit is used for controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
9. The utility model provides a board card controlgear based on observing and controling system which characterized in that, equipment includes:
at least one processor; and the number of the first and second groups,
a memory communicatively coupled to the at least one processor; wherein,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
10. A board card control medium based on a measurement and control system stores computer executable instructions, and is characterized in that the computer executable instructions are set as:
calling a preset driving program to detect the quantity of the waveform generator board cards and the slot positions of the waveform generator board cards in the cascade case;
creating a waveform generator board card control area in a main window according to the number of the waveform generator board cards and the slot positions of the waveform generator board cards;
creating a control of the waveform generator board card in a channel of the waveform generator board card control area, and setting waveform parameters of the waveform generator;
and controlling the waveform generator board card according to the control of the waveform generator board card and the waveform parameters of the waveform generator.
CN202011196009.6A 2020-10-30 2020-10-30 Board card control method, device, equipment and medium based on measurement and control system Active CN112416440B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011196009.6A CN112416440B (en) 2020-10-30 2020-10-30 Board card control method, device, equipment and medium based on measurement and control system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011196009.6A CN112416440B (en) 2020-10-30 2020-10-30 Board card control method, device, equipment and medium based on measurement and control system

Publications (2)

Publication Number Publication Date
CN112416440A true CN112416440A (en) 2021-02-26
CN112416440B CN112416440B (en) 2023-04-28

Family

ID=74827375

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011196009.6A Active CN112416440B (en) 2020-10-30 2020-10-30 Board card control method, device, equipment and medium based on measurement and control system

Country Status (1)

Country Link
CN (1) CN112416440B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113419597A (en) * 2021-07-12 2021-09-21 山东浪潮科学研究院有限公司 Working method, equipment and medium of arbitrary waveform generator

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402439A (en) * 2010-09-17 2012-04-04 研祥智能科技股份有限公司 VPX (Versatile Protocol Switch) platform and method for modifying backplate topological structure on VPX platform
CN106773785A (en) * 2016-12-26 2017-05-31 中核控制***工程有限公司 A kind of implementation method of the nuclear safe level intelligent simulation verification platform based on FPGA technology
CN107733671A (en) * 2016-08-12 2018-02-23 杭州迪普科技股份有限公司 The collocation method and device of network interface
CN111221615A (en) * 2020-01-09 2020-06-02 济南浪潮高新科技投资发展有限公司 Method and system for generating board carboplatin data based on UI

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102402439A (en) * 2010-09-17 2012-04-04 研祥智能科技股份有限公司 VPX (Versatile Protocol Switch) platform and method for modifying backplate topological structure on VPX platform
CN107733671A (en) * 2016-08-12 2018-02-23 杭州迪普科技股份有限公司 The collocation method and device of network interface
CN106773785A (en) * 2016-12-26 2017-05-31 中核控制***工程有限公司 A kind of implementation method of the nuclear safe level intelligent simulation verification platform based on FPGA technology
CN111221615A (en) * 2020-01-09 2020-06-02 济南浪潮高新科技投资发展有限公司 Method and system for generating board carboplatin data based on UI

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
王树东等: "基于PCI-1712高速采集卡的虚拟示波器设计", 《信息技术》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113419597A (en) * 2021-07-12 2021-09-21 山东浪潮科学研究院有限公司 Working method, equipment and medium of arbitrary waveform generator

Also Published As

Publication number Publication date
CN112416440B (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN109471773B (en) Method, device, server and storage medium for multi-channel output of front-end log
CN109104327B (en) Service log generation method, device and equipment
EP4345611A1 (en) Bootloader loading method, apparatus and system, electronic device and medium
CN114168114A (en) Operator registration method, device and equipment
US4394729A (en) Jump return stack
CN112416440A (en) Board card control method, device, equipment and medium based on measurement and control system
CN109902003B (en) Test script generation method and device
CN107391099B (en) Resource preprocessing method and device
CN112416444B (en) Board switching control method, device, equipment and medium
CN110837446A (en) Equipment management method and device applied to embedded system, medium and embedded equipment
CN112732252A (en) Method and device for dynamically generating UI (user interface) and electronic equipment
CN110688320B (en) Global variable detection method and device and terminal equipment
CN112035117A (en) Page display system, method and device
CN115629795A (en) Configuration method and device of executable file and electronic equipment
CN110968373A (en) Page switching implementation method and device, storage medium and processor
US20220013051A1 (en) Chip pin connection status display method, computer device and storage medium
CN114253644A (en) Method and device for outputting attribute parameters of lower computer equipment
CN111984247A (en) Service processing method and device and electronic equipment
CN103513989B (en) Button data acquisition methods and device
CN114201253B (en) Label page calling method, device, electronic equipment and computer readable storage medium
US8135943B1 (en) Method, apparatus, and computer-readable medium for generating a dispatching function
CN111596946A (en) Recommendation method, device and medium for intelligent contracts of block chains
CN115470151B (en) Application operation analysis method, computing device and storage medium
CN212257228U (en) Extension device for surface switch of board card
CN115587042A (en) Function return detection method and device

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
TA01 Transfer of patent application right

Effective date of registration: 20230404

Address after: 250101 building S02, 1036 Chaochao Road, high tech Zone, Jinan City, Shandong Province

Applicant after: Shandong Inspur Scientific Research Institute Co.,Ltd.

Address before: Floor 6, Chaochao Road, Shandong Province

Applicant before: JINAN INSPUR HIGH-TECH TECHNOLOGY DEVELOPMENT Co.,Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant