Oscilloscope, oscilloscope method and device supporting external data source

By introducing functions that support external data sources in the oscilloscope, using acquisition circuits, memory, data parser, operator and converter for mixed operations, the port occupation problem of existing oscilloscopes during complex operations is solved, and multiple tests have been achieved. Synchronization and complex computing requirements.

CN113486284BActive Publication Date: 2025-02-07GUANGZHOU ZHIYUAN INSTR CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202110567984.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-05-24
Publication Date
2025-02-07
Estimated Expiration
2041-05-24

AI Technical Summary

Technical Problem

When performing complex mathematical operations, such as 3-phase power operations, existing oscilloscopes need to occupy multiple acquisition ports, which can only meet the requirements of individual tests and cannot meet the synchronization requirements of multiple tests.

Method used

By setting up acquisition circuits, memory, data parser, operator and converter in the oscilloscope, support and mixed operations for external data sources are realized, and the dependence of data operations on channel ports is eliminated.

Benefits of technology

It realizes uniform formatting processing and mixed operations for different data sources, removes the occupation limit of the acquisition port, and supports the synchronization and complex computing requirements of multiple tests.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113486284B_ABST
    Figure CN113486284B_ABST
Patent Text Reader

Abstract

The embodiment of the present application discloses an oscilloscope, an oscilloscope method and a device supporting an external data source. The technical solution provided by the embodiment of the present application is provided by setting an acquisition circuit, a memory, a data analyzer, an operator and a converter. The acquisition circuit acquires the waveform data of the electrical signal of each channel, the memory stores the acquired waveform data and the data file formed by processing the waveform data according to the preset processing rules, the data analyzer provides a reading interface corresponding to each waveform data or data file, aligns the waveform data and / or data file, the operator obtains the corresponding waveform data and / or data file from the data analyzer for operation, obtains the waveform data after operation, and the converter processes the waveform data after operation according to the preset processing rules to form a data file, which is not limited to the data operation of the same acquisition, realizes mixed operation processing, and eliminates the dependence of data operation on channel ports.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the technical field of oscilloscopes, and in particular to an oscilloscope, method, apparatus, device and storage medium supporting an external data source. Background Art

[0002] An oscilloscope is a measuring instrument that converts alternating electrical signals that cannot be directly observed by the human eye into waveforms and displays them. Mathematical operations are an important function of oscilloscopes. General mathematical operations require the specification of several physical channels, and the collected data is calculated into a new calculation waveform by setting formulas. In the calculation rules, the channels involved in the calculation and the constant parameters of the calculation need to be specified.

[0003] like Figure 1 As shown, the oscilloscope in the prior art includes several acquisition circuits for acquiring data from multiple channels, setting a memory to store the acquired data, setting mathematical operation rules, performing mathematical operations on the data from multiple physical channels, and generating new display waveforms. The operation sources directly or indirectly referenced are all physical signals acquired at the same time.

[0004] The calculation source of the existing oscilloscope is limited to the data collected this time, or the measurement value based on the physical channel collected this time. When performing mathematical operations, in addition to the constants that can be directly configured, other parameters involved in the operation generally come directly or indirectly from the physical channel involved in the operation. The source of the operation data will be limited to data from the same instrument and from the same acquisition and reporting.

[0005] When performing some complex mathematical operations, such as 3-phase power calculation, 6 measurement sources must be connected at the same time. This means that this test must occupy 6 acquisition ports of the oscilloscope device. As a result, an oscilloscope device equipped with only 2 acquisition ports will not be able to meet the test requirements. Under the premise of ensuring the synchronization of multiple tests, the present invention can divide a test into 3 sub-tests. The first two tests first convert 4-channel signals into virtual channels, and then implement 6-channel signal mixing operations in the 3rd test. Summary of the invention

[0006] Embodiments of the present application provide an oscilloscope, method, apparatus, device and storage medium that support external data sources, so as to support uniform formatting of external data and realize mixed operations of different data.

[0007] In a first aspect, an embodiment of the present application provides an oscilloscope supporting an external data source, comprising an acquisition circuit, a memory, a data parser, an operator, and a converter; the acquisition circuit and the data parser are both connected to the memory, the operator is connected to the data parser, and the converter is connected to the operator;

[0008] The acquisition circuit is used to acquire waveform data of electrical signals of each channel, the memory is used to store the acquired waveform data and a data file formed by processing the waveform data according to preset processing rules, the data parser is used to provide a reading interface corresponding to each waveform data or data file, and align the waveform data and / or data file according to preset data alignment rules, the operator is used to obtain the corresponding waveform data and / or data file from the data parser according to the operation rules configured by the user to perform operations to obtain the waveform data after operation, and the converter is used to process the waveform data after operation according to the preset processing rules to form a data file.

[0009] Furthermore, the memory includes a memory storage and a disk storage, wherein the memory storage is used to store the collected waveform data, and the disk storage is used to store a data file formed by processing the waveform data according to preset processing rules.

[0010] Furthermore, it also includes a display, which is connected to the operator and is used to display the waveform data after the operation.

[0011] In a second aspect, an embodiment of the present application provides an oscillographic method supporting an external data source, comprising:

[0012] Receiving a calculation rule input by a user, wherein the calculation rule includes a formula string, and the formula string is used to represent corresponding waveform data or data file;

[0013] According to the operation rules, a data parser corresponding to each formula character string in the operation rules is established;

[0014] Reading the waveform data or data file corresponding to each of the formula character strings according to the data parser, so that the formats of all the waveform data and / or data files read are aligned;

[0015] The format-aligned waveform data and / or data file are operated according to the operation rules to obtain the operated waveform data.

[0016] Furthermore, the operation rule receiving the user input and the data parser establishing the data parser corresponding to each formula string in the operation rule according to the operation rule also include:

[0017] When it is determined that external data is referenced according to the formula character string, a mapping relationship between the formula character string and the data file is established for the formula character string corresponding to the data file in the operation rule formula character string.

[0018] Furthermore, after performing operations on the format-aligned waveform data and / or data files according to the operation rules to obtain the waveform data after the operations, the method further includes:

[0019] It is detected whether the waveform data after the operation needs to be format converted, and when format conversion is required, the waveform data after the format conversion is stored as a data file according to a preset processing rule.

[0020] Furthermore, the detection of whether the calculated waveform data needs to be format converted is specifically as follows:

[0021] It is detected whether a conversion instruction for converting the format of the calculated waveform data is received.

[0022] In a third aspect, an embodiment of the present application provides an oscilloscope device supporting an external data source, including:

[0023] Configuration receiving module: used for receiving operation rules input by users, wherein the operation rules include formula strings, and the formula strings are used for representing corresponding waveform data or data files;

[0024] Data parsing module: used for establishing a data parser corresponding to each formula string in the operation rule according to the operation rule;

[0025] Data reading module: used for reading the waveform data or data file corresponding to each of the formula character strings according to the data parser, so that the formats of all the waveform data and / or data files read are aligned;

[0026] Data operation module: used for operating the waveform data and / or data file after format alignment according to the operation rules to obtain the waveform data after operation.

[0027] Furthermore, a reference judgment module is also included between the configuration receiving module and the data parsing module, which is used to establish a mapping relationship between the formula string corresponding to the data file in the operation rule formula string and the data file when judging that external data is referenced according to the formula string.

[0028] Furthermore, it also includes a data conversion module: used to detect whether it is necessary to perform format conversion on the waveform data after the operation, and when format conversion is required, store the waveform data after format conversion as a data file according to preset processing rules.

[0029] Furthermore, the detection of whether the calculated waveform data needs to be format converted is specifically as follows:

[0030] It is detected whether a conversion instruction for converting the format of the calculated waveform data is received.

[0031] In a fourth aspect, an embodiment of the present application provides an oscilloscope device supporting an external data source, including: a memory and one or more processors;

[0032] The memory is used to store one or more programs;

[0033] When the one or more programs are executed by the one or more processors, the one or more processors implement an oscillographic method supporting an external data source as described in the first aspect.

[0034] In a fifth aspect, an embodiment of the present application provides a storage medium comprising computer executable instructions, which, when executed by a computer processor, are used to execute an oscillographic method supporting an external data source as described in the first aspect.

[0035] The embodiment of the present application is provided with an acquisition circuit, a memory, a data parser, an operator and a converter. The acquisition circuit acquires waveform data of electrical signals of each channel. The memory stores the acquired waveform data and a data file formed by processing the waveform data according to preset processing rules. The data parser provides a reading interface corresponding to each waveform data or data file, and aligns the waveform data and / or data file according to preset data alignment rules. The operator obtains the corresponding waveform data and / or data file from the data parser according to the operation rules configured by the user to perform operations to obtain the waveform data after the operation. The converter processes the waveform data after the operation according to the preset processing rules to form a data file. The operation is not limited to the data operation acquired at the same time, and realizes alignment processing and mixed operation processing of the waveform data acquired this time and the waveform data acquired in the past, thereby eliminating the dependence of the data operation on the channel port. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 It is a structural schematic diagram of an oscilloscope supporting an external data source in the prior art;

[0037] Figure 2 It is a structural schematic diagram of an oscilloscope supporting an external data source provided in an embodiment of the present application;

[0038] Figure 3 is a flow chart of an oscillographic method supporting an external data source provided by an embodiment of the present application;

[0039] Figure 4 It is a structural schematic diagram of an oscilloscope device supporting an external data source provided in an embodiment of the present application;

[0040] Figure 5 It is a structural schematic diagram of an oscilloscope device supporting an external data source provided in an embodiment of the present application. DETAILED DESCRIPTION

[0041] In order to make the purpose, technical scheme and advantages of the present application clearer, the specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings. It is understood that the specific embodiments described herein are only used to explain the present application, rather than to limit the present application. It should also be noted that, for the convenience of description, only the part related to the present application but not all the contents are shown in the accompanying drawings. Before discussing the exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flow charts. Although the flow chart describes each operation (or step) as a sequential process, many of the operations therein can be implemented in parallel, concurrently or simultaneously. In addition, the order of each operation can be rearranged. The process can be terminated when its operation is completed, but it can also have additional steps not included in the accompanying drawings. The process can correspond to a method, a function, a procedure, a subroutine, a subprogram, etc.

[0042] The embodiment of the present application provides an oscilloscope, method, device, equipment and storage medium supporting external data sources. The embodiment of the present application sets an acquisition circuit, a memory, a data analyzer, an operator and a converter. The acquisition circuit acquires the waveform data of the electrical signal of each channel. The memory stores the acquired waveform data and the data file formed by processing the waveform data according to the preset processing rules. The data analyzer provides a reading interface corresponding to each waveform data or data file, and aligns the waveform data and / or data file according to the preset data alignment rules. The operator obtains the corresponding waveform data and / or data file from the data analyzer according to the operation rules configured by the user to perform operations to obtain the waveform data after the operation. The converter processes the waveform data after the operation according to the preset processing rules to form a data file, which is not limited to the data operation of the same acquisition, realizes the alignment processing and mixed operation processing of the waveform data acquired this time and the waveform data acquired in the past, and eliminates the dependence of the data operation on the channel port. 。

[0043] The following are detailed explanations respectively.

[0044] Figure 2 A schematic diagram of the structure of an oscilloscope supporting an external data source provided in an embodiment of the present application is given. In the system, the specific structural composition of the oscilloscope's mixed operation on waveform data is disclosed.

[0045] like Figure 2As shown, the oscilloscope supporting external data source includes an acquisition circuit 201, a memory, a data parser 202, an operator 203 and a converter 204. The acquisition circuit 201 and the data parser 202 are both connected to the memory, the operator 203 is connected to the data parser 202, and the converter 204 is connected to the operator 203.

[0046] In the above, the acquisition circuit 201 is a physical device commonly used in an oscilloscope for acquiring waveform data, and can continuously and synchronously acquire and record waveforms of multiple channels and multiple signals for a long time, such as voltage signals, current signals, frequency signals, temperature signals, etc. The acquired waveform data can be stored in a memory medium or other storage medium that can be read and written quickly. In an embodiment, the acquisition circuit 201 is used to acquire waveform data of electrical signals of each channel.

