CN112416440B - 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 PDFInfo
- Publication number
- CN112416440B CN112416440B CN202011196009.6A CN202011196009A CN112416440B CN 112416440 B CN112416440 B CN 112416440B CN 202011196009 A CN202011196009 A CN 202011196009A CN 112416440 B CN112416440 B CN 112416440B
- Authority
- CN
- China
- Prior art keywords
- waveform generator
- waveform
- board card
- control
- boards
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 46
- 238000005259 measurement Methods 0.000 title claims abstract description 33
- 238000012163 sequencing technique Methods 0.000 claims description 6
- 230000006870 function Effects 0.000 description 26
- 238000010586 diagram Methods 0.000 description 9
- 230000006872 improvement Effects 0.000 description 8
- 238000012545 processing Methods 0.000 description 8
- 238000004590 computer program Methods 0.000 description 7
- 230000008569 process Effects 0.000 description 7
- 238000005516 engineering process Methods 0.000 description 5
- 238000004519 manufacturing process Methods 0.000 description 3
- 238000011160 research Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010276 construction Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 230000001413 cellular effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 238000006243 chemical reaction Methods 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 238000013461 design Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000007246 mechanism Effects 0.000 description 1
- 230000005055 memory storage Effects 0.000 description 1
- 229920001296 polysiloxane Polymers 0.000 description 1
- 230000000750 progressive effect Effects 0.000 description 1
- 239000010979 ruby Substances 0.000 description 1
- 229910001750 ruby Inorganic materials 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/4401—Bootstrapping
- G06F9/4411—Configuring for operating with peripheral devices; Loading of device drivers
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4482—Procedural
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/448—Execution paradigms, e.g. implementations of programming paradigms
- G06F9/4494—Execution paradigms, e.g. implementations of programming paradigms data driven
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F2218/00—Aspects of pattern recognition specially adapted for signal processing
- G06F2218/08—Feature extraction
- G06F2218/10—Feature extraction by analysing the shape of a waveform, e.g. extracting parameters relating to peaks
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/02—Total 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)
- Stored Programmes (AREA)
- Tests Of Electronic Circuits (AREA)
Abstract
The application discloses a board card control method, device, equipment and medium based on a measurement and control system, comprising the following steps: calling a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet; creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned; 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. According to the embodiment of the specification, the control of the boards is realized by obtaining the number of the boards in the cascade cabinet and the positions of the boards, and creating the waveform generator board control area according to the number of the boards and the positions of the boards.
Description
Technical Field
The present disclosure relates to the field of computer technologies, and 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 is provided with a core pin during manufacture, and can be inserted into a slot of a main circuit board (main board) of a computer to control the operation of hardware.
In the prior art, hardware equipment is controlled in a DOS window or terminal command mode, the control measurement and control system board card has higher requirements on related research personnel, the system is required to learn related knowledge of a computer, and the control board card has complicated instructions and lower efficiency.
Disclosure of Invention
In view of this, the embodiment of the application provides a board card control method, device, equipment and medium based on a measurement and control system, which are used for solving the problems of complicated instruction and low efficiency of a control board card 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, which comprises the following steps:
calling a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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 step of calling a preset driver to detect the number of the waveform generator boards and the slot positions of the waveform generator boards in the cascade chassis specifically includes:
calling a preset program to detect the number of the waveform generator boards and the slots of the waveform generator boards in the cascade cabinet, and sequencing the detected slots of the waveform generator boards 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 waveform parameters of a preset 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 waveform generator board card control areas, output parameters, and stand-alone buttons.
Further, the output parameters include the amplitude of the channel and the offset value.
Further, the number of waveform generator board card control areas is equal to the number of waveform generator board cards detected.
Further, the waveform parameters of the waveform generator comprise waveform parameters of a custom waveform generator and waveform parameters of a pre-configured waveform generator;
wherein the waveform parameters include one or more of waveform shape, waveform frequency, and waveform phase.
The embodiment of the application also provides a board card control device based on a measurement and control system, which comprises:
the calling unit is used for calling a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards 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 positions of the slots where the waveform generator board cards are positioned;
the second creating unit 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;
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 application also provides board card control equipment based on the measurement and control system, which comprises:
at least one processor; the method comprises the steps of,
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 number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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 also provides a board control medium based on the measurement and control system, which stores computer executable instructions, and is characterized in that the computer executable instructions are set as follows:
calling a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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 above-mentioned at least one technical scheme that this application embodiment adopted can reach following beneficial effect: according to the embodiment of the specification, the control of the boards is realized by obtaining the number of the boards in the cascade cabinet and the positions of the boards, and creating the waveform generator board control area according to the number of the boards and the positions of the boards.
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 embodiments of the application and together with the description serve to explain the application and do not constitute an undue limitation to the application. In the drawings:
fig. 1 is a schematic flow chart of a board card control method based on a measurement and control system according to an embodiment of the present disclosure;
fig. 2 is a schematic flow chart diagram of a board card control method according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of a board card control device based on a measurement and control system according to an embodiment of the present disclosure.
Detailed Description
For the purposes, technical solutions and advantages of the present application, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments of the present application and corresponding drawings. It will be apparent that the described embodiments are only some, but not all, of the embodiments of the present application. All other embodiments, which can be made by one of ordinary skill in the art without undue burden from the present disclosure, are within the scope of the present disclosure.
The following describes in detail the technical solutions provided by the embodiments of the present application with reference to the accompanying drawings.
Fig. 1 is a schematic flow chart of a board card control method based on a measurement and control system according to an embodiment of the present disclosure, where an execution unit of the measurement and control system 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 number of the waveform generator boards and the positions of the waveform generator boards in the cascade case.
In step S101 of the embodiment of the present specification, the step may specifically include:
calling a preset program to detect the number of the waveform generator boards and the slots of the waveform generator boards in the cascade cabinet, and sequencing the detected slots of the waveform generator boards according to a preset rule. The slots of each waveform generator board card are provided with slot numbers, and the slots can be ordered according to the order from small to large.
The waveform generator board card of the embodiment of the specification can be a AWG (Arbitary Waveform Generator) board card, the AWG is used as signal generating equipment, complex time-varying multipath signals can be generated, performance indexes of complex radar, electronic reconnaissance, friend-foe identification and other equipment can be measured in the military field, and various digital modulation signals are provided; the method is also widely applied in the scientific research field, and particularly in some leading-edge scientific research fields, a plurality of AWG boards need to be supported to work cooperatively.
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 waveform generator board card control areas is equal to the number of waveform generator boards detected.
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 the present specification, the waveform parameters of the waveform generator include the waveform parameters of the custom waveform generator and the waveform parameters of the waveform generator configured in advance;
wherein the waveform parameters include one or more of waveform shape, waveform frequency, and waveform phase.
Step S104, the waveform generator board card is controlled 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 the present specification, the step may specifically include:
receiving waveform data and determining waveform parameters corresponding to the waveform data;
if the waveform parameters are the waveform parameters of a preset 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.
The control controls comprise one or more of a drop-down list of a waveform generator board card control area, output parameters and a single button. The output parameters may include the amplitude of the channel and an offset value.
It should be noted that, the embodiment of the specification discloses a board card control method based on a measurement and control system, when software is started, a function class of the measurement and control system is automatically operated, member functions in the class indirectly realize access to kernel codes by calling interface functions in a DLL (Dynamic Link Library ), the number of boards in a cascade chassis and the slot position of each board card are obtained, then the slot position number of the board card is transmitted into a sub-window class of a specific operation board card through a construction function of the sub-class, and the sub-window class function can establish a control area of the control board card according to the number of the board cards and the slot position of each board card.
The software can be UI measurement and control software, the UI measurement and control software encapsulates the console instruction, the control output parameters are input through a software interface, the software converts the user input parameters into control instructions or transmits the parameters into a driver API, the UI measurement and control software is used for operating the board, the difficulty of operating equipment by a developer 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 program to check the number of the AWG boards in the cascade cabinet in 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 slots where the boards are located (the sequence of the slots is from small to large).
(2) The main thread calls the AWG board card control module, and the calling construction function initializes a plurality of AWG board card control areas, and the number of the initialized AWG board card control areas is equal to the number of the boards detected by software in the main window.
Wherein, the control area of the board card can be added into the main window in the form of TabWidget labels, the names of the labels are named with slot numbers, and the slot numbers are in increasing order from left to right according to the labels.
Meanwhile, the amplitude value and the offset value of the output channel of the control board card can be independently controlled in each slot board card control area.
(3) The AWG card may be controlled by manipulating a drop down list, output parameters, and a single click button within the AWG card control area.
(4) If the user clicks the 'send waveform' button, the software will detect whether the drop-down list and the output parameters are correct, and if so, the software can complete board card control by parameter type conversion, calling DLL functions and calling drivers.
(5) The execution of the software exit closes the DLL handle and releases the resources that the software is running from the system.
Further, the technical solution of the embodiment of the present specification may further specifically include the following:
1) The software can automatically call the function devices_in_class (int_out_arr [ ], int_out_num) in the starting process, and then indirectly call the driver to check the number of AWG boards in the cascade cabinet, and then pop up a dialog box to display the number of detected boards and the number of slots where the boards are located (the sequence of the detected slot numbers is ordered from small to large before the function returns).
2) If the number of the detected boards is less than or equal to 0, the popped dialog box window information is error information returned by the function;
if the number of detected boards is greater than 0, the main thread calls the AWG board control module, and calls a constructor explicit CTabWidget (int slot, qwoidget, parent=nullptr), where slot is a slot number corresponding to the AWG board control area currently created, software binds the slot with the CTabWidget tag, the tag name is named by the slot number, and the slot numbers are in increasing order from left to right according to the tag. A channel constructor may be called in the constructor of CTabWidget (), creating the amplitude and offset values of the waveform output for each channel controlling the AWG board in the same way.
3) Setting the AWG waveform has 2 ways:
firstly, the parameters configured in the software package are used, the method is used for sending data to the board card by clicking a 'send waveform' button without setting interface parameters.
Secondly, the method needs to set waveform channels of the AWG board card by using custom waveform data, and the method is specifically as follows:
1. the 'custom waveform' check box is in a checked state, and a waveform attribute setting control is activated;
2. the waveform parameters of each channel are sequentially selected, including: outputting parameters such as waveform shape, waveform frequency, waveform phase and the like, clicking a 'save parameters' button after setting is completed, recording all parameters of the AWG board card in a file named by a user by software, and directly clicking a 'open parameters' button to select the file next time so as to complete all parameter setting.
4) After the AWG waveform setting is completed, a 'send waveform' 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 interface function, so that the AWG board card control is realized.
5) And when the software exits, the DLL is closed, and the destructed function of the function class in the calling module is sequentially executed to release the applied memory.
Further, referring to fig. 2, a flow chart of a board card control method is shown, which specifically includes the following contents:
calling a device_inall_class (int_Out_arr) function to acquire the number of boards and the slot positions of the boards, judging whether the number of the boards is larger than 0, and if the number of the boards is not larger than 0, popping up dialog box window information which is error processing and error prompting; if the number of the boards is larger than 0, an AWG board control area interface is created in the main window according to the obtained number of the boards and the slot position information, and a control module of the AWG board calls a channel control class to create a control of each channel. When a user needs to control the AWG board card, waveform data are sent, whether the parameters of a pull-down list of the user are correct or not is detected, and if the parameters of the pull-down list are detected to be incorrect, the popped dialog box window information is error processing and error prompting; if the parameters of the drop-down list are detected to be incorrect, the DLL function and the driving function are called to realize the control of the AWG board card, and whether the called functions return to correct or not is judged, if the parameters are incorrect, the popped dialog box window information is error processing and error prompting, and if the parameters are correct, the DLL is unloaded, and the applied system resources are released.
Further, fig. 3 is a schematic structural diagram of a board card control device based on a measurement and control system according to an embodiment of the present application, including: 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 number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet;
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 positions of the slots where the waveform generator board cards are positioned;
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 waveform parameters of the waveform generator.
The embodiment of the application also provides board card control equipment based on the measurement and control system, which comprises:
at least one processor; the method comprises the steps of,
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 number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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 also provides a board control medium based on the measurement and control system, which stores computer executable instructions, and is characterized in that the computer executable instructions are set as follows:
calling a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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 to one technology could clearly be distinguished as improvements in hardware (e.g., improvements to circuit structures such as diodes, transistors, switches, etc.) or software (improvements to the process flow). However, with the development of technology, many improvements of the current method flows can be regarded as direct improvements of hardware circuit structures. Designers almost always obtain corresponding hardware circuit structures by programming improved method flows into hardware circuits. Therefore, an improvement of a method flow cannot be said to be realized by a hardware entity module. For example, a programmable logic device (Programmable Logic Device, PLD) (e.g., field programmable gate array (Field Programmable Gate Array, FPGA)) is an integrated circuit whose logic function is determined by the programming of the device by a user. A designer programs to "integrate" a digital system onto a PLD without requiring the chip manufacturer to design and fabricate application-specific integrated circuit chips. Moreover, nowadays, instead of manually manufacturing integrated circuit chips, such programming is mostly implemented by using "logic compiler" software, which is similar to the software compiler used in program development and writing, and the original code before the compiling is also written in a specific programming language, which is called hardware description language (Hardware Description Language, HDL), but not just one of the hdds, but a plurality of kinds, such as ABEL (Advanced Boolean Expression Language), AHDL (Altera Hardware Description Language), confluence, CUPL (Cornell University Programming Language), HDCal, JHDL (Java Hardware Description Language), lava, lola, myHDL, PALASM, RHDL (Ruby Hardware Description Language), etc., VHDL (Very-High-Speed Integrated Circuit Hardware Description Language) and Verilog are currently most commonly used. It will also be apparent to those skilled in the art that a hardware circuit implementing the logic method flow can be readily obtained by merely slightly programming the method flow into an integrated circuit using several of 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, application specific integrated circuits (Application Specific Integrated Circuit, ASIC), programmable logic controllers, and embedded microcontrollers, 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 of the memory. Those skilled in the art will also appreciate that, in addition to implementing the controller in a pure computer readable program code, it is well possible to implement the same functionality by logically programming the method steps such that the controller is in the form of logic gates, switches, application specific integrated circuits, programmable logic controllers, embedded microcontrollers, etc. Such a controller may thus be regarded as a kind of hardware component, and means for performing various functions included therein may also be regarded as structures within the hardware component. Or even means for achieving the various functions may be regarded as either software modules implementing the methods or structures within hardware components.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. One typical implementation is a computer. In particular, the computer may be, for example, a personal computer, a laptop computer, a cellular telephone, a camera phone, a smart phone, 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 functionally divided into various units, respectively. Of course, the functions of each element may be implemented in one or more software and/or hardware elements when implemented in the present application.
It will be appreciated by those skilled in the art that 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations 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 one typical configuration, a computing device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
The memory may include volatile memory in a computer-readable medium, random Access Memory (RAM) and/or nonvolatile memory, such as Read Only Memory (ROM) or flash memory (flash RAM). Memory is an example of computer-readable media.
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 storage media for a computer 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 Disks (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. Computer-readable media, as defined herein, does not include transitory computer-readable media (transmission media), such as modulated data signals and carrier waves.
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 one … …" 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.
In this specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment mainly describes differences from other embodiments. In particular, for system embodiments, since they are substantially similar to method embodiments, the description is relatively simple, as relevant to see a section of the description of method embodiments.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and changes may be made to the present application by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc. which are within the spirit and principles of the present application are intended to be included within the scope of the claims of the present application.
Claims (9)
1. A board card control method based on a measurement and control system is characterized by comprising the following steps:
invoking a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet, and specifically comprising the following steps:
calling a preset program to detect the number of the waveform generator boards and the slots of the waveform generator boards in the cascade cabinet, and sequencing the detected slots of the waveform generator boards according to a preset rule;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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 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 waveform parameters of a preset 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.
3. The measurement and control system-based board control method according to claim 1, wherein the control comprises one or more of a drop down list of a waveform generator board control area, output parameters and a stand-alone button.
4. The board card control method based on the measurement and control system according to claim 3, wherein the output parameters comprise amplitude values and offset values of channels.
5. The measurement and control system-based board control method according to claim 1, wherein the number of waveform generator board control areas is equal to the number of waveform generator boards detected.
6. The board card control method based on the measurement and control system according to claim 1, wherein the waveform parameters of the waveform generator comprise waveform parameters of a custom waveform generator and waveform parameters of a pre-configured waveform generator;
wherein the waveform parameters include one or more of waveform shape, waveform frequency, and waveform phase.
7. Board card control device based on measurement and control system, characterized by that, said device includes:
the calling unit is used for calling a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet, and specifically comprises the following steps: calling a preset program to detect the number of the waveform generator boards and the slots of the waveform generator boards in the cascade cabinet, and sequencing the detected slots of the waveform generator boards according to a preset rule;
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 positions of the slots where the waveform generator board cards are positioned;
the second creating unit 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;
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.
8. Board card control equipment based on measurement and control system, characterized by, the equipment includes:
at least one processor; the method comprises the steps of,
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, comprising:
calling a preset program to detect the number of the waveform generator boards and the slots of the waveform generator boards in the cascade cabinet, and sequencing the detected slots of the waveform generator boards according to a preset rule:
calling a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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.
9. A board card control medium based on a measurement and control system, storing computer executable instructions, wherein the computer executable instructions are set as follows:
invoking a preset driving program to detect the number of the waveform generator boards and the positions of the waveform generator boards in the cascade cabinet, and specifically comprising the following steps:
calling a preset program to detect the number of the waveform generator boards and the slots of the waveform generator boards in the cascade cabinet, and sequencing the detected slots of the waveform generator boards according to a preset rule;
creating a waveform generator board card control area in the main window according to the number of the waveform generator board cards and the positions of the slots where the waveform generator board cards are positioned;
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.
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 CN112416440A (en) | 2021-02-26 |
CN112416440B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN113419597B (en) * | 2021-07-12 | 2023-04-11 | 山东浪潮科学研究院有限公司 | Working method, equipment and medium of arbitrary waveform generator |
Citations (4)
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 |
-
2020
- 2020-10-30 CN CN202011196009.6A patent/CN112416440B/en active Active
Patent Citations (4)
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)
Title |
---|
基于PCI-1712高速采集卡的虚拟示波器设计;王树东等;《信息技术》;20131031;第152-156页 * |
Also Published As
Publication number | Publication date |
---|---|
CN112416440A (en) | 2021-02-26 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
RU2675152C2 (en) | Quick tasks for on-screen keyboards | |
CN113259224B (en) | Method and device for sending customer service data | |
CN109104327B (en) | Service log generation method, device and equipment | |
CN108549562A (en) | A kind of method and device of image load | |
CN109471773B (en) | Method, device, server and storage medium for multi-channel output of front-end log | |
CN111026494B (en) | Business process processing method, device and equipment | |
CN114168114A (en) | Operator registration method, device and equipment | |
CN112416440B (en) | Board card control method, device, equipment and medium based on measurement and control system | |
CN111381920A (en) | Display method and device of pop-up window assembly and electronic terminal | |
CN113626102A (en) | Data processing method and device, electronic equipment and storage medium | |
CN111273965B (en) | Container application starting method, system and device and electronic equipment | |
CN112559934A (en) | Page popup display method and device | |
CN117331561A (en) | Intelligent low-code page development system and method | |
CN112000329A (en) | Data display method, device, equipment and medium | |
CN109902003B (en) | Test script generation method and device | |
US11934420B2 (en) | Systems and methods for componentization and plug and play workflows | |
CN112416444B (en) | Board switching control method, device, equipment and medium | |
WO2024041316A1 (en) | Payment processing method and apparatus | |
CN116436936B (en) | Data storage system, method, storage medium and electronic equipment | |
CN112988139B (en) | Method and device for developing event processing file | |
CN109903165B (en) | Model merging method and device | |
CN110046237B (en) | Conversational interactive processing method and device | |
CN111984247A (en) | Service processing method and device and electronic equipment | |
CN114201253B (en) | Label page calling method, device, electronic equipment and computer readable storage medium | |
CN112891949A (en) | Method and device for realizing label interface |
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 | ||
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. |
|
GR01 | Patent grant | ||
GR01 | Patent grant |