CN111948435A - Waveform display method and device based on digital oscilloscope - Google Patents

Waveform display method and device based on digital oscilloscope Download PDF

Info

Publication number
CN111948435A
CN111948435A CN202010794655.6A CN202010794655A CN111948435A CN 111948435 A CN111948435 A CN 111948435A CN 202010794655 A CN202010794655 A CN 202010794655A CN 111948435 A CN111948435 A CN 111948435A
Authority
CN
China
Prior art keywords
data group
data
read
time identifier
acquiring
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN202010794655.6A
Other languages
Chinese (zh)
Other versions
CN111948435B (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.)
Uni Trend Technology China Co Ltd
Original Assignee
Uni Trend Technology China 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 Uni Trend Technology China Co Ltd filed Critical Uni Trend Technology China Co Ltd
Priority to CN202010794655.6A priority Critical patent/CN111948435B/en
Publication of CN111948435A publication Critical patent/CN111948435A/en
Application granted granted Critical
Publication of CN111948435B publication Critical patent/CN111948435B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G01MEASURING; TESTING
    • G01RMEASURING ELECTRIC VARIABLES; MEASURING MAGNETIC VARIABLES
    • G01R13/00Arrangements for displaying electric variables or waveforms
    • G01R13/02Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form
    • G01R13/0209Arrangements for displaying electric variables or waveforms for displaying measured electric variables in digital form in numerical form

Abstract

The invention provides a waveform display method and a device based on a digital oscilloscope, which comprises the following steps: acquiring and storing a first data group and a first time identifier, wherein the first data group is a channel signal acquired according to acquisition parameters; acquiring and storing an operation instruction and a second time identifier, wherein the operation instruction is an instruction input into the oscilloscope by a first user through the operation component, and the timing starting point of the second time identifier is the same as that of the first time identifier; acquiring a read-back instruction, and acquiring read-back data according to the read-back instruction; the read-back data is the first data group and the operation instruction which are synchronously acquired based on the same timing starting point; and sending the read data back to the display component for display. According to the scheme, the waveform display and operation method of the oscilloscope is not required to be recorded by a third-party device, the waveform change and the operation instruction can be displayed by the display component of the existing oscilloscope at the same time, and the operation process can be corresponded to the waveform change and the measurement result change when a user reads back the oscilloscope conveniently.

Description

Waveform display method and device based on digital oscilloscope
Technical Field
The invention relates to the field of oscilloscopes, in particular to a waveform display method and device based on a digital oscilloscope.
Background
Signals in nature are transient signals which are changed instantly mostly, signals which meet triggering conditions can be captured by adopting the triggering function of the oscilloscope, and some important signals also need to be stored and further observed and analyzed. Therefore, waveform storage, recording and readback are important functions of the digital oscilloscope.
In a conventional oscilloscope, an acquired waveform is usually stored in a certain format, and when needing to be read back, the stored waveform is read back, that is, the stored waveform is seen in an interface of the oscilloscope. However, when the above scheme is adopted, only the waveform can be recorded independently, and how the waveform changes operate cannot be known. At present, only equipment with a video recording function, such as a video camera or a mobile phone, can be used for recording the whole operation process and the display result from the perspective of a third party so as to form a video file.
However, the above method is complicated to operate, and the shooting can be realized only by using external equipment with a camera shooting function, and a shooting scene needs to be built, so that inconvenience is undoubtedly brought to users.
Disclosure of Invention
In view of the above problem that the recording operation process is complicated by using an oscilloscope with a video recording function, the present invention is proposed to provide a waveform display method and apparatus based on a digital oscilloscope, which overcome the above problem or at least partially solve the above problem.
According to an aspect of the present invention, there is provided a waveform display method based on a digital oscilloscope, applied to an oscilloscope, the oscilloscope having an operation component and a display component, the method comprising:
acquiring and storing a first data group and a first time identifier, wherein the first data group is a channel signal acquired according to acquisition parameters, and the first time identifier is a relative moment when the first data group is generated;
acquiring and storing an operation instruction and a second time identifier, wherein the operation instruction is an instruction input into the oscilloscope by a first user through the operation component, the second time identifier is a relative moment when the operation instruction is generated, and the timing starting point of the second time identifier is the same as that of the first time identifier;
acquiring a read-back instruction, and acquiring read-back data according to the read-back instruction, wherein the read-back data are the first data group and the operation instruction which are synchronously acquired based on the same timing starting point;
and sending the read-back data to the display component for displaying.
Preferably, the acquiring and storing the first data group and the first time identifier specifically includes:
acquiring the acquisition parameters;
acquiring and storing a first data group and a first time identifier after acquiring the channel signal according to the acquisition parameters;
wherein the acquisition parameters include at least one of: time base, vertical gear and trigger conditions.
Preferably, after the operation instruction is obtained, the method further includes:
and processing data in the first data group according to the operation instruction to obtain a second data group and the first time identifier, wherein the second data group corresponds to the first time identifier one to one.
Preferably, after acquiring the first data set and the first time identifier, the method further includes:
and after image processing is carried out on the data in the first data group, a third data group is obtained and stored, and the corresponding relation between the third data group and the first time identifier is established.
Preferably, the obtaining of the read-back data according to the read-back instruction specifically includes:
acquiring the first data group and the corresponding first time identifier;
judging whether the second time identifier which is the same as the first time identifier exists or not;
if so, acquiring an operation instruction corresponding to the second time identifier;
and obtaining read-back data, wherein the read-back data comprises the first data group and an operation instruction.
According to another aspect of the present invention, there is provided a waveform display apparatus based on a digital oscilloscope, applied to an oscilloscope, the oscilloscope having an operation component and a display component, the apparatus comprising:
the device comprises a first acquisition unit, a second acquisition unit and a first time identification, wherein the first acquisition unit is used for acquiring and storing a first data group and the first time identification, the first data group is a channel signal acquired according to acquisition parameters, and the first time identification is the relative moment when the first data group is generated;
the second acquisition unit is used for acquiring and storing an operation instruction and a second time identifier, wherein the operation instruction is an instruction input into the oscilloscope by a first user through the operation component, the second time identifier is a relative moment when the operation instruction is generated, and the second time identifier is the same as a timing starting point of the first time identifier;
the third acquisition unit is used for acquiring a read-back instruction and acquiring read-back data according to the read-back instruction, wherein the read-back data are the first data group and the operation instruction which are synchronously acquired based on the same timing starting point;
and the sending unit is used for sending the read-back data to the display component for displaying.
Preferably, the apparatus further comprises:
the fourth acquisition unit is used for acquiring acquisition parameters;
the first processing unit is used for acquiring the channel signals according to the acquisition parameters and then obtaining and storing a first data group and a first time identifier;
wherein the acquisition parameters include at least one of: time base, vertical gear and trigger conditions.
Preferably, the apparatus further comprises:
and the fifth obtaining unit is used for obtaining a second data group and the first time identifier after processing the data in the first data group according to the operation instruction, wherein the second data group corresponds to the first time identifier one to one.
Preferably, the apparatus further comprises:
and the second processing unit is used for acquiring and storing a third data group after image processing is carried out on the data in the first data group, and establishing the corresponding relation between the third data group and the first time identifier.
Preferably, the apparatus further comprises:
a sixth obtaining unit, configured to obtain the first data group and the corresponding first time identifier;
the judging unit is used for judging whether the second time identifier which is the same as the first time identifier exists or not;
a seventh obtaining unit, configured to obtain, if yes, an operation instruction corresponding to the second time identifier;
and the eighth acquisition unit is used for acquiring read-back data, and the read-back data comprises the first data group and an operation instruction.
Based on the waveform display method and the waveform display device in the scheme of the invention, the waveform display and operation method of the oscilloscope is not required to be recorded by a third-party device, the waveform change and the operation instruction can be simultaneously displayed by a display component of the existing oscilloscope directly, so that a user can conveniently correspond the operation process with the change of the waveform and the measurement result when reading back, and the operation process of the oscilloscope can be more clearly reflected when demonstrating.
The foregoing description is only an overview of the technical solutions of the present invention, and the embodiments of the present invention are described below in order to make the technical means of the present invention more clearly understood and to make the above and other objects, features, and advantages of the present invention more clearly understandable.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and for those skilled in the art, other drawings may be obtained according to these drawings without creative efforts.
FIG. 1 is a schematic structural diagram of an oscilloscope according to an embodiment of the present invention;
FIG. 2 is a flow chart of a waveform display method based on a digital oscilloscope according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating a method for retrieving read-back data according to a read-back command according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a waveform display apparatus based on a digital oscilloscope in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, 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 invention.
The embodiment of the invention provides a waveform display method based on a digital oscilloscope, which is applied to an oscilloscope, and as shown in figure 1, the oscilloscope is provided with an operation component 50 and a display component 60. Specifically, the operation component 50 of the oscilloscope may be in the form of a key component, a touch component, a knob component, or the like. The display component 60 is a display screen of the oscilloscope, and the display screen has a display interface, and can display a menu, background colors of a waveform area, grids and the like besides displaying waveforms, so that the display interface is not only influenced by waveform transformation, but also influenced by menu states, menu background color settings, grid settings and the like. The oscilloscope comprises an ADC 10 for acquiring channel signals and an FPGA 20 for adjusting the sampling rate of the ADC 10 and driving the ADC 10 to sample, wherein the FPGA 20 stores sampling data at a certain depth according to the setting of the oscilloscope after receiving the sampling data and contains all the sampling data at a specific sampling rate within a waveform time, and the specific structure of the oscilloscope is shown in figure 1. The FPGA 20 then passes the stored sample data to the DSP 30 on a frame-by-frame basis. After the DSP 30 finishes measuring the sampling data, the measurement data is transmitted to the FPGA 20, then the FPGA 20 directly stores the measurement data into the SDRAM 40, and then the FPGA 20 reads the stored measurement data according to the specification of the display module 60 and transmits the measurement data to the display module 60.
In an embodiment of the present invention, a waveform display method based on a digital oscilloscope is applied to an oscilloscope, the oscilloscope has an operation component and a display component, and as shown in fig. 2, the method includes:
step 201, acquiring and storing a first data group and a first time identifier, wherein the first data group is a channel signal acquired according to an acquisition parameter, and the first time identifier is a relative moment when the first data group is generated;
step 202, acquiring and storing an operation instruction and a second time identifier, wherein the operation instruction is an instruction of a first user inputting the oscilloscope through the operation component, the second time identifier is a relative moment when the operation instruction is generated, and the timing starting point of the second time identifier is the same as the timing starting point of the first time identifier;
step 203, obtaining a read-back instruction, and obtaining read-back data according to the read-back instruction, where the read-back data is the first data group and the operation instruction synchronously obtained based on the same timing starting point;
and step 204, sending the read-back data to the display component for displaying.
Based on the waveform display method of the embodiment of the invention, the waveform display and operation method of the oscilloscope does not need to be recorded by a third-party device, the waveform change and the operation instruction can be displayed by the display component of the existing oscilloscope at the same time, the operation process can be corresponded to the change of the waveform and the measurement result when a user reads back conveniently, and the operation process of the oscilloscope can be reflected more clearly when the demonstration is carried out.
In a use scenario provided by the embodiment of the invention, when a video for demonstrating functions and a use method of an oscilloscope is recorded while being displayed in a display component of the oscilloscope, waveform data is acquired through the scheme. Specifically, a group of first data groups represents all waveform data included in one frame of image on the oscilloscope interface, and therefore, the waveform data is represented in the form of a group of first data groups. On one hand, after receiving the trigger instruction, the FPGA sends a group of stored first data groups to the DSP, the DSP measures the group of first data groups first and then transmits the data to the FPGA to be input to the display component through the FPGA for displaying, so that the oscilloscope can still be normally used in the whole recording process, and the displayed waveform corresponds to a channel signal input into an oscilloscope channel. On the other hand, in step 201, after the DSP measures the set of first data sets, the DSP directly stores the measured set of first data sets, and also stores the first time stamp of the set of first data sets. Specifically, the various time identifiers described in the embodiments of the present invention are relative, that is, a certain time is used as a timing starting point. For example, in the embodiment of the present invention, the recording start time is used as the timing start point, and the time identifier of the recording start time is marked as 0. The time identification after 1 unit time is 1, the time identification after 1 unit time is 2, and so on, wherein the unit time can be set according to the requirement. Thus, when the relative time at which the first data set is generated is N, meaning that the relative time has elapsed N units of time from the start of the timekeeping, then the first time stamp is N, and the first data set and the relative first time stamp are saved for subsequent readback purposes.
In the embodiment of the invention, in order to clearly display the operation process of the oscilloscope, the method also needs to store the operation instruction, so that the operation instruction and the waveform data can be conveniently and synchronously displayed. In a specific scheme, after the DSP in the oscilloscope receives the operation instruction in step 202, the DSP stores the operation instruction, and a second time identifier corresponding to the operation instruction needs to be stored. The second time mark has a timing start point identical to the first time mark, which is a recording start time in this embodiment. Therefore, the operation command is based on the same timing starting point as the first data group, which means that if the first time identifier and the second time identifier corresponding to a certain point on the same time axis are the same, the effect of synchronous read-back can be achieved during read-back.
When the waveform and the operation need to be read back, as shown in step 203, a read-back instruction needs to be acquired first, and corresponding display is performed as described in step 204 only after data is acquired according to the read-back instruction. Specifically, the stored first data group and the stored operation instruction are read back simultaneously according to the read-back instruction, and the first data group and the operation instruction are read and displayed simultaneously based on the same timing starting point, so that the corresponding relation between the first time identifier and the second time identifier can be established in the time coordinate axis, and the effect of synchronously reading back the waveform and the operation instruction is realized from the perspective of the display component.
In a preferred embodiment, the read-back instruction is acquired and the read-back time is acquired at the same time, so that the display is performed according to the read-back time during the display. Specifically, the read-back time is different from the recording time identifier. The read-back time is 0, the read-back time is increased by 1 every 1 unit time, and when the read-back time is equal to the maximum recorded time, the read-back time is reset to 0. Wherein, 1 unit time during the read-back process can be the same as or different from 1 unit time in the recording process. For example, if the read-back speed is 2 times of the recording speed, 1 unit time of the read-back link is set to be equal to 1/2 of 1 unit of the recording link, so the read-back speed can be adjusted according to the read-back time without being limited by the recording time length. For example, when the waveform changes faster, the time duration of the read-back link per unit time can be increased in order to clearly see the waveform changes and the operation instructions.
In the waveform display method based on the digital oscilloscope according to the embodiment of the present invention, preferably, the acquiring and storing the first data group and the first time identifier specifically includes:
acquiring the acquisition parameters; wherein the acquisition parameters include at least one of: the method comprises the steps that a time base, a vertical gear and a trigger condition are set by an FPGA, the ADC sampling rate can be determined by setting the time base, an acquired channel signal can be sent to a DSP for measurement after the trigger condition is met, then a first data group obtained after measurement and a first time identifier corresponding to the first data group are stored, namely the first data group and the first time identifier are obtained and stored after the channel signal is acquired according to acquisition parameters. The trigger conditions may specifically include: the trigger type, the trigger mode, the trigger level, the trigger channel, the open channel, etc. are not limited to the embodiments of the present invention.
In the waveform display method based on the digital oscilloscope according to the embodiment of the present invention, preferably, the method further includes, after obtaining the operation instruction:
processing data in the first data group according to the operation instruction to obtain a second data group and the first time identifier, wherein the second data group corresponds to the first time identifier one to one; and the second data group is obtained after the data in the first data group are processed according to the operation instruction. In this embodiment, the first time identifier corresponding to the second data group is still obtained at the same time, and the first time identifier is a relative time when the second data group is generated, so that the second data group and the first time identifier are in one-to-one correspondence.
In another embodiment of the present invention, the displayed waveform is also responsive to oscilloscope operating instructions throughout the recording process. Specifically, if the second data group and the first time identifier corresponding to the second data group are obtained, it means that after the read-back instruction is obtained, the read-back data is obtained according to the read-back instruction, where the read-back data is the second data group and the operation instruction which are obtained synchronously based on the same timing starting point, and the second data group is also displayed when the redisplay component displays the second data group. In other words, in this implementation scenario, after the acquired data is processed according to the operation instruction, the second data group and the first time identifier are obtained, that is, the DSP changes parameters according to the input of the operation instruction, and if the changed parameters are related to the FPGA processing data, for example, a time base or a trigger condition is changed, the FPGA is configured newly, that is, new processing parameters are obtained according to the new parameters so that the FPGA operates according to the new processing parameters, and meanwhile, data transmitted by the FPGA that is received later is processed by the new parameters, so as to synchronously implement the functions of displaying and recording.
In another different implementation scenario of the present invention, preferably, after acquiring the first data set and the first time stamp, the method further includes:
acquiring and storing a third data group after image processing is carried out on the data in the first data group, and establishing a corresponding relation between the third data group and the first time identifier; specifically, the image processing includes interpolation processing or compression processing, and different processing modes are different according to different pixels in the horizontal direction of the screen. For example, when the screen is 700 pixels in the horizontal direction, if the number of waveform data of one frame transmitted by the FPGA is less than 700, image processing for interpolation is required; if more than 700 waveform data are transmitted in one frame, compressed image processing is required. The set of data obtained after processing is even the third data set which can be fully reflected on the screen. The data set is stored by the DSP, and a corresponding first time stamp is also stored.
And when reading back, the third data group and the operation instruction which are stored are synchronously read based on the same timing starting point according to the read-back data acquired by the read-back instruction. The process of reading back the third data set after image processing is basically the same as the process of reading back the first data set, so that the process of reading back the first data set can be referred to.
In a preferred embodiment, a third data group may also be obtained and stored after image processing is performed on the data in the second data group, and a corresponding relationship between the third data group and the first time identifier is established; the processing procedure is similar to the above embodiments, and is not described herein again.
In a preferred embodiment, after the readback data is acquired, the nth group of first data group/second data group/third data group and the mth operation instruction for display at the current time are respectively determined, then an overall interface is formed by combining the settings of the oscilloscope and then transmitted to the FPGA, the FPGA reads the data and the instructions according to the display specification of the display component and then displays the data and the instructions, and the operation is repeated continuously. The oscilloscope settings may include, for example: menu ground color setting, grid setting, and the like.
In the waveform display method based on the digital oscilloscope according to the embodiment of the present invention, preferably, the obtaining of the read-back data according to the read-back instruction specifically includes:
acquiring the first data group and the first time identifier; first, a first data set, that is, all waveform data included in a frame of picture and a first time identifier corresponding to the first data set, is obtained.
Judging whether the second time identifier which is the same as the first time identifier exists or not; for example, the first time stamp is 1, i.e., the length of the first time stamp is 1 unit time from the beginning of the timing.
If so, acquiring an operation instruction corresponding to the second time identifier; specifically, if there is a second time stamp also 1, it means that the first time stamp corresponding to the group of first data sets corresponds to the operation instruction, and the operation instruction is also displayed while the group of first data sets is displayed.
And obtaining read-back data, wherein the read-back data comprises the first data group and an operation instruction. In this way, the formed interface not only reflects the waveform corresponding to the first data group, but also simultaneously displays the operation corresponding to the operation command, and the operation can be expressed by a text description mode or displayed in an analog manner in an image form such as a key or a knob.
In another implementation scenario of the present invention, if there is no second time identifier that is the same as the first time identifier, which means that the time corresponding to the first time identifier is not corresponding to the operation instruction, it is determined whether the previous group of display including the operation instruction readback data is finished. If so, continuing to display a first data group protected by a group of read-back data and an operation instruction on the interface; otherwise, only the first data group of the group is displayed, no operation instruction needs to be displayed at the moment, and the phenomenon that the experience of a user is influenced due to too short display of the operation instruction is avoided.
Specifically, the obtaining method of this embodiment is further described in detail by taking the obtaining of the first data group and the first time identifier as an example, and please refer to fig. 3 for the same way of reading back the operation instruction.
Step 301, judging whether the read-back position stores the first data group of the 1 st group. The 1 st data set implies the beginning of the waveform read back.
If the position of the current read-back stores the 1 st group of the first data group, step 302 is entered, and whether the first data group which is not read-back exists before the current read-back is judged;
if the first data group which is not read back is still existed before the current read back in the judgment of the step 302, entering a step 303, and acquiring the first data group which is not read back and a first time identifier corresponding to the first data group;
then step 304 is entered to determine whether the current read-back time is greater than or equal to the first time identifier corresponding to the first data group; if yes, go to step 305, determine that the required first data set is the first data set read back this time, and the position of the next read back becomes the next position. The current read-back time and the first time identifier have the same timing starting point, which is the start of read-back in this embodiment.
If the current read-back time is less than the first time identifier corresponding to the group of first data groups, step 306 is entered, and it is determined that the first data group required for the read-back position is empty, at this time, no waveform is displayed after the read-back, and the read-back position of the next time still maintains the current read-back position.
If there is no unreread first data set before the current read-back in the determination of step 302, step 306 is entered, and it is determined that the required first data set at the read-back position is empty. Therefore, no waveform can be recorded during recording, namely, the required first data group is empty, no waveform is displayed after readback, and the next readback position still maintains the current readback position.
If the position of the current read-back is not stored in the first data group of the 1 st group in the determination of the step 301, entering a step 307, and determining whether there is no unread first data group before the current read-back;
if the determination result is that the first data group which is not read back still exists before the current read back, step 308 is entered, and the first data group which is not read back and the corresponding first time identifier are read back;
step 309, judging whether the current read-back time is greater than or equal to the first time identifier, wherein the current read-back time and the first time identifier have the same timing starting point;
if the current read-back time is greater than or equal to the first time stamp, step 305 is performed to determine that the required first data set is the first data set read-back this time, and the position of the next read-back becomes the next position.
If the current read-back time is less than the first time stamp, step 310 is performed to determine that the required first data set is the first data set read back last time, the waveform remains unchanged, and the position read back next time remains the position read back now.
If the determination result in the step 307 is yes, that is, there is no unread first data set before the current read-back, then step 311 is entered to determine whether the current read-back time has been reset to 0;
when the current read-back time is not reset to 0, it means that the read-back process has not ended, but there is no unread first data set, so step 310 is entered to confirm that the required first data set is the first data set read back last time, i.e. the first data set read back last time, and the waveform is shown to remain unchanged.
When the current read-back time has been reset to 0, step 312 is entered to start the read-back from the first data group of the first group again.
When the operation instruction is read back, the operation instruction is also performed according to the same scheme, and the description is omitted here.
The method of the embodiment of the invention provides a new oscilloscope function, namely, the oscilloscope can record the operation steps and the corresponding time points, and the operation process can be in one-to-one correspondence with the changes of the waveform and the measurement result during the read-back, thereby being convenient for users.
The embodiment of the present invention further provides a waveform display apparatus based on a digital oscilloscope, which is applied to an oscilloscope, wherein the oscilloscope has an operation component and a display component, and as shown in fig. 4, the apparatus includes:
a first obtaining unit 401, configured to obtain and store a first data group and a first time identifier, where the first data group is a channel signal obtained according to an acquisition parameter, and the first time identifier is a relative time when the first data group is generated;
a second obtaining unit 402, configured to obtain and store an operation instruction and a second time identifier, where the operation instruction is an instruction input by a first user to the oscilloscope through the operation component, the second time identifier is a relative time when the operation instruction is generated, and the second time identifier is the same as a timing starting point of the first time identifier;
a third obtaining unit 403, configured to obtain a read-back instruction, and obtain read-back data according to the read-back instruction, where the read-back data is the first data group and the operation instruction that are obtained synchronously based on the same timing starting point;
a sending unit 404, configured to send the read-back data to the display component for displaying.
In the above embodiment, a waveform display apparatus based on a digital oscilloscope, preferably, the apparatus further includes:
the fourth acquisition unit is used for acquiring acquisition parameters;
the first processing unit is used for acquiring the channel signals according to the acquisition parameters and then obtaining and storing a first data group and a first time identifier;
wherein the acquisition parameters include at least one of: time base, vertical gear and trigger conditions.
In the above embodiment, a waveform display apparatus based on a digital oscilloscope, preferably, the apparatus further includes:
and a fifth obtaining unit, configured to obtain a second data group and the first time identifier after processing the data in the first data according to the operation instruction, where the second data group corresponds to the first time identifier one to one.
In the above embodiment, a waveform display apparatus based on a digital oscilloscope, preferably, the apparatus further includes:
and the second processing unit is used for acquiring and storing a third data group after image processing is carried out on the data in the first data group, and establishing the corresponding relation between the third data group and the first time identifier.
In the above embodiment, a waveform display apparatus based on a digital oscilloscope, preferably, the apparatus further includes:
a sixth obtaining unit, configured to obtain the first data group and the corresponding first time identifier;
the judging unit is used for judging whether the second time identifier which is the same as the first time identifier exists or not;
a seventh obtaining unit, configured to obtain, if yes, an operation instruction corresponding to the second time identifier;
and the eighth acquisition unit is used for acquiring read-back data, and the read-back data comprises the first data group and an operation instruction.
In summary, the waveform display method and apparatus based on the digital oscilloscope provided by the embodiment of the present invention have the following technical effects:
firstly, when the functions and the use method of the oscilloscope are required to be demonstrated by recording videos, a camera is not required, and a shooting scene is not required to be built, so that the novel functions provided by the invention can achieve better effects and are more convenient to use.
Second, for the case where a person unfamiliar with the use of the scene only sees the recorded waveform and is likely to not know how to operate the oscilloscope to reproduce the recorded waveform, the problem can be solved if the oscilloscope has the function proposed by the present invention.
It should be understood that, in various embodiments of the present invention, the sequence numbers of the above-mentioned processes do not mean the execution sequence, and the execution sequence of each process should be determined by its function and inherent logic, and should not constitute any limitation on the implementation process of the embodiments of the present invention.
It should also be understood that, in the embodiment of the present invention, the term "and/or" is only one kind of association relation describing an associated object, and means that three kinds of relations may exist. For example, a and/or B, may represent: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may also be an electric, mechanical or other form of connection.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment of the present invention.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention essentially or partially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
The principle and the implementation mode of the invention are explained by applying specific embodiments in the invention, and the description of the embodiments is only used for helping to understand the method and the core idea of the invention; meanwhile, for a person skilled in the art, according to the idea of the present invention, there may be variations in the specific embodiments and the application scope, and in summary, the content of the present specification should not be construed as a limitation to the present invention.

Claims (10)

1. A waveform display method based on a digital oscilloscope is applied to the oscilloscope, the oscilloscope is provided with an operation component and a display component, and the method is characterized by comprising the following steps:
acquiring and storing a first data group and a first time identifier, wherein the first data group is a channel signal acquired according to acquisition parameters, and the first time identifier is a relative moment when the first data group is generated;
acquiring and storing an operation instruction and a second time identifier, wherein the operation instruction is an instruction input into the oscilloscope by a first user through the operation component, the second time identifier is a relative moment when the operation instruction is generated, and the timing starting point of the second time identifier is the same as that of the first time identifier;
acquiring a read-back instruction, and acquiring read-back data according to the read-back instruction, wherein the read-back data are the first data group and the operation instruction which are synchronously acquired based on the same timing starting point;
and sending the read-back data to the display component for displaying.
2. The digital oscilloscope-based waveform display method according to claim 1, wherein the acquiring and storing the first data group and the first time stamp specifically comprises:
acquiring the acquisition parameters;
acquiring and storing a first data group and a first time identifier after acquiring the channel signal according to the acquisition parameters;
wherein the acquisition parameters include at least one of: time base, vertical gear and trigger conditions.
3. The digital oscilloscope-based waveform display method according to claim 2, wherein after obtaining the operation instruction, the method further comprises:
and processing data in the first data group according to the operation instruction to obtain a second data group and the first time identifier, wherein the second data group corresponds to the first time identifier one to one.
4. The digital oscilloscope-based waveform display method according to claim 1, wherein after acquiring the first data set and the first time stamp, the method further comprises:
and after image processing is carried out on the data in the first data group, a third data group is obtained and stored, and the corresponding relation between the third data group and the first time identifier is established.
5. The waveform display method based on the digital oscilloscope according to claim 1, wherein the obtaining of the read-back data according to the read-back instruction specifically comprises:
acquiring the first data group and the corresponding first time identifier;
judging whether the second time identifier which is the same as the first time identifier exists or not;
if so, acquiring an operation instruction corresponding to the second time identifier;
and obtaining read-back data, wherein the read-back data comprises the first data group and an operation instruction.
6. A waveform display device based on a digital oscilloscope is applied to the oscilloscope, the oscilloscope is provided with an operation component and a display component, and the waveform display device is characterized by comprising:
the device comprises a first acquisition unit, a second acquisition unit and a first time identification, wherein the first acquisition unit is used for acquiring and storing a first data group and the first time identification, the first data group is a channel signal acquired according to acquisition parameters, and the first time identification is the relative moment when the first data group is generated;
the second acquisition unit is used for acquiring and storing an operation instruction and a second time identifier, wherein the operation instruction is an instruction input into the oscilloscope by a first user through the operation component, the second time identifier is a relative moment when the operation instruction is generated, and the second time identifier is the same as a timing starting point of the first time identifier;
the third acquisition unit is used for acquiring a read-back instruction and acquiring read-back data according to the read-back instruction, wherein the read-back data are the first data group and the operation instruction which are synchronously acquired based on the same timing starting point;
and the sending unit is used for sending the read-back data to the display component for displaying.
7. The digital oscilloscope-based waveform demonstration apparatus according to claim 6 further comprising:
the fourth acquisition unit is used for acquiring acquisition parameters;
the first processing unit is used for acquiring the channel signals according to the acquisition parameters and then obtaining and storing a first data group and a first time identifier;
wherein the acquisition parameters include at least one of: time base, vertical gear and trigger conditions.
8. The digital oscilloscope-based waveform demonstration apparatus according to claim 7 further comprising:
and the fifth obtaining unit is used for obtaining a second data group and the first time identifier after processing the data in the first data group according to the operation instruction, wherein the second data group corresponds to the first time identifier one to one.
9. The digital oscilloscope-based waveform demonstration apparatus according to claim 6 further comprising:
and the second processing unit is used for acquiring and storing a third data group after image processing is carried out on the data in the first data group, and establishing the corresponding relation between the third data group and the first time identifier.
10. The digital oscilloscope-based waveform demonstration apparatus according to claim 6 further comprising:
a sixth obtaining unit, configured to obtain the first data group and the corresponding first time identifier;
the judging unit is used for judging whether the second time identifier which is the same as the first time identifier exists or not;
a seventh obtaining unit, configured to obtain, if yes, an operation instruction corresponding to the second time identifier;
and the eighth acquisition unit is used for acquiring read-back data, and the read-back data comprises the first data group and an operation instruction.
CN202010794655.6A 2020-08-10 2020-08-10 Waveform display method and device based on digital oscilloscope Active CN111948435B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010794655.6A CN111948435B (en) 2020-08-10 2020-08-10 Waveform display method and device based on digital oscilloscope

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010794655.6A CN111948435B (en) 2020-08-10 2020-08-10 Waveform display method and device based on digital oscilloscope

Publications (2)

Publication Number Publication Date
CN111948435A true CN111948435A (en) 2020-11-17
CN111948435B CN111948435B (en) 2022-09-13

Family

ID=73332775

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010794655.6A Active CN111948435B (en) 2020-08-10 2020-08-10 Waveform display method and device based on digital oscilloscope

Country Status (1)

Country Link
CN (1) CN111948435B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113219303A (en) * 2021-05-12 2021-08-06 广西大学 Extraction method of single-phase earth fault data of small current grounding system
CN115290971A (en) * 2022-09-29 2022-11-04 天津安力信通讯科技有限公司 Spectrum waveform synchronization method and system based on multiple spectrum analysis devices

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03233497A (en) * 1990-02-08 1991-10-17 Yokogawa Electric Corp Waveform measuring instrument
CN1459636A (en) * 2002-05-22 2003-12-03 特克特朗尼克公司 Double time base device for oscillograph
JP2009092482A (en) * 2007-10-05 2009-04-30 Yokogawa Electric Corp Oscilloscope
US20100063760A1 (en) * 2008-09-08 2010-03-11 Tektronix, Inc. Method of processing waveform data from one or more channels using a test and measurement instrument
CN103149402A (en) * 2011-12-07 2013-06-12 北京普源精电科技有限公司 Oscilloscope with functions of recording and replaying wave forms
CN204903615U (en) * 2015-06-23 2015-12-23 边悦庆 But monitor oscilloscope
WO2016107355A1 (en) * 2014-12-31 2016-07-07 深圳高宜电子科技有限公司 Method and device for accessing data collected by digital oscilloscope, and digital oscilloscope
CN108776249A (en) * 2018-06-26 2018-11-09 电子科技大学 Electrographic recording instrument with dual seizure function

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH03233497A (en) * 1990-02-08 1991-10-17 Yokogawa Electric Corp Waveform measuring instrument
CN1459636A (en) * 2002-05-22 2003-12-03 特克特朗尼克公司 Double time base device for oscillograph
JP2009092482A (en) * 2007-10-05 2009-04-30 Yokogawa Electric Corp Oscilloscope
US20100063760A1 (en) * 2008-09-08 2010-03-11 Tektronix, Inc. Method of processing waveform data from one or more channels using a test and measurement instrument
CN103149402A (en) * 2011-12-07 2013-06-12 北京普源精电科技有限公司 Oscilloscope with functions of recording and replaying wave forms
WO2016107355A1 (en) * 2014-12-31 2016-07-07 深圳高宜电子科技有限公司 Method and device for accessing data collected by digital oscilloscope, and digital oscilloscope
CN204903615U (en) * 2015-06-23 2015-12-23 边悦庆 But monitor oscilloscope
CN108776249A (en) * 2018-06-26 2018-11-09 电子科技大学 Electrographic recording instrument with dual seizure function

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113219303A (en) * 2021-05-12 2021-08-06 广西大学 Extraction method of single-phase earth fault data of small current grounding system
CN113219303B (en) * 2021-05-12 2023-06-23 广西大学 Extraction method of single-phase grounding fault data of small-current grounding system
CN115290971A (en) * 2022-09-29 2022-11-04 天津安力信通讯科技有限公司 Spectrum waveform synchronization method and system based on multiple spectrum analysis devices