[0047] In the embodiment, the memory is used to store the collected waveform data and the data file formed by processing the waveform data according to the preset processing rules. As preferably, the memory may include a memory storage 205 and a disk storage 206, wherein the memory storage 205 is used to store the collected waveform data, and the disk storage 206 is used to store the data file formed by processing the waveform data according to the preset processing rules. The above-mentioned memory storage 1205 is a storage medium for storing the waveform data collected this time, wherein the stored content includes the collected raw data and the measurement values ​​statistically performed based on the raw data. The disk storage is a hard disk storage space on the oscilloscope device, which is used to store external calculation source files in the embodiment. Each data file stored therein can be regarded as an independent virtual channel. It is necessary to set the storage location and naming rules of the data file, and determine the number of virtual channels owned by the device and the calling method by file scanning.

[0048] The data parser 202 is used to provide a read interface corresponding to each waveform data or data file, and align the waveform data and / or data file according to the preset data alignment rules. The data file is the data processed in the system according to the previous waveform data according to the predetermined format requirements, for example, the data formed after the voltage waveform data collected by the same device last time is processed, and the data formed after the current waveform data collected by different devices last time is processed. That is, the source of the data file can be the waveform data collected by the same test device in different time periods, or the waveform data collected by different equipment instruments in other time periods, and the waveform data here has been converted into a file of a disk medium with description information. Each data source corresponds to a data parser 202, and a data source is the waveform data corresponding to a real channel or a virtual channel, that is, the waveform data collected this time or the data file stored in the disk storage 206.

[0049] The operator 203 is used to obtain the corresponding waveform data and / or data file from the data parser 202 according to the operation rules configured by the user to perform operations to obtain the waveform data after the operation. The operator 203 is the core of the data operation in the system. The operator 203 in the embodiment is different from the traditional operator in the traditional technology. The traditional operator does not connect to the disk storage and does not form a data file in the disk storage, so it directly reads the data storage device. However, the operator 103 in the embodiment does not directly read the storage, but indirectly obtains data through the data parser 202 to realize the mixed operation of real channel data and virtual file data.

[0050] The converter 204 of the embodiment is used to process the calculated waveform data according to the preset processing rules to form a data file. In the converter 204, the preset processing rules are pre-stored, and the numerical values ​​can be converted into a specific disk format according to the preset processing rules, and data description information is added to form a data file that can be read by the recorder.

[0051] The embodiment further includes a display 207 , which is connected to the operator 204 , and is used to display the waveform data after being operated by the operator 204 .

[0052] This embodiment introduces a disk file structure to replace the traditional technology of only calculating the current acquisition data or reading back and importing. The reading back and importing method cannot release the occupation of the physical channel port, and the two traditional methods are limited to only calculating the waveform data collected by the same type of products. This embodiment forms a single channel waveform data into an independent file, parses it in a file manner, and can be used as a virtual channel alone, eliminating the dependence of the operation on the channel, and realizing mixed data operation of different product equipment and multiple acquisition step-by-step operation.

[0053] Figure 3 A flowchart of an oscilloscope method supporting an external data source provided in an embodiment of the present application is given. The oscilloscope method supporting an external data source provided in an embodiment of the present application can be executed by an oscilloscope device supporting an external data source. The oscilloscope device supporting an external data source can be implemented by hardware and / or software and integrated in a computer device.

[0054] The following description is made by taking an oscilloscope device supporting an external data source to execute an oscilloscope method supporting an external data source as an example. Figure 3 , the oscillographic method supporting external data sources includes:

[0055] 301: Receive the operation rule input by the user.

[0056] In the above, the operation rule includes a formula string, and the formula string is used to represent the corresponding waveform data or data file.

[0057] In the embodiment, the operation rules are configured by the user, and in the oscilloscope, an operation interface for configuration is provided to the user. On the operation interface, the user can configure the parameters and other inputs involved in the entire process from collecting electrical signals to finally outputting the operation results. In the embodiment, the operation rules include at least an operation formula, and the operation formula can be one or more according to actual needs. Each operation formula includes a formula string and an operation logic. The formula string represents the waveform data of different actual channels or the data file of the virtual channel, and the operation logic is used to express the calculation logic between different formula strings. For example, the operation rule configured by the user is C1+V1, and the character C represents the corresponding actual channel, C1 represents the waveform data collected by the first actual channel, V represents the corresponding virtual channel, and V1 represents the data file corresponding to the first virtual channel. "+" corresponds to the operation logic, indicating that the waveform data collected by the first actual channel and the data file of the first virtual channel are added. The waveform data collected by the actual channel and the data file of the virtual channel are both used as data sources. Different formula strings are used to distinguish different data sources.

