CN113419597B - Working method, equipment and medium of arbitrary waveform generator - Google Patents

Working method, equipment and medium of arbitrary waveform generator Download PDF

Info

Publication number
CN113419597B
CN113419597B CN202110785080.6A CN202110785080A CN113419597B CN 113419597 B CN113419597 B CN 113419597B CN 202110785080 A CN202110785080 A CN 202110785080A CN 113419597 B CN113419597 B CN 113419597B
Authority
CN
China
Prior art keywords
request message
request
determining
embedded controller
analyzing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110785080.6A
Other languages
Chinese (zh)
Other versions
CN113419597A (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 Scientific Research Institute Co Ltd
Original Assignee
Shandong Inspur Scientific Research Institute 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 Shandong Inspur Scientific Research Institute Co Ltd filed Critical Shandong Inspur Scientific Research Institute Co Ltd
Priority to CN202110785080.6A priority Critical patent/CN113419597B/en
Publication of CN113419597A publication Critical patent/CN113419597A/en
Application granted granted Critical
Publication of CN113419597B publication Critical patent/CN113419597B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/02Digital function generators
    • G06F1/022Waveform generators, i.e. devices for generating periodical functions of time, e.g. direct digital synthesizers
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/40Bus structure
    • G06F13/4004Coupling between buses
    • G06F13/4022Coupling between buses using switching circuits, e.g. switching matrix, connection or expansion network
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Hardware Design (AREA)
  • Remote Monitoring And Control Of Power-Distribution Networks (AREA)
  • Arrangements For Transmission Of Measured Signals (AREA)

Abstract

The application discloses a working method, equipment and medium of an arbitrary waveform generator, wherein the method comprises the following steps: the embedded controller acquires request information of a client; analyzing the request information, and determining a request type corresponding to the request information; if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number; analyzing the waveform composition field in the request message to generate waveform data; and sending the waveform data to an arbitrary waveform generator corresponding to the first slot position number, so that the arbitrary waveform generator operates according to the waveform data. According to the embodiment of the application, the embedded controller generates the waveform data, so that the data transmission process between the client and the embedded controller is reduced, the waveform data is transmitted between the embedded controller and the arbitrary waveform generator, and the working efficiency of the arbitrary waveform generator is improved when the embedded controller expands the PXIe case.

Description

Working method, equipment and medium of arbitrary waveform generator
Technical Field
The present application relates to the field of instrumentation technologies, and in particular, to a method, an apparatus, and a medium for operating an arbitrary waveform generator.
Background
With the development of socio-economy, in the field of science and technology research, cooperation work among instruments is required, for example, cooperation work among a plurality of arbitrary waveform generators in a PXIe chassis is required.
In general, by means of extending the PXIe chassis through the embedded controller, the requirement of cooperative work of a plurality of arbitrary waveform generators in the PXIe chassis can be met.
However, adding an embedded controller in the PXIe chassis results in increased communication latency between the client and the arbitrary waveform generator.
Disclosure of Invention
The embodiment of the application provides a working method, equipment and medium of an arbitrary waveform generator, which are used for solving the problem of low communication efficiency between a client and the arbitrary waveform generator when an embedded controller is added into a PXIe cabinet.
The embodiment of the application adopts the following technical scheme:
in one aspect, an embodiment of the present application provides a method for operating an arbitrary waveform generator, where the method includes: the embedded controller acquires request information of a client; analyzing the request information, and determining a request type corresponding to the request information; if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number; analyzing the waveform composition field in the request message to generate waveform data; and sending the waveform data to an arbitrary waveform generator corresponding to the first slot number so that the arbitrary waveform generator operates according to the waveform data.
In an example, after the parsing the request information and determining a request type corresponding to the request information, the method further includes: if the request type is a configuration command request, analyzing a second slot position field in the request message, and determining a second slot position number; and configuring any waveform generator corresponding to the second slot number according to configuration information in the request information, so that the any waveform generator operates according to the configuration information.
In one example, before the embedded controller obtains the request information of the client, the method further includes: the embedded controller and the client form a measurement and control local area network through an Ethernet switch, so that the client and the embedded controller communicate through the Ethernet switch; the embedded controller is preset in a PXIe cabinet, a plurality of arbitrary waveform generators are also arranged in the PXIe cabinet, and the arbitrary waveform generators are peripheral equipment of a high-speed serial computer expansion bus standard PCIe of the embedded controller.
In one example, after the sending the waveform data to the arbitrary waveform generator corresponding to the first slot number so that the arbitrary waveform generator operates according to the waveform data, the method further includes: obtaining an operation result of the arbitrary waveform generator; packaging the operation result into a response message; and sending the response message to the client.
In one example, the acquiring, by the embedded controller, request information of a client specifically includes: monitoring an access request sent by the client through an internet interconnection protocol address through a preset port number; and acquiring request information sent by the client according to the access request.
In one example, the analyzing the request information to determine a request type corresponding to the request information specifically includes: analyzing the request information, and determining the parameter value of the type field in the request information; generating identification information according to the parameter values; the identification information is used for identifying the request message; and determining a request type corresponding to the request information according to the identification information.
In one example, the determining, according to the identification message, a request type corresponding to the request information specifically includes: determining a preset type set table; the type set table comprises a mapping relation between the identification message and the request type; and retrieving the identification information in the type set table to determine the request type corresponding to the request information.
In one example, the analyzing the waveform component field in the request message to generate the waveform data specifically includes: analyzing waveform composition fields in the request message, and determining waveform parameters related to the generation of the waveform; the waveform parameters include length, carrier, and envelope; and generating waveform data according to the waveform parameters.
In another aspect, an embodiment of the present application provides an arbitrary waveform generator operating device, including: at least one processor; and 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: acquiring request information of a client through an embedded controller; analyzing the request information, and determining a request type corresponding to the request information; if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number; analyzing the waveform composition field in the request message to generate waveform data; and sending the waveform data to an arbitrary waveform generator corresponding to the first slot position number, so that the arbitrary waveform generator operates according to the waveform data.
In another aspect, an embodiment of the present application provides a non-volatile computer storage medium storing computer-executable instructions for operating an arbitrary waveform generator, where the computer-executable instructions are configured to: acquiring request information of a client through an embedded controller; analyzing the request information, and determining a request type corresponding to the request information; if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number; analyzing the waveform composition field in the request message to generate waveform data; and sending the waveform data to an arbitrary waveform generator corresponding to the first slot number so that the arbitrary waveform generator operates according to the waveform data.
The embodiment of the application adopts at least one technical scheme which can achieve the following beneficial effects:
according to the embodiment of the application, the waveform forming field in the request message is analyzed through the embedded controller to generate the waveform data, then the waveform data is sent to the arbitrary waveform generator corresponding to the first slot position number, the waveform data can be generated by the embedded controller, the data transmission process between the client and the embedded controller is reduced, the waveform data is transmitted between the embedded controller and the arbitrary waveform generator, and the working efficiency of the arbitrary waveform generator when the embedded controller is used for expanding the PXIe case is improved.
Drawings
In order to more clearly explain the technical solutions of the present application, some embodiments of the present application will be described in detail below with reference to the accompanying drawings, in which:
FIG. 1 is a block diagram of an arbitrary waveform generator operating system according to an embodiment of the present disclosure;
FIG. 2 is a schematic flow chart illustrating a method for operating an arbitrary waveform generator according to an embodiment of the present disclosure;
fig. 3 is a schematic structural diagram of an arbitrary waveform generator operating device according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, the technical solutions of the present application will be clearly and completely described below with reference to specific embodiments and corresponding 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.
Some embodiments of the present application are described in detail below with reference to the accompanying drawings.
Fig. 1 is a schematic diagram of a framework of an arbitrary waveform generator operating system according to an embodiment of the present application.
As shown in fig. 1, the arbitrary waveform generator operation system includes at least: the system comprises an Ethernet switch 100, a measurement and control computer 600 and a plurality of PXIe chassis, wherein the PXIe chassis comprises a PXIe chassis 200, a PXIe chassis 300, a PXIe chassis 400, a PXIe chassis 500 and the like. In addition, the PXIe case expansion system is equivalent to a measurement and control system.
The PXIe chassis 200 includes an embedded controller 210, a plurality of arbitrary waveform generators, including an arbitrary waveform generator 220, an arbitrary waveform generator 230, and the like.
PXIe chassis 300 includes embedded controller 310, a number of arbitrary waveform generators, including arbitrary waveform generator 320, arbitrary waveform generator 330, etc.
PXIe chassis 400 includes embedded controller 410, a number of arbitrary waveform generators, including arbitrary waveform generator 420, arbitrary waveform generator 430, and the like.
PXIe chassis 500 includes embedded controller 510, a number of arbitrary waveform generators, including arbitrary waveform generator 520, arbitrary waveform generator 530, etc.
It should be noted that the embedded controller is a universal PXIe chassis embedded controller conforming to the PXIe specification, and the embedded controller has a different IP address.
The PXIe (PXI-Express) chassis uses the PCIe (PCI-Express) serial interface to connect its system slots and external devices, i.e., to connect the arbitrary waveform generator through the PCIe serial interface.
The PCI-Express is a high-speed serial computer expansion bus standard, belongs to high-speed serial point-to-point double-channel high-bandwidth transmission, and is characterized in that connected equipment distributes independent channel bandwidth and does not share bus bandwidth, and mainly supports functions of active power management, error report, end-to-end reliable transmission, hot plug, quality of service (QOS) and the like.
Wherein, the operation instruction set supported by the arbitrary waveform generator comprises: acquiring the type of equipment; opening the device; setting a reference clock; setting an external trigger; setting the signal amplitude; setting a signal bias; setting waveform parameters; loading a waveform; starting waveform generation; a shutdown waveform occurs; clearing the waveform; shut down the equipment, etc.
In some embodiments of the present application, the measurement and control local area network is formed by the measurement and control computer 600, the embedded controllers in the PXIe boxes, and the ethernet switch 100 in advance, so that the measurement and control computer 600 communicates with the embedded controllers in the PXIe boxes through the ethernet switch 100, and the embedded controllers in the PXIe boxes communicate with each other through the ethernet switch 100.
The measurement and control computer 600 is used for running a measurement and control client program, and the embedded controller is used for running a measurement and control server program. That is, the measurement and control computer 600 corresponds to a client.
In addition, the measurement and control client program provides an access interface for a user to use the measurement and control system, and the measurement and control client program and the measurement and control server program adopt sockets to realize interprocess communication.
It should be noted that, any waveform generator operating system may not include the measurement and control computer 600, and one of the embedded controllers in the measurement and control lan may be used as the measurement and control computer. For example, if the embedded controller 210 is used as a measurement and control computer, the embedded controller used as the measurement and control computer needs to operate a measurement and control server program and also needs to operate a measurement and control client program.
Based on the method, the arbitrary waveform generator is used as the PCIe peripheral of the embedded controller, the measurement and control computer is communicated with the arbitrary waveform generator through the embedded controller and sends preset modulation waveforms to the onboard memory of the arbitrary waveform generator so as to enable the arbitrary waveform generator to execute specified operation, the operation result of the arbitrary waveform generator forms a response message after being packaged by the embedded controller and then is replied to the measurement and control computer, and the waveform data sending of the arbitrary waveform generator in the PXIe case is realized.
In the embodiment of the present invention, the arbitrary waveform generator operating system is provided with a plurality of PXIe chassis, each of the PXIe chassis in the plurality of PXIe chassis is connected to the ethernet switch 100, the number of the PXIe chassis may be one, or may be provided with a plurality of PXIe chassis, as shown in fig. 1, the PXIe chassis 200, the PXIe chassis 300, the PXIe chassis 400, and the PXIe chassis 500 are respectively provided.
Further, the PXIe chassis 200 of the embodiment of the present application is provided with a plurality of arbitrary waveform generators, the arbitrary waveform generators are connected to the embedded controller 210 through PCIe, the number of the arbitrary waveform generators may be one, or may be provided with a plurality of arbitrary waveform generators, as shown in fig. 1, the arbitrary waveform generator 220 and the arbitrary waveform generator 230 are respectively provided, in the embodiment of the present application, functions, structures, and connection relationships of the arbitrary waveform generators are the same, and for convenience of description, the arbitrary waveform generator 220 is taken as an example for explanation below.
In the embodiment of the present application, how to implement waveform data transmission of any waveform generator in a PXIe enclosure by communicating a measurement and control computer with an embedded controller on each PXIe enclosure is specifically explained below with reference to fig. 2.
Fig. 2 is a schematic flow chart of a working method of an arbitrary waveform generator according to an embodiment of the present application, and is applied to the working system of the arbitrary waveform generator in fig. 1, and specifically includes the following steps:
s201: and monitoring request information of the client.
Specifically, the embedded controller 210 listens for an access request sent by the measurement and control computer 600 through an internet protocol address through a preset port number.
It should be noted that, in the embodiment of the present application, the client refers to a measurement and control computer.
S202: and acquiring a request message of the client.
Specifically, after monitoring the access request sent by the measurement and control computer 600, the embedded controller 210 will obtain the request information of the measurement and control computer 600 through the access request.
S203: and analyzing the request information, and determining the request type corresponding to the request information.
Specifically, the embedded controller 210 parses the request information, determines a parameter value of a type field in the request information, and then generates the identification information according to the parameter value. The identification information is used to identify the request message, for example, the identification information is an identifier that identifies the type of the request. And finally, retrieving the identification information in the type set table to determine the request type corresponding to the request information. The preset type set table comprises a mapping relation between the identification message and the request type.
S204: and judging whether the request type is a waveform data request, if so, executing S205, and if not, executing S208.
S205: and analyzing the first slot position field in the request message and determining the first slot position number.
S206: and analyzing the waveform composition field in the request message to generate waveform data.
Specifically, the embedded controller 210 parses the waveform component field in the request message, and determines the waveform parameters related to generating the waveform, wherein the waveform parameters include length, carrier, and envelope. And finally, generating waveform data according to the waveform parameters.
For example, arbitrary waveform generator 220 uses a 16-bit precision DAC with a sampling rate of 1GHz. The measurement and control computer 600 needs to send a modulated waveform with a length of 100 microseconds, a carrier wave of 100MHz sinusoidal signal, and an envelope of rectangular pulses to the onboard memory of the arbitrary waveform generator 220.
The measurement and control computer 600 can know that the number of waveform data points is 100000 according to the sampling rate of the arbitrary waveform generator 220, can know that the number of bytes of the waveform data is 200000 bytes according to the DAC precision of the arbitrary waveform generator,
the embedded controller 210 determines the waveform parameters of the modulated waveform by analyzing the waveform component field in the request message, and obtains the number of waveform data points and the number of waveform data bytes.
S207: and sending the waveform data to an arbitrary waveform generator corresponding to the first slot number.
S208: and analyzing the second slot position field in the request message to determine a second slot position number.
S209: and configuring any waveform generator corresponding to the second slot number according to the configuration information in the request information.
It should be noted that, the sequence of steps S205 to S207 and steps S208 to S209 may be set according to actual needs, and is not limited herein. For example, in a certain situation, it may be necessary to configure the arbitrary waveform generator 220 first, and after the configuration is completed, the specified operation of the waveform data issued by the embedded controller 210 may be executed.
S210: the arbitrary waveform generator performs a specified operation.
Specifically, the arbitrary waveform generator 220 performs specified operations such as loading a waveform, starting waveform generation, and the like, according to the waveform data.
Further, the specified operation is performed according to configuration information, for example, the configuration information includes setting a reference clock, setting an external trigger, setting a signal amplitude, setting a signal bias, setting a waveform parameter, and the like.
S211: the operation result of the arbitrary waveform generator is acquired.
S212: the result of the packaging operation is a response message.
S213: and sending the response message to the client.
It should be noted that, although the embodiment of the present application describes steps S201 to S213 sequentially with reference to fig. 2, this does not mean that steps S201 to S213 must be executed in strict sequence. The embodiment of the present application is described by sequentially describing step S201 to step S213 according to the sequence shown in fig. 2, so as to facilitate those skilled in the art to understand the technical solutions of the embodiment of the present application. In other words, in the embodiment of the present application, the sequence between step S201 and step S213 may be appropriately adjusted according to actual needs.
That is to say, the measurement and control computer 600 and the embedded controller 210 form a measurement and control local area network through an ethernet switch, the arbitrary waveform generator 220 serves as a PCIe peripheral of the embedded controller, the measurement and control computer 600 communicates with the arbitrary waveform generator 220 through the embedded controller 210, the embedded controller 210 executes a configuration command request to set a working state of the arbitrary waveform generator 220, and the embedded controller 210 executes a waveform data request to generate waveform data and sends the waveform data to the arbitrary waveform generator 220.
Based on this, by the method in fig. 2, in the embodiment of the present application, the embedded controller analyzes the waveform component field in the request message to generate the waveform data, and then sends the waveform data to the arbitrary waveform generator corresponding to the first slot number, and the waveform data can be generated by the embedded controller, so that the data transmission process between the client and the embedded controller is reduced, the waveform data is transmitted between the embedded controller and the arbitrary waveform generator, and the working efficiency of the arbitrary waveform generator when the embedded controller is used to extend the PXIe chassis is improved.
Based on the same idea, some embodiments of the present application further provide a device and a non-volatile computer storage medium corresponding to the above method.
Fig. 3 is a schematic structural diagram of an arbitrary waveform generator operating device according to an embodiment of the present application, including:
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 content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring request information of a client through an embedded controller;
analyzing the request information, and determining a request type corresponding to the request information;
if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number;
analyzing waveform composition fields in the request message to generate waveform data;
and sending the waveform data to an arbitrary waveform generator corresponding to the first slot position number so that the arbitrary waveform generator operates according to the waveform data.
Some embodiments of the present application provide an arbitrary waveform generator working non-volatile computer storage medium storing computer-executable instructions configured to:
acquiring request information of a client through an embedded controller;
analyzing the request information, and determining a request type corresponding to the request information;
if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number;
analyzing waveform composition fields in the request message to generate waveform data;
and sending the waveform data to an arbitrary waveform generator corresponding to the first slot position number so that the arbitrary waveform generator operates according to the waveform data.
The embodiments in the present application are described in a progressive manner, and the same and similar parts among the embodiments can be referred to each other, and each embodiment focuses on differences from other embodiments. In particular, for the device and media embodiments, the description is relatively simple, as it is substantially similar to the method embodiments, and reference may be made to some description of the method embodiments for relevant points.
The device and the medium provided by the embodiment of the application correspond to the method one to one, so the device and the medium also have the similar beneficial technical effects as the corresponding method, and the beneficial technical effects of the method are explained in detail above, so the beneficial technical effects of the device and the medium are not repeated herein.
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 Disks (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic 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 phrases "comprising a," "8230," "8230," or "comprising" does not exclude the presence of other like elements in a process, method, article, or apparatus comprising the element.
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 and the like made within the technical principle of the present application shall fall within the protection scope of the present application.

Claims (5)

1. A method of operating an arbitrary waveform generator, the method comprising:
the embedded controller acquires a request message of a client;
analyzing the request message, and determining a request type corresponding to the request message;
if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number;
analyzing the waveform composition field in the request message to generate waveform data;
sending the waveform data to an arbitrary waveform generator corresponding to the first slot position number, so that the arbitrary waveform generator operates according to the waveform data;
before the embedded controller obtains the request message of the client, the method further comprises the following steps:
the embedded controller and the client form a measurement and control local area network through an Ethernet switch, so that the client and the embedded controller communicate through the Ethernet switch;
the embedded controller is preset in a PXIe cabinet, a plurality of arbitrary waveform generators are also arranged in the PXIe cabinet, and the arbitrary waveform generators are peripheral equipment of a high-speed serial computer expansion bus standard PCIe of the embedded controller;
the acquiring, by the embedded controller, a request message of a client specifically includes:
monitoring an access request sent by the client through an internet interconnection protocol address through a preset port number;
acquiring a request message sent by the client according to the access request;
the analyzing the request message and determining the request type corresponding to the request message specifically include:
analyzing the request message, and determining the parameter value of the type field in the request message;
generating identification information according to the parameter values; the identification information is used for identifying the request message;
determining a request type corresponding to the request message according to the identification information;
the determining, according to the identification information, a request type corresponding to the request message specifically includes:
determining a preset type set table; the type set table comprises a mapping relation between the identification information and the request type;
retrieving the identification information in the type set table to determine a request type corresponding to the request message;
after the request message is analyzed and the request type corresponding to the request message is determined, the method further includes:
if the request type is a configuration command request, analyzing a second slot position field in the request message, and determining a second slot position number;
and configuring any waveform generator corresponding to the second slot number according to the configuration information in the request message, so that the any waveform generator operates according to the configuration information.
2. The method of claim 1, wherein after sending the waveform data to an arbitrary waveform generator corresponding to the first slot number such that the arbitrary waveform generator operates according to the waveform data, the method further comprises:
obtaining an operation result of the arbitrary waveform generator;
packaging the operation result into a response message;
and sending the response message to the client.
3. The method according to claim 1, wherein the parsing the waveform component field in the request message to generate waveform data specifically comprises:
analyzing waveform composition fields in the request message, and determining waveform parameters related to the generation of the waveform; the waveform parameters include length, carrier, and envelope;
and generating waveform data according to the waveform parameters.
4. An arbitrary waveform generator operation device, comprising:
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 content of the first and second substances,
the memory stores instructions executable by the at least one processor to enable the at least one processor to:
acquiring a request message of a client through an embedded controller;
analyzing the request message, and determining a request type corresponding to the request message;
if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number;
analyzing the waveform composition field in the request message to generate waveform data;
sending the waveform data to an arbitrary waveform generator corresponding to the first slot position number, so that the arbitrary waveform generator operates according to the waveform data;
before the embedded controller obtains the request message of the client, the method further comprises the following steps:
the embedded controller and the client form a measurement and control local area network through an Ethernet switch, so that the client and the embedded controller communicate through the Ethernet switch;
the embedded controller is preset in a PXIe cabinet, a plurality of arbitrary waveform generators are also arranged in the PXIe cabinet, and the arbitrary waveform generators are peripheral equipment of a high-speed serial computer expansion bus standard PCIe of the embedded controller;
the acquiring, by the embedded controller, a request message of a client specifically includes:
monitoring an access request sent by the client through an internet interconnection protocol address through a preset port number;
acquiring a request message sent by the client according to the access request;
the analyzing the request message and determining the request type corresponding to the request message specifically include:
analyzing the request message, and determining the parameter value of the type field in the request message;
generating identification information according to the parameter values; the identification information is used for identifying the request message;
determining a request type corresponding to the request message according to the identification information;
the determining, according to the identification information, a request type corresponding to the request message specifically includes:
determining a preset type set table; the type set table comprises a mapping relation between the identification information and the request type;
retrieving the identification information in the type set table to determine a request type corresponding to the request message;
after the analyzing the request message and determining the request type corresponding to the request message, the method further includes:
if the request type is a configuration command request, analyzing a second slot position field in the request message, and determining a second slot position number;
and configuring any waveform generator corresponding to the second slot number according to the configuration information in the request message, so that the any waveform generator operates according to the configuration information.
5. A non-transitory computer storage medium for arbitrary waveform generator operations, storing computer-executable instructions, the computer-executable instructions configured to:
acquiring a request message of a client through an embedded controller;
analyzing the request message, and determining a request type corresponding to the request message;
if the request type is a waveform data request, analyzing a first slot position field in the request message, and determining a first slot position number;
analyzing the waveform composition field in the request message to generate waveform data;
sending the waveform data to an arbitrary waveform generator corresponding to the first slot position number, so that the arbitrary waveform generator operates according to the waveform data;
before the embedded controller obtains the request message of the client, the method further comprises the following steps:
the embedded controller and the client form a measurement and control local area network through an Ethernet switch, so that the client and the embedded controller communicate through the Ethernet switch;
the embedded controller is preset in a PXIe cabinet, a plurality of arbitrary waveform generators are also arranged in the PXIe cabinet, and the arbitrary waveform generators are peripheral equipment of a high-speed serial computer expansion bus standard PCIe of the embedded controller;
the acquiring, by the embedded controller, a request message of a client specifically includes:
monitoring an access request sent by the client through an internet interconnection protocol address through a preset port number;
acquiring a request message sent by the client according to the access request;
the analyzing the request message and determining the request type corresponding to the request message specifically include:
analyzing the request message, and determining the parameter value of the type field in the request message;
generating identification information according to the parameter values; the identification information is used for identifying the request message;
determining a request type corresponding to the request message according to the identification information;
the determining, according to the identification information, a request type corresponding to the request message specifically includes:
determining a preset type set table; the type set table comprises a mapping relation between the identification information and the request type;
retrieving the identification information in the type set table to determine a request type corresponding to the request message;
after the analyzing the request message and determining the request type corresponding to the request message, the method further includes:
if the request type is a configuration command request, analyzing a second slot position field in the request message, and determining a second slot position number;
and configuring any waveform generator corresponding to the second slot number according to the configuration information in the request message, so that the any waveform generator operates according to the configuration information.
CN202110785080.6A 2021-07-12 2021-07-12 Working method, equipment and medium of arbitrary waveform generator Active CN113419597B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110785080.6A CN113419597B (en) 2021-07-12 2021-07-12 Working method, equipment and medium of arbitrary waveform generator

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110785080.6A CN113419597B (en) 2021-07-12 2021-07-12 Working method, equipment and medium of arbitrary waveform generator

Publications (2)

Publication Number Publication Date
CN113419597A CN113419597A (en) 2021-09-21
CN113419597B true CN113419597B (en) 2023-04-11

Family

ID=77720685

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110785080.6A Active CN113419597B (en) 2021-07-12 2021-07-12 Working method, equipment and medium of arbitrary waveform generator

Country Status (1)

Country Link
CN (1) CN113419597B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114020481A (en) * 2021-10-22 2022-02-08 山东浪潮科学研究院有限公司 Method for preventing multiple processes from accessing same arbitrary waveform generator
CN114237344B (en) * 2021-12-16 2023-05-19 山东浪潮科学研究院有限公司 Arbitrary waveform generator process changing method, equipment and medium
CN114461007B (en) * 2022-01-26 2023-08-11 山东浪潮科学研究院有限公司 Arbitrary waveform generator synchronization system

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425103A (en) * 2008-10-07 2009-05-06 成都飞机工业集团电子科技有限公司 Optional waveform generator based on PCI bus
CN111707852A (en) * 2020-06-29 2020-09-25 济南浪潮高新科技投资发展有限公司 Method, device, equipment and storage medium for synchronizing signals of multi-channel waveform generator

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9658294B2 (en) * 2011-11-04 2017-05-23 Nxp Usa, Inc. Testing a switched mode supply with waveform generator and capture channel
CN110850131A (en) * 2019-11-27 2020-02-28 山东浪潮人工智能研究院有限公司 Random waveform generator of Rapid IO interface and transmission method
CN111031130A (en) * 2019-12-13 2020-04-17 山东浪潮人工智能研究院有限公司 Measurement and control system
CN112416440B (en) * 2020-10-30 2023-04-28 山东浪潮科学研究院有限公司 Board card control method, device, equipment and medium based on measurement and control system

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101425103A (en) * 2008-10-07 2009-05-06 成都飞机工业集团电子科技有限公司 Optional waveform generator based on PCI bus
CN111707852A (en) * 2020-06-29 2020-09-25 济南浪潮高新科技投资发展有限公司 Method, device, equipment and storage medium for synchronizing signals of multi-channel waveform generator

Also Published As

Publication number Publication date
CN113419597A (en) 2021-09-21

Similar Documents

Publication Publication Date Title
CN113419597B (en) Working method, equipment and medium of arbitrary waveform generator
CN111984395B (en) Data migration method, system and computer readable storage medium
CN109120477B (en) Dynamic analysis method, device, server and storage medium based on modbus protocol
JP2018521411A (en) Node configuration management in the network
CN110769002A (en) LabVIEW-based message analysis method, system, electronic device and medium
US10545515B2 (en) Virtualized fan speed measurement
CN109445706A (en) Disk partition expansion method, device and server-side
CN112953802A (en) Data communication method and device
CN109542419B (en) Method, system and equipment for developing CAN information processing software
CN113468086B (en) PXIe chassis expansion method, device and medium
WO2024099333A1 (en) Power supply control circuit and server
US20120151017A1 (en) Dynamic Host Profiles for Option Modules
CN115933591A (en) Controller diagnosis method, device, equipment and storage medium
CN114115919B (en) Communication address switching system and method
CN106776372B (en) Emulation data access method and device based on FPGA
CN115174461B (en) System testing method and device based on network request
CN117452873B (en) Communication method, device, equipment and storage medium
CN112000503B (en) Server fault debugging method and system and remote server
CN114785833B (en) Energy storage system communication method and energy storage system
CN118233518A (en) Power business data transmission method, device, equipment and storage medium
WO2024044976A1 (en) Data acquisition apparatus, method and system, electronic device, and storage medium
CN113645082B (en) AS5643 network dynamic simulation test method and device
CN117194388B (en) Data management method, device, electronic equipment and storage medium
CN109992803B (en) Method, device, equipment and medium for establishing information model of wind generating set
CN112948051A (en) Cutter head driving data processing method, device and medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant