1. Technical Field
Embodiments of the present disclosure relate to devices and methods of processing oscilloscope data, and more particularly to an electronic device and a method for configuring setting values of oscilloscopes.
2. Description of Related Art
Oscilloscopes are instruments for testing certain qualities of electronic signals, and indicating and recording test data including time-varying electrical quantities, such as current and voltage, of the electronic signals. The time-varying electrical quantities can help to evaluate the qualities of the electronic signals. Due to different setting values, such as, a trigger and a sample rate of acquiring electronic signals, a record length and a resolution of the acquired electronic signals.
Different oscilloscopes may test differently due to various factors. One oscilloscope may test data differently from another oscilloscopes, thus, it is hard to accurately reproduce the time-varying electrical quantities of an electronic signal on different oscilloscopes. In order to solve the reproduction of the time-varying electrical quantities of an electronic signal on different oscilloscopes, the setting values of different oscilloscopes need to be substantially synchronized. Although the setting values can be set manually, this is time-wasting.
In general, the word “module”, as used herein, refers to logic embodied in hardware or firmware, or to a collection of software instructions, written in a programming language, such as, Java, C, or assembly. One or more software instructions in the modules may be embedded in firmware, such as in an EPROM. The modules described herein may be implemented as either software and/or hardware modules and may be stored in any type of non-transitory computer-readable medium or other storage device. Some non-limiting examples of non-transitory computer-readable media include CDs, DVDs, BLU-RAY, flash memory, and hard disk drives.
The oscilloscope setting values configuration system 10 includes a number of function modules (depicted in
In block S10, the selection module 100 selects one or more manufacturers of the first oscilloscope 2 and the second oscilloscope 3 from a list of manufacturers (e.g., an electronic file, “the manufacturers list”). The manufacturers list may be pre-stored in the storage medium 12. In one embodiment, the selection may be at random.
In block S11, the first command sending module 101 sends first commands 3 to the first oscilloscope 2 and the second oscilloscope 3, using control codes provided by the selected manufacturer. The first command is about acquiring a respective instrument type of the first oscilloscope 2 or the second oscilloscope 3. It is understood that oscilloscopes made by different manufacturers can be controlled by different control codes.
In block S12, the determination module 102 determines if any response from the first oscilloscope 2 and the second oscilloscope 3 has been received. If both the first oscilloscope 2 and the second oscilloscope 3 respond to the respective first command, the selected manufacturer(s) are regarded as the actual manufacturer(s) of the first oscilloscope 2 and the second oscilloscope 3, and block S13 is implemented. If one of the two oscilloscopes does not respond to the respective first command, the selected manufacturer(s) is regarded as wrong, and block S10 is repeated to select another manufacturer(s).
In block S13, the second command sending module 103 sends second commands using the control codes provided by the corresponding manufacturer, to the first oscilloscope 2 and the second oscilloscope 3. The second command is about acquiring respective setting values of the first oscilloscope 2 and the second oscilloscope 3
In block S14, the receiving module 104 receives the setting values from the first oscilloscope 2 and the second oscilloscope 3.
In block S15, the comparison module 105 compares the setting values of the first oscilloscope 2 with the setting values of the second oscilloscope 3 to generate if necessary a comparative difference table (an electronic file). The comparative difference table may be stored in the storage medium 12.
In block S16, the setting values changing module 106 changes the setting values of the second oscilloscope 3 to be the same or similar with the setting values of the first oscilloscope 2, according to if required the comparative difference table. In another embodiment, the setting values changing module 106 may change the setting values of the first oscilloscope 2 to be the same or similar with the setting values of the second oscilloscope 3, according to if required the comparative difference table.
In block S17, the setting values writing module 107 writes the changed setting values into the second oscilloscope 3.
It should be emphasized that the above-described embodiments of the present disclosure, particularly, any embodiments, are merely possible examples of implementations, merely set forth for a clear understanding of the principles of the disclosure. Many variations and modifications may be made to the above-described embodiment(s) of the disclosure without departing substantially from the spirit and principles of the disclosure. All such modifications and variations are intended to be included herein within the scope of this disclosure and the present disclosure and protected by the following claims.
Number | Date | Country | Kind |
---|---|---|---|
099146779 | Dec 2010 | TW | national |