[0058] Preferably, after the user configures the operation rules, it can further determine whether to reference external data, that is, whether to reference the data file of the virtual channel. The data file of the virtual channel is also formed by converting the waveform data collected by the same device or different devices in the past into a specified format and used as an external data source. Since different formula strings are used to distinguish different data sources, it can be detected whether an external data source needs to be introduced based on the formula strings in the operation rules configured by the user. When it is determined that external data is referenced based on the formula string, a mapping relationship between the formula string and the data file is established for the formula string in the operation rule formula string corresponding to the data file, that is, the formula string corresponding to the virtual channel in the operation rule is mapped to the corresponding data file, such as V1 is mapped to the data file of the first virtual channel, and a mapping relationship for each external data source is established.

[0059] 302: Establishing a data parser corresponding to each formula character string in the operation rule according to the operation rule.

[0060] In the embodiment, the data parser provides a reading interface corresponding to each waveform data or data file, and aligns the waveform data and / or data file according to the preset data alignment rule. Exemplarily, the operation rule configured by the user corresponds to the operation formula C1+C2+V2+V3, then the data parsers corresponding to C1, C2, V2 and V3 are established, each data parser provides a unified external reading interface, the data parser corresponding to C1 will point to the waveform data of the first actual channel, the data parser corresponding to C2 will point to the waveform data of the second actual channel, the data parser corresponding to V2 will point to the data file corresponding to the second virtual channel, and the data parser corresponding to V3 will point to the data file corresponding to the third virtual channel.

[0061] 303: Reading the waveform data or data file corresponding to each of the formula character strings according to the data parser, so that the formats of all the read waveform data and / or data files are aligned.

[0062] In this step, each data parser established in step 302 is actually analyzed, and waveform data or data files are read from each data parser. Specifically, in this step, all data parsers are first traversed, so the alignment rules of the information corresponding to all data parsers are obtained. For example, C1 corresponds to waveform data with a sampling rate of 10kSa / s, and "V1" is a data file with a sampling rate of 50kSa / s. In order to achieve the correct waveform superposition operation on the time axis, "V1" adopts a reading method of 1-in-1, and "C1" adopts a reading method of 5-in-1. It can be simply regarded as that each point of "C1" will be copied into 5 identical points, aligned with "V1" in the same format. After processing in this step, the data read by the data parser has been aligned, and algorithm operations can be performed on this basis.

[0063] 304: Performing operations on the format-aligned waveform data and / or data file according to the operation rule to obtain waveform data after operation.

[0064] As preferably, step 305 may be further included, specifically, detecting whether it is necessary to perform format conversion on the waveform data after the operation, and when format conversion is required, storing the waveform data after format conversion as a data file according to the preset processing rules. In this step, it is detected whether a conversion instruction for format conversion of the waveform data after the operation is received. The conversion instruction can be input together in the operation interface provided when the user configures the operation rules, or it can be actively input by the user after the operation is completed. When there is a conversion instruction, the waveform data after the operation is converted and stored according to the preset processing rules. At this time, for example, the specific data corresponding to different virtual channels are also recorded for subsequent application. The corresponding waveform data after the operation is displayed through the display.

[0065] Figure 4 An oscilloscope device supporting an external data source provided by an embodiment of the present application is shown, including a configuration receiving module 401, a data parsing module 402, a data reading module 403 and a data calculation module 404, wherein the configuration receiving module 401 is used to receive a calculation rule input by a user, the calculation rule includes a formula string, and the formula string is used to represent the corresponding waveform data or data file; the data parsing module 402 is used to establish a data parser corresponding to each formula string in the calculation rule according to the calculation rule; the data reading module 403 is used to read the waveform data or data file corresponding to each formula string according to the data parser, so that the format of all the read waveform data and / or data files is aligned; the data calculation module 404 is used to calculate the waveform data and / or data file after the format is aligned according to the calculation rule to obtain the calculated waveform data.