Also Published As

Publication number Publication date
CN111948435B (en) 2022-09-13

Similar Documents

Publication Publication Date Title
CN111948435B (en) Waveform display method and device based on digital oscilloscope
US6525525B1 (en) Oscilloscope with simplified setup procedure, and procedure for setting up oscilloscope
CN101410718B (en) No dead time data acquisition
EP2098874A2 (en) Pre-trigger and post-trigger acquisition for no dead time acquisition system
CA2403270A1 (en) Digital video system using networked cameras
EP2549733A1 (en) Method and apparatus for recording and reproducing an additional information signal
CN108173742A (en) A kind of image processing method, device
CN201467383U (en) Video frequency frame rate tester
CN110335590B (en) Voice recognition test method, device and system
CN112188259B (en) Method and device for audio and video synchronization test and correction and electronic equipment
CN111948433B (en) Waveform display method and device based on digital oscilloscope
CN105323624B (en) A kind of methods, devices and systems of recorded video
CN112069333B (en) Method for sharing handwriting writing content
CN109104608B (en) Television performance test method, equipment and computer readable storage medium
CN107241635B (en) Bullet screen position switching method and device
CN112783707A (en) Method and system for measuring click response time of touch screen
CN105718363B (en) Mobile phone response starting time point acquisition methods and device
CN111948434B (en) Waveform display method and device based on digital oscilloscope
CN107332914B (en) Terminal display method and device
US10423378B2 (en) Display processing apparatus and method, and storage medium
CN109600571B (en) Multimedia resource transmission test system and multimedia resource transmission test method
JP2004258032A (en) Measuring instrument and method used therefor
KR101181977B1 (en) Method for monitor capture of a measuring instrument
CN110865911B (en) Image testing method, device, storage medium, image acquisition card and upper computer
CN113055749A (en) Resolution automatic switching system based on 5G transmission video

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