[0066] In a preferred embodiment, a reference judgment module 4011 is also included between the configuration receiving module 401 and the data parsing module 402, which is used to establish a mapping relationship between the formula string corresponding to the data file in the operation rule formula string and the data file when judging that external data is referenced according to the formula string.

[0067] Furthermore, it also includes a data conversion module 405: used to detect whether it is necessary to perform format conversion on the waveform data after the operation, and when format conversion is required, store the waveform data after format conversion as a data file according to a preset processing rule. Wherein, detecting whether it is necessary to perform format conversion on the waveform data after the operation is specifically: detecting whether a conversion instruction for performing format conversion on the waveform data after the operation is received.

[0068] The technical effects that can be achieved by this embodiment are the same as those that can be achieved by the other embodiments described above, and will not be described in detail here.

[0069] like Figure 5 As shown, an embodiment of the present application also provides an oscilloscope device supporting an external data source, including: a memory 501 and one or more processors 502; the memory 501 is used to store one or more programs; when the one or more programs are executed by the one or more processors 502, the one or more processors implement the oscilloscope method supporting an external data source as described in the present application.

[0070] An embodiment of the present application also provides a storage medium containing computer executable instructions, which, when executed by a computer processor, are used to execute the oscillographic method supporting an external data source as provided in the above embodiment, and the oscillographic method supporting an external data source includes: receiving an operation rule input by a user, the operation rule including a formula string, and the formula string is used to represent the corresponding waveform data or data file; establishing a data parser corresponding to each formula string in the operation rule according to the operation rule; reading the waveform data or data file corresponding to each formula string according to the data parser, so that the format of all the read waveform data and / or data files is aligned; performing operations on the format-aligned waveform data and / or data files according to the operation rules to obtain the waveform data after operation.

[0071] Storage medium - any of various types of memory devices or storage devices. The term "storage medium" is intended to include: installation media, such as CD-ROM, floppy disk or tape device; computer system memory or random access memory, such as DRAM, DDR RAM, SRAM, EDO RAM, Rambus RAM, etc.; non-volatile memory, such as flash memory, magnetic media (such as hard disk or optical storage); registers or other similar types of memory elements, etc. Storage media may also include other types of memory or combinations thereof. In addition, the storage medium may be located in the first computer system in which the program is executed, or may be located in a different second computer system, which is connected to the first computer system via a network (such as the Internet). The second computer system can provide program instructions to the first computer for execution. The term "storage medium" may include two or more storage media that may reside in different locations (for example, in different computer systems connected by a network). The storage medium may store program instructions (for example, embodied as a computer program) that can be executed by one or more processors.

[0072] Of course, the storage medium containing computer executable instructions provided in the embodiments of the present application is not limited to the oscillographic method supporting an external data source as described above, and can also execute related operations in the oscillographic method supporting an external data source provided in any embodiment of the present application.

[0073] The oscilloscope apparatus, device and storage medium supporting external data sources provided in the above embodiments can execute the oscilloscope method supporting external data sources provided in any embodiment of the present application. For technical details not described in detail in the above embodiments, please refer to the oscilloscope method supporting external data sources provided in any embodiment of the present application.

[0074] The above are only preferred embodiments of the present application and the technical principles used. The present application is not limited to the specific embodiments described herein, and various obvious changes, readjustments and substitutions that can be made by those skilled in the art will not deviate from the scope of protection of the present application. Therefore, although the present application is described in more detail through the above embodiments, the present application is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present application, and the scope of the present application is determined by the scope of the claims.

Claims

1. An oscilloscope supporting an external data source, characterized in that: It includes an acquisition circuit, a memory, a data analyzer, an operator and a converter; the acquisition circuit and the data analyzer are both connected to the memory, the operator is connected to the data analyzer, and the converter is connected to the operator; The acquisition circuit is used to acquire waveform data of electrical signals of each channel, the memory is used to store the acquired waveform data and a data file formed by processing the waveform data according to a preset processing rule, wherein the memory includes a disk memory, the disk memory is used to store a data file formed by processing the waveform data according to a preset processing rule, and the data file is data processed according to a predetermined format requirement based on the waveform data, the data parser is used to provide a reading interface corresponding to each waveform data or data file, and align the waveform data and / or data file according to a preset data alignment rule, the operator is used to obtain the corresponding waveform data and / or data file from the data parser according to the operation rule configured by the user to perform an operation to obtain the waveform data after the operation, and the converter is used to process the waveform data after the operation according to the preset processing rule to form a data file, wherein one data source corresponds to one data parser, one data source is the waveform data corresponding to an actual channel or a virtual channel, and is also the waveform data acquired this time or the data file stored in the disk memory, and the data is indirectly acquired through the data parser to realize the mixed operation of the waveform data of the actual channel and the file data of the virtual channel.

2. The oscilloscope according to claim 1, characterized in that: The memory includes a memory storage, and the memory storage is used to store the collected waveform data.

3. The oscilloscope according to claim 1, characterized in that: It also includes a display, which is connected to the operator and is used to display the waveform data after the operation.

4. An oscillographic method supporting an external data source, characterized in that: include: Receive a calculation rule input by a user, the calculation rule includes a calculation formula, the calculation formula root includes one or more, each of the calculation formulas includes a formula string and a calculation logic, the formula string represents the waveform data of different actual channels or the data files of virtual channels, the calculation logic represents the calculation logic between different formula strings, the calculation rule is C1+V1, C represents the corresponding actual channel, C1 represents the waveform data collected by the first actual channel, V represents the corresponding virtual channel, V1 represents the data file corresponding to the first virtual channel, + is the calculation logic, indicating that the waveform data collected by the first actual channel and the data file of the first virtual channel are added; When it is determined that external data is referenced according to the formula string, a mapping relationship between the formula string and the data file is established for the formula string corresponding to the data file in the operation rule formula string; According to the operation rules, a data parser corresponding to each formula character string in the operation rules is established; Reading the waveform data or data file corresponding to each of the formula character strings according to the data parser, so that the formats of all the waveform data and / or data files read are aligned; The format-aligned waveform data and / or data file are operated according to the operation rules to obtain the operated waveform data.

5. The oscillographic method according to claim 4, characterized in that: After the waveform data and / or data file after format alignment is operated according to the operation rules to obtain the waveform data after operation, the method further includes: It is detected whether the waveform data after the operation needs to be format converted, and when format conversion is required, the waveform data after the format conversion is stored as a data file according to a preset processing rule.

6. The oscillographic method according to claim 5, characterized in that: The detecting whether the format of the waveform data after the operation needs to be converted is specifically: It is detected whether a conversion instruction for converting the format of the calculated waveform data is received.

7. An oscilloscope device supporting an external data source, characterized in that: include: A configuration receiving module is configured to receive a calculation rule input by a user, wherein the calculation rule includes a calculation formula, wherein the calculation formula root includes one or more, each of the calculation formulas includes a formula string and a calculation logic, wherein the formula string represents the waveform data of different actual channels or the data files of virtual channels, and the calculation logic represents the calculation logic between different formula strings, wherein the calculation rule is C1+V1, wherein C represents the corresponding actual channel, C1 represents the waveform data collected by the first actual channel, V represents the corresponding virtual channel, V1 represents the data file corresponding to the first virtual channel, and + represents the calculation logic, which represents the addition operation of the waveform data collected by the first actual channel and the data file of the first virtual channel; A reference judgment module, for establishing a mapping relationship between the formula string and the data file for the formula string corresponding to the data file in the operation rule formula string when judging that the external data is referenced according to the formula string; Data parsing module: used for establishing a data parser corresponding to each formula string in the operation rule according to the operation rule; Data reading module: used for reading the waveform data or data file corresponding to each of the formula character strings according to the data parser, so that the formats of all the waveform data and / or data files read are aligned; Data operation module: used for operating the waveform data and / or data file after format alignment according to the operation rules to obtain the waveform data after operation.

8. A computer device, characterized in that: include: memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the oscillographic method supporting an external data source as described in any one of claims 4-6.

9. A storage medium containing computer executable instructions, characterized in that: The computer executable instructions are used to execute the oscillographic method supporting an external data source as described in any one of claims 4 to 6 when executed by a computer processor.

Citation Information

Patent Citations

  • Time-frequency domain joint tester

    CN108761239A

  • Digital oscilloscope mathematical operation processing method based on inverse Polish algorithm

    CN111767004A