CN101706524A - Data collection device and data collection method thereof - Google Patents

Data collection device and data collection method thereof Download PDF

Info

Publication number
CN101706524A
CN101706524A CN200910237765A CN200910237765A CN101706524A CN 101706524 A CN101706524 A CN 101706524A CN 200910237765 A CN200910237765 A CN 200910237765A CN 200910237765 A CN200910237765 A CN 200910237765A CN 101706524 A CN101706524 A CN 101706524A
Authority
CN
China
Prior art keywords
data
measurement data
value
measurement
coordinate
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
CN200910237765A
Other languages
Chinese (zh)
Other versions
CN101706524B (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.)
Rigol Technologies Inc
Original Assignee
Rigol Technologies Inc
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 Rigol Technologies Inc filed Critical Rigol Technologies Inc
Priority to CN2009102377656A priority Critical patent/CN101706524B/en
Publication of CN101706524A publication Critical patent/CN101706524A/en
Application granted granted Critical
Publication of CN101706524B publication Critical patent/CN101706524B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to a data collection device and a data collection method thereof. The data collection method has the following processing steps: a data collection step: obtaining new measurement data in sequence; a calculation step: calculating the total data quantity of all the already obtained measurement data in an accumulative way according to the newly obtained measurement data; a first dynamic data display processing step: setting the transverse coordinates of screen coordinates according to the total data quantity of all the already obtained measurement data and displaying all the already obtained measurement data correspondingly in a waveform display mode on the screen coordinates; and a return step: obtaining new measurement data again by the data collection step. The change trend of the measurement data can be represented by using a waveform mode, the waveform of display data is continuously compressed by the transverse shafts of the coordinates which are continuously changed along with the continuous increase of the quantity of the measurement data, and the intrinsic change rule of the measurement data is vividly represented.

Description

Data collector and collecting method thereof
Technical field
Data collector of the present invention and collecting method thereof have related to the device field that utilizes the waveform display mode to show the electric variable measurement result, particularly relate to the device field that utilizes the waveform display mode to show the measurement result of multimeter
Background technology
Digital multimeter is that one of the most general surveying instrument can be used for measuring multiple electric variable, as alternating voltage, electric current, DC voltage, electric current, the multimeter 1 that has can also measuring resistance, electric capacity, diode or is also comprised devices such as triode, some multimeter can also connect sensor and be used for measuring multiple physical quantity, as temperature, pressure etc.
Regularly measure in order to cater to market, the needs of timing acquiring measurement data, some manufacturers have also increased regularly measurement function for multimeter, make multimeter can independently become a data acquisition system, regularly finish multinomial timing measuring task, such as every interval 1 minute a magnitude of voltage is carried out one-shot measurement, again such as, the temperature variation of weather is carried out periodic monitor.But in the prior art, digital multimeter is being carried out regularly measurement, particularly when carrying out the data acquisition of big data quantity, often because the little reason of its display screen, can only gradation on the display screen of multimeter, show measurement result, the user can't observe more a plurality of measurement data simultaneously.
For addressing this problem, it is that multimeter has increased an interface unit that is used to communicate by letter that some producers are also arranged, and makes outside computing machine connect described multimeter by this interface unit, thereby has constituted a data collector that ability is powerful.In this data collector, described outer computer not only can be gathered the measurement data of digital multimeter by described interface unit, can also utilize the characteristics that described Computer Storage space is big, display screen is big, demonstrate the list of whole measurement data that digital multimeter measures.
But this mode with list shows the method for measurement data, often can not reflect the information of the situation of change of measurement data intuitively, can not satisfy user's needs.
Summary of the invention
One of purpose of the present invention is, is the problem of solution prior art existence, and a kind of data collector is provided.
A kind of data collector of the present invention has:
A data collector is used to be docile and obedient preface and obtains a new measurement data;
A counter is used for according to the measurement data that newly gets access to, the total amount of data of whole measurement data that cumulative calculation has got access to;
One first dynamic data video-stream processor, be used for total amount of data according to the described whole measurement data that got access to, set the horizontal ordinate of a screen coordinate, and on described screen coordinate, with the corresponding whole measurement data that got access to that show of waveform display mode, make the measurement data that gets access at first in the corresponding all measurement data of source point of horizontal ordinate of described screen coordinate, the up-to-date measurement data that gets access in the corresponding all measurement data of the full scale value of horizontal ordinate;
A trigger is used to make described data acquisition unit, once more obtain a new measurement data.
In a kind of data collector of the present invention, between described counter and the described first dynamic data video-stream processor, can also have a comparer, between described comparer and described trigger, also have one second dynamic data video-stream processor;
Described comparer can also be used to judge that whether the total amount of data of the described measurement data that has got access to is less than a predetermined value, in the total amount of data of the described measurement data that has got access to during less than described predetermined value, select to connect the described first dynamic data video-stream processor, otherwise, select to connect the described second dynamic data video-stream processor;
The described second dynamic data video-stream processor, be used for according to described predetermined value, set the horizontal ordinate of described screen coordinate, and on described screen coordinate, show its pairing measurement data with the waveform display mode, make corresponding M+1 the measurement data that gets access to of source point of the horizontal ordinate of described screen coordinate, the corresponding up-to-date measurement data that gets access to of the full scale value of horizontal ordinate, the total amount of data that described M equals described measurement data deducts described predetermined value.
In a kind of data collector of the present invention,
Described counter can also be used to calculate maximal value, minimum value or the mean value of measurement data;
The described first dynamic data video-stream processor can also be used to show maximal value, minimum value or the mean value of described measurement data.
The described second dynamic data video-stream processor can also be used to show maximal value, minimum value or the mean value of described measurement data.
Another purpose of the present invention is, is the problem of solution prior art existence, and a kind of collecting method is provided.
A kind of collecting method of the present invention has following operation steps:
A data acquisition step is docile and obedient preface and is obtained a new measurement data;
A calculation procedure, according to the measurement data that newly gets access to, the total amount of data of whole measurement data that cumulative calculation has got access to;
One first dynamic data display process step, total amount of data according to the described whole measurement data that got access to, set the horizontal ordinate of a screen coordinate, and on described screen coordinate, with the corresponding whole measurement data that got access to that show of waveform display mode, make the measurement data that gets access at first in the corresponding all measurement data of source point of horizontal ordinate of described screen coordinate, the up-to-date measurement data that gets access in the corresponding all measurement data of the full scale value of horizontal ordinate;
One is returned step, makes described data acquisition step, once more obtain a new measurement data.
In a kind of collecting method of the present invention, between described calculation procedure and the described first dynamic data display process step, can also have a determining step, can also have one second dynamic data display process step between the step at described determining step and described returning;
Described determining step judges that also whether the total amount of data of the described measurement data that has got access to is less than a predetermined value, in the total amount of data of the described measurement data that has got access to during less than described predetermined value, select to carry out the described first dynamic data display process step, otherwise, select to carry out the described second dynamic data display process step;
The described second dynamic data display process step, according to described predetermined value, set the horizontal ordinate of described screen coordinate, and on described screen coordinate, show its pairing measurement data with the waveform display mode, make corresponding M+1 the measurement data that gets access to of source point of the horizontal ordinate of described screen coordinate, the corresponding up-to-date measurement data that gets access to of the full scale value of horizontal ordinate, the total amount of data that described M equals described measurement data deducts described predetermined value.
In a kind of collecting method of the present invention,
Described calculation procedure can also be calculated maximal value, minimum value or the mean value of measurement data;
The described first dynamic data display process step can also show maximal value, minimum value or the mean value of described measurement data.
The described second dynamic data display process step can also show maximal value, minimum value or the mean value of described measurement data.
Data collector of the present invention and collecting method thereof, gather resulting measurement data with waveform mode video data successively, the variation tendency that shows measurement data that not only can be lively, emulation and reproduce the change procedure of measurement data, and by the coordinate transverse axis that constantly changes with the continuous increase of measurement data amount, constantly compress the data waveform that shows, vivo show the inherent Changing Pattern of measurement data, as the cyclical variation rule, the speed of data acquisition etc. can be used to analyze and compare and measure the inherent law or the characteristic of data.
Another purpose of the present invention is, is the problem of solution prior art existence, and another data collector is provided.
A kind of data collector of the present invention has:
A data collector is used to obtain one and comprises a plurality of measurement data set of being docile and obedient the measurement data of preface preservation;
A comparer, whether the data volume of the measurement data that is used for judging that described measurement data set comprises is greater than a predetermined value;
A data compression processor, the data volume that is used for the measurement data that comprises in described measurement data set is during greater than described predetermined value, measurement data in the described measurement data set is compressed in regular turn, produce a compressed data set that comprises a plurality of packed datas, make the data volume of the packed data in the described compressed data set and described predetermined value corresponding;
A static data video-stream processor is used for according to described predetermined value, sets the horizontal ordinate of a screen coordinate, and on described screen coordinate, shows whole packed datas in the described compressed data set with the waveform display mode.
In data collector of the present invention,
Described data compression processor, measurement data in the described measurement data set is being compressed, when producing a compressed data set that comprises a plurality of packed datas, described compressed data set can comprise one first compressed data set and one second compressed data set;
The data volume of the packed data that comprises in described first compressed data set equates with described predetermined value, and the packed data in described first compressed data set is to be arranged in regular turn by the maximal value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in described second compressed data set equates with described predetermined value, and the packed data in described second compressed data set is to be arranged in regular turn by the minimum value of each areal survey data of the measurement data in the described measurement data set to constitute;
Described static data video-stream processor, on described screen coordinate, when showing whole packed data in the described compressed data set, can be respectively show packed data in described first compressed data set and the packed data in second compressed data set with the waveform display mode with the waveform display mode.
In data collector of the present invention,
Described data compression processor, measurement data in the described measurement data set is compressed, when producing a compressed data set that comprises a plurality of packed datas, described compressed data set also can comprise one first compressed data set, second compressed data set and one the 3rd compressed data set;
The data volume of the packed data that comprises in described first compressed data set equates with described predetermined value, and the packed data in described first compressed data set is to be arranged in regular turn by the maximal value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in described second compressed data set equates with described predetermined value, and the packed data in described second compressed data set is to be arranged in regular turn by the minimum value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in described the 3rd compressed data set equates with described predetermined value, and the packed data in described the 3rd compressed data set is to be arranged in regular turn by the mean value of each areal survey data of the measurement data in the described measurement data set to constitute;
Described static data video-stream processor, on described screen coordinate, when showing whole packed data in the described compressed data set, can be respectively show packed data in described first compressed data set, packed data in second compressed data set and the packed data in the 3rd compressed data set with the waveform display mode with the waveform display mode.
In data collector of the present invention,
Described static data video-stream processor, on described screen coordinate, when showing packed data in described first compressed data set and the packed data in second compressed data set, can represent zone between the waveform of the waveform of described first packed data and second packed data with color or pattern displaying with the waveform display mode.
Described static data video-stream processor, on described screen coordinate, when showing packed data in described first compressed data set, packed data in second compressed data set with the waveform display mode, can also be with waveform display mode and outstanding color or brightness, show the packed data in described the 3rd compressed data set
Another purpose of the present invention is, is the problem of solution prior art existence, and another collecting method is provided.
A kind of collecting method of the present invention has following operation steps:
A data acquisition step is obtained one and is comprised a plurality of measurement data set of being docile and obedient the measurement data of preface preservation;
A determining step, whether the data volume of judging the measurement data that is comprised in the described measurement data set is greater than a predetermined value;
A data compression step, the data volume of the measurement data that is comprised in described measurement data set is during greater than described predetermined value, measurement data in the described measurement data set is compressed in regular turn, produce a compressed data set that comprises a plurality of packed datas, make the data volume of the packed data in the described compressed data set and described predetermined value corresponding;
A static data display process step according to described predetermined value, is set the horizontal ordinate of a screen coordinate, and on described screen coordinate, shows whole packed datas in the described compressed data set with the waveform display mode.
In a kind of collecting method of the present invention,
Described data compression step, measurement data in the described measurement data set is being compressed, when producing a compressed data set that comprises a plurality of packed datas, described compressed data set can comprise one first compressed data set and one second compressed data set;
The data volume of the packed data that comprises in described first compressed data set equates with described predetermined value, and the packed data in described first compressed data set is to be arranged in regular turn by the maximal value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in described second compressed data set equates with described predetermined value, and the packed data in described second compressed data set is to be arranged in regular turn by the minimum value of each areal survey data of the measurement data in the described measurement data set to constitute;
Described static data display process step, on described screen coordinate, when showing whole packed data in the described compressed data set, can be respectively show packed data in described first compressed data set and the packed data in second compressed data set with the waveform display mode with the waveform display mode.
In a kind of collecting method of the present invention,
Described data compression step, measurement data in the described measurement data set is compressed, when producing a compressed data set that comprises a plurality of packed datas, described compressed data set can comprise one first compressed data set, second compressed data set and one the 3rd compressed data set;
The data volume of the packed data that comprises in described first compressed data set equates with described predetermined value, and the packed data in described first compressed data set is to be arranged in regular turn by the maximal value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in described second compressed data set equates with described predetermined value, and the packed data in described second compressed data set is to be arranged in regular turn by the minimum value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in described the 3rd compressed data set equates with described predetermined value, and the packed data in described the 3rd compressed data set is to be arranged in regular turn by the mean value of each areal survey data of the measurement data in the described measurement data set to constitute;
Described static data display process step, on described screen coordinate, when showing whole packed data in the described compressed data set, can be respectively show packed data in described first compressed data set, packed data in second compressed data set and the packed data in the 3rd compressed data set with the waveform display mode with the waveform display mode.
In a kind of collecting method of the present invention,
Described static data display process step, on described screen coordinate, when showing packed data in described first compressed data set and the packed data in second compressed data set, can represent zone between the waveform of the waveform of described first packed data and second packed data with color or pattern displaying with the waveform display mode.
Described static data display process step, on described screen coordinate, when showing packed data in described first compressed data set, packed data in second compressed data set with the waveform display mode, can also show the packed data in described the 3rd compressed data set with waveform display mode and outstanding color or brightness
Data collector of the present invention and collecting method thereof, when utilizing packed data to describe the waveform of measurement data, the maximal value waveform and the minimum value waveform that show integrated data simultaneously, and the span between maximal value waveform and the minimum value waveform can reflect the amplitude of variation of each small set of data vividly, intuitively, is beneficial to the user and catches the bigger data of changes in amplitude.
Description of drawings
Figure 1 shows that the structure key diagram of first embodiment that data collector of the present invention is selected.
Figure 2 shows that the key diagram of the user interface 200 of the described data collector of first embodiment.
Figure 3 shows that the step key diagram of the real-time monitoring step 300 of dynamic measuring data of the described data collector of first embodiment.
Figure 4 shows that the key diagram of the real-time monitoring interface 400 of the described data collector of first embodiment.
Fig. 4 A is depicted as of real-time monitoring interface 400 and illustrates figure.
What Fig. 4 B was depicted as real-time monitoring interface 400 further illustrates figure.
What Fig. 4 C was depicted as real-time monitoring interface 400 further illustrates figure.
What Fig. 4 D was depicted as real-time monitoring interface 400 further illustrates figure.
What Fig. 4 E was depicted as real-time monitoring interface 400 further illustrates figure.
Figure 5 shows that the structure key diagram of the processor 102 of the described data collector of first embodiment.
Figure 6 shows that the step key diagram of the static measurement data analysis step 600 of second embodiment that data collector of the present invention is selected.
Figure 7 shows that the key diagram of the measurement data assay surface 700 of the described data collector of second embodiment.
Fig. 7 A is depicted as of measurement data assay surface 700 and illustrates figure.
Fig. 7 B be depicted as measurement data assay surface 700 another illustrate figure.
Figure 8 shows that the structure key diagram of the processor 102 of the described data collector of second embodiment.
Embodiment
Below in conjunction with accompanying drawing, introduce the first selected embodiment of data collector of the present invention and collecting method thereof.
Selected for use one to have IO interface 101 computing machines 100 and a digital multimeter 110 with reference to figure 1, the first embodiment with IO interface 111.
The DM3058 type general digital multimeter that digital multimeter 110 adopts Pu Yuan smart electric company in Beijing to produce constitutes.Digital multimeter 110 can be used for measuring electrical parameters, as ac voltage, current value, and dc voltage value, current value, resistance value and capacitance, when described digital multimeter connects temperature sensor, as connect thermopair, or during other temperature sensors, can also be used to measuring temperature.
Explanation as an example, the digital multimeter 110 in the present embodiment also can select for use the digital multimeter with IO interface of other types to replace.
In the present embodiment, IO interface the 101, the 111st, USB type interface.
Explanation as an example, according to different application needs, computing machine 100 also can interconnect by the interface of other type with digital multimeter 110, as Ethernet, the interface of types such as wireless network, infrared, serial ports of computers, parallel port.
In the present embodiment, computing machine 100 includes a central processing unit 102, measurement data storer 103, display data memory 104, an input block 105 and a display screen 106.
Input block 105 wherein includes keyboard and mouse parts, and it is 1024 * 1280 LCDs that display screen 106 has adopted a horizontal vertical pixel.
Explanation as an example, the display screen 106 in the present embodiment also can adopt the display screen of other types to constitute, and comprising LCD, LED display, its horizontal vertical pixel can not be 1024 * 1280 also, can be higher, also can be lower, and such as being 800 * 600.
In the present embodiment, under the control of processor 102, computing machine 100 has presented one by its display screen 106 and has comprised to measure and button 201 is set, measures the user interface 200 of display button 202 in real time, referring to Fig. 2.
In conjunction with reference to figure 1 and Fig. 2, the user can utilize instruments such as button in the input block 105 of computing machine 100 or mouse to choose any one button 201 or 202 on the user interface 200, whereby, the user can send and button 201 or 202 corresponding steering orders to the central processing unit 102 of computing machine 100.
In the present embodiment, when the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose measurement on the user interface 200 that button 201 is set, user interface 200 will present the measurement that is used to be provided with digital multimeter 110 hurdle 204 will be set.Measurement is provided with hurdle 204 and comprises that measurement function is provided with hurdle 205, hurdle 206 is set the measurement range and sampling rate is provided with hurdle 207.
Be provided with in the hurdle 205 at measurement function, the user can utilize instrument input such as button in the input block 105 of computing machine 100 or mouse or select the measurement function of digital multimeter 110. in the present embodiment, measurement function is provided with and is provided with a plurality of function choosing-items in the hurdle 205, the user can therefrom select, and is dc voltage measurement such as the measurement function of selecting digital multimeter 110.
Be provided with in the hurdle 206 measuring range, the user can utilize instrument input such as button in the input block 105 of computing machine 100 or mouse or select the measurement range of digital multimeter 110.In the present embodiment, the measurement range is provided with and is provided with a plurality of function choosing-items in the hurdle 206, and the user can therefrom select, and such as corresponding dc voltage measurement function, selecting the dc voltage measurement range of digital multimeter 110 is the 20mV range.
In sampling rate hurdle 207 is set, the measuring rate that the user also can utilize instrument input such as button in the input block 105 of computing machine 100 or mouse or select digital multimeter 110 to carry out when measuring.In the present embodiment, the user can directly import data, and the measuring rate of carrying out dc voltage measurement such as input digit multimeter 110 is 1 time/second.
When utilizing instruments such as button in the input block 105 of computing machine 100 or mouse to choose measurement on the interface, family 200 that button 201 is set as the user, user interface 200 also can present one and be used to be provided with the data acquisition that computing machine 100 gathers measurement data from digital multimeter 110 hurdle 208 is set.Data acquisition is provided with hurdle 208 and comprises that logging mode is provided with hurdle 209 and configure column 210,211.
At logging mode hurdle 209 is set, the user can utilize instrument input such as button in the input block 105 of computing machine 100 or mouse or select the data acquisition modes of computing machine 100.In the present embodiment, there are two kinds of data acquisition modes to select, promptly based on the data acquisition modes of data acquisition time with based on the data acquisition modes of data volume for users.
When the user when logging mode is provided with the data acquisition modes of having selected in the hurdle 209 based on data acquisition time, the user can also be by the time interval and the time limit of configure column 210,211 input computing machines 100 image data.Such as, configure column 210 inputs 0.5 second, configure column 211 inputs 24 hours just meaned the mode of computing machine 100 according to constant duration that make, per 0.5 second measurement data of time interval record write down measurement data 24 hours altogether.
When the user when logging mode is provided with the data acquisition modes of having selected in the hurdle 209 based on data volume, the user also can be by the time interval of configure column 210,211 input computing machines 100 image data and the total quantity restriction of data.Such as, configure column 210 inputs 0.5 second, configure column 211 inputs 1000 just meaned the mode according to constant duration that makes computing machine 100, measurement data of per 0.5 second record writes down 1000 measurement data altogether.
In user interface 200, finish measure hurdle 204 and data acquisition are set being provided with of hurdle 208 are set after, the user can utilize instruments such as button in the input block 105 of computing machine 100 or mouse to choose beginning button 213 in the user interface 200.In case the user chooses beginning button 213, central processing unit 102 will be provided with the parameter setting on hurdle 204 to measurement according to the user, digital multimeter 110 is carried out measured control.And according to the user collection is provided with the setting on hurdle 208 to data, gather measurement data from digital multimeter 110, and the measurement data that collects be saved in the measurement data storer 103 successively.
At central processing unit 102 during from the collection measurement data of digital multimeter 110, according to data acquisition the time interval information that is provided with in the hurdle 208 is set and sends reading order to digital multimeter 110, the measurement data that the digital multimeter of reading back 110 is current, and this measurement data is saved in the measurement data storer 103, whenever after having preserved a measurement data, central processing unit 102 is just waited for the arrival of acquisition interval time next time.When acquisition time next time arrived, central processing unit 102 sent reading orders to digital multimeter 110 again, the measurement data that the digital multimeter of reading back 110 is current.Circulation and so forth, the data-driven collection is provided with the setting in the hurdle 208, finishes the data acquisition to digital multimeter 110.
In the present embodiment, when user interface 200 also has a progress display field 212. is provided with hurdle 208 in central processing unit 102 data-driven collections parameter setting from the collection measurement data of digital multimeter 110, the length of the pointer 214 in the progress display field 212 can demonstrate the situation of digital multimeter 110 measurement data acquisition. when pointer 214 more in short-term, the work that measurement data is gathered in expression just begins, long and when being full of square frame 215 when the length of pointer 214, mean that the work of gathering measurement data finishes.
Explanation as an example, according to different application, control button, option window or the other guide that also can also comprise other in the user interface 200 of present embodiment, as, also comprise a synchronous button in user interface 200, after the user selected this synchronous button, central processing unit 102 can obtain the relative set state of digital multimeter 110, and these are provided with the measurement that state is presented at user interface 200 were provided with in the hurdle 204.
Explanation as an example, according to different application, can also comprise on the user interface 200 one other join and select function selecting button, this button can be used to instruct 102 pairs of multimeters of central processing unit to carry out the operation of self calibration operation, reset operation or other type.
In the present embodiment, when the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose real-time measurement display button 202 on the user interface 200, in conjunction with reference to figure 1,3 and 4.Processor 102 is carried out a real-time monitoring step 300 of dynamic measuring data immediately to this sensitivity, in order to by a real-time monitoring interface 400 on the display screen 106 of computing machine 100, dynamically reproduces the measurement data that is kept in the measurement data storer 103.
In the present embodiment, monitoring interface 400 shows a coordinate 401 in real time, and coordinate 401 is used for showing measurement data with the form of waveform that coordinate 401 has true origin 402, coordinate transverse axis 403, the coordinate longitudinal axis 404.Coordinate transverse axis 403 subscripts are marked with coordinate transverse axis full scale value 405, and the coordinate longitudinal axis 404 subscripts are marked with coordinate longitudinal axis full scale value 406.
In the present embodiment, also show in real time a maximal value display window 407, minimum value display window 408, mean value display window 409, current measured value display window 412, progress display window 410 and one on the monitoring interface 400 and stop key 411.
Wherein stop key 411, be used for instruction processing unit 102, stop to carry out the real-time monitoring step 300 of dynamic measuring data.
In the present embodiment, the button or the display window that can also have other in real time on the monitoring interface 400, as have the window of the attribute of the current measurement data of expression, be used to point out the current demonstration of user the pairing measurement function of measurement data, measure range or also comprise measuring rate, data acquisition rate, screen display refresh rate etc.
In the present embodiment, the real-time monitoring step 300 of dynamic measuring data comprises:
A data acquisition step 302 is docile and obedient preface and is obtained a new measurement data from measurement data storer 103;
A calculation procedure 303, the total amount of data of the measurement data that cumulative calculation data acquisition step 302 has got access to simultaneously, also is used for calculating the measurement data of the maximum of the measurement data that has got access to, minimum measurement data and mean value.
A determining step 304, whether the total amount of data of the measurement data that judgment data acquisition step 302 has got access to is less than a predetermined value, in the total amount of data of the described measurement data that has got access to during less than described predetermined value, select to carry out one first dynamic data display process step 305, otherwise, select to carry out one second dynamic data display process step 306.
The first dynamic data display process step 305, the total amount of data of the whole measurement data that got access to according to data acquisition step 302 is set the scale of coordinate transverse axis 403, sets the scale of the coordinate longitudinal axis 404 according to maximal value in the measurement data and minimum value.And on coordinate 401, with the corresponding whole measurement data that got access to that show of waveform display mode, make the measurement data that gets access at first in whole measurement data that the true origin 402 corresponding data acquisition step 302 of coordinate 401 get access to, the up-to-date measurement data that gets access in whole measurement data that coordinate transverse axis full scale value 405 corresponding data acquisition step 302 get access to;
In the present embodiment;
The first dynamic data display process step 305 also is used for demonstrating the measurement data of the maximum of whole measurement data that data acquisition step 302 gets access to, the measurement data of minimum measurement data, mean value and up-to-date acquisition respectively by maximal value display window 407, minimum value display window 408, mean value display window 409, current measured value display window 412.
The second dynamic data display process step 306, according to described predetermined value, set the scale of coordinate transverse axis 403, set the scale of the coordinate longitudinal axis 404 of coordinate 401 according to maximal value in the measurement data and minimum value, and on coordinate 401, show its pairing measurement data with the waveform display mode, make true origin 402 corresponding data acquisition step 302 M+1 the measurement data that get access to of coordinate 401, the coordinate transverse axis full scale value 405 corresponding data acquisition step 302 up-to-date measurement data that get access to, the total amount of data that described M equals the measurement data that data acquisition step 302 gets access to deducts described predetermined value;
In the present embodiment, the second dynamic data display process step 306 also is used for demonstrating the measurement data of the maximum of whole measurement data that data acquisition step 302 gets access to, the measurement data of minimum measurement data, mean value and up-to-date acquisition respectively by maximal value display window 407, minimum value display window 408, mean value display window 409, current measured value display window 412.
One is returned step 307, after finishing the first above-mentioned dynamic data display process step or the second dynamic data display process step, return described data acquisition step 302, be used for the new measurement data of obtaining once more, make real-time monitoring step 300 circular flows of dynamic measuring data.
In the present embodiment, described predetermined value equals the horizontal pixel number of the display screen 106 of computing machine 100, as: display screen 106 horizontal pixel numbers are 1024 o'clock, and this predetermined value just equals 1024.
Illustrate as another, for different application, this predetermined value also can other numerical value, such as being equal to or slightly less than a horizontal pixel number that is used to show the display window of measurement data.
For clearer explanation present embodiment, here suppose that described predetermined value is 1024, and under the control of processor 102, the data-driven acquisition order has been preserved 4 following measurement data successively in the address D ATA1 to DATA4 of measurement data storer 103, referring to subordinate list 1.
Subordinate list 1
The measurement data acquisition order Address data memory Measurement data
??1 ??DATA1 ??2.5
??2 ??DATA2 ??1.8
??3 ??DATA3 ??3.4
??4 ??DATA4 ??2.8
At this moment, if the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose real-time measurement display button 202 on the user interface 200, processor 102 will be carried out the real-time monitoring step 300 of dynamic measuring data immediately, in conjunction with reference to figure 1,3,4A and subordinate list 1.
At first,
Data acquisition step 302 is obtained first from measurement data storer 103 and is kept at measurement data the measurement data storer 103, and promptly the address is the measurement data 2.5 of DATA1;
Calculation procedure 303, after the new measurement data that data acquisition step 302 gets access to, counting, and obtained 1 measurement data according to data acquisition step 302, and this measurement data is 2.5, and the measurement data that calculates the maximum in whole measurement data is 2.5, minimum measurement data is 2.5, mean value also is 2.5.
Determining step 304, result of calculation according to calculation procedure 303, the data volume of the measurement data that data acquisition step 302 has obtained is 1, and the data volume of measurement data is less than predetermined value 1024, and determining step 304 selects next step to carry out the first dynamic data display process step 305;
The first dynamic data display process step 305, maximal value according to this measurement data is 2.5, and minimum value is 2.5, and coordinate longitudinal axis full scale value 406 needs greater than the peaked principle in the measurement data of being obtained, setting coordinate longitudinal axis full scale value 406 is 3, and the initial point of the coordinate longitudinal axis 404 is zero.Simultaneously, data volume according to the measurement data that has obtained only has 1, that sets true origin 402 is labeled as 1, corresponding first measurement data that gets access to 2.5 of this mark, and on the position of the corresponding data value 2.5 on the coordinate longitudinal axis 404, in round dot 413 modes, show the measurement data 2.5 that has got access to.
The first dynamic data display process step 305 also according to the measurement data of the maximum in whole measurement data be 2.5, minimum measurement data is 2.5, mean value is 2.5, makes maximal value display window 407 video datas 2.5, minimum value display window 408 video datas 2.5, mean value display window 409 video datas 2.5, current measured value display window 412 video datas 2.5.
Return step 307, after finishing the first above-mentioned dynamic data display process step 305, the real-time monitoring step 300 of dynamic measuring data returns carries out described data acquisition step 302, is used for obtaining a new measurement data from measurement data storer 103 again.
Data acquisition step 302, when from measurement data storer 103, obtaining a new measurement data again, obtain second measurement data that is kept at the measurement data storer 103 from measurement data storer 103, be that the address is the measurement data 1.8 of DATA2, in conjunction with reference to figure 1,3,4B and subordinate list 1.
Calculation procedure 303, according to having obtained a measurement data again, counter adds 1, the total amount of data of whole measurement data that cumulative calculation has got access to is 2, and in 2 measurement data that obtained, first measurement data and second measurement data are respectively 2.5 and 1.8, and the measurement data that calculates the maximum in whole measurement data is 2.5, minimum measurement data is 1.8, mean value is 2.15.
Determining step 304, the data volume of the measurement data that has obtained according to data acquisition step 302 is 2, and the quantity of measurement data is less than predetermined value 1024, and determining step 304 selects next steps to carry out the first dynamic data display process step 305;
The first dynamic data display process step 305, in order to make coordinate 401 can intactly show measurement data, be respectively 2.5 and 1.8 according to first measurement data that has obtained and second measurement data, the measurement data of maximum wherein is 2.5, minimum measured value is 1.8, set coordinate longitudinal axis full scale value 406 greater than this maximum measurement data, in originally illustrating, to set coordinate longitudinal axis full scale value 406 and equal 3, the initial point of the coordinate longitudinal axis 404 is zero.
The first dynamic data display process step 305 is 2 according to the total amount of data of the whole measurement data that get access to from measurement data storer 103 also, and setting true origin 402 is 1, and coordinate transverse axis full scale value 405 is 2.
The first dynamic data display process step 305 is also with the corresponding whole measurement data that got access to that show of waveform display mode, even the true origin 402 corresponding measurement data that get access at first that show in whole measurement data, be that the address is the measurement data 2.5 of DATA1, the coordinate transverse axis full scale value 405 corresponding up-to-date measurement data that get access to that show in whole measurement data, be that the address is the measurement data 1.8 of DATA2, and between measurement data 2.5 and 1.8, show straight line S1.
The first dynamic data display process step 305, also according to the measurement data of the maximum in whole measurement data be 2.5, minimum measurement data is 1.8, mean value is 2.15, makes maximal value display window 407 video datas 2.5, minimum value display window 408 video datas 1.8, mean value display window 409 video datas 2.5 and 1.8 mean value 2.15, current measured value display window 412 video datas 1.8.
Return step 307, after finishing the first above-mentioned dynamic data display process step 305, the real-time monitoring step 300 of dynamic measuring data returns carries out described data acquisition step 302, is used for obtaining a new measurement data from measurement data storer 103 again.
Data acquisition step 302, when from measurement data storer 103, obtaining a new measurement data again, obtain the 3rd measurement data that is kept at the measurement data storer 203 from measurement data storer 103, be that the address is the measurement data 3.4 of DATA3, in conjunction with reference to figure 1,3,4C and subordinate list 1.
Calculation procedure 303, according to having obtained a measurement data again, counter adds 1, the total amount of data of whole measurement data that cumulative calculation has got access to is 3, and in 3 measurement data that obtained, first measurement data, second measurement data and the 3rd measurement data are respectively 2.5,1.8 and 3.4, and the measurement data that calculates the maximum in whole measurement data is 3.4, minimum measurement data is 1.8, mean value is 2.57.
Determining step 304, the data volume of the measurement data that has obtained according to data acquisition step 302 is 3, and the quantity of measurement data is less than predetermined value 1024, and determining step 304 selects next steps still to carry out the first dynamic data display process step 305;
The first dynamic data display process step 305, in order to make coordinate 401 can intactly show measurement data, be respectively 2.5,1.8 and 3.4 according to first measurement data that has obtained, second measurement data and the 3rd measurement data, the measurement data of maximum wherein is 3.4, minimum value is 1.8, set coordinate longitudinal axis full scale value 406 greater than this maximum measurement data, in originally illustrating, to set coordinate longitudinal axis full scale value 406 and equal 4, the initial point of the coordinate longitudinal axis 404 is zero.
In originally illustrating, when processor 102 was carried out the first dynamic data display process step 305, also the total amount of data according to the whole measurement data that get access to from measurement data storer 103 was 3, and setting true origin 402 is 1, and coordinate transverse axis full scale value 405 is 3.
In originally illustrating, when the first dynamic data display process step 305 shows the whole measurement data that has got access to so that the waveform display mode is corresponding, make the true origin 402 corresponding measurement data that get access at first that show in whole measurement data, be that the address is the measurement data 2.5 of DATA1, the coordinate transverse axis full scale value 405 corresponding up-to-date measurement data that get access to that show in whole measurement data, be that the address is the measurement data 3.4 of DATA3, and between measurement data 2.5 and 1.8, show straight line S2a respectively between measurement data 1.8 and the measurement data 3.4, S2b.
In the first dynamic data display process step 305, also according to the measurement data of the maximum in whole measurement data be 3.4, minimum measurement data is 1.8, mean value is 2.57, makes maximal value display window 407 video datas 3.4, minimum value display window 408 video datas 1.8, mean value display window 409 video datas 2.5,1.8 and 3.4 mean value 2.57, current measured value display window 412 video datas 2.57.
Return step 307, after finishing the first above-mentioned dynamic data display process step 305, the real-time monitoring step 300 of dynamic measuring data returns carries out described data acquisition step 302, is used for obtaining a new measurement data from measurement data storer 103 again.
Data acquisition step 302, when from measurement data storer 103, obtaining a new measurement data again, obtain the 4th measurement data that is kept at the measurement data storer 203 from measurement data storer 103, be that the address is the measurement data 2.8 of DATA4, in conjunction with reference to figure 1,3,4D and subordinate list 1.
Calculation procedure 303, according to having obtained a measurement data again, counter adds 1, the total amount of data of whole measurement data that cumulative calculation has got access to is 4, and in 4 measurement data that obtained, first measurement data, second measurement data, the 3rd measurement data and four measuring data are respectively 2.5,1.8,3.4 and 2.8, and the measurement data that calculates the maximum in whole measurement data is 3.4, minimum measurement data is 1.8, mean value is 2.625.
Determining step 304, the data volume of the measurement data that has obtained according to data acquisition step 302 is 4, and the quantity of measurement data is less than predetermined value 1024, and determining step 304 selects next steps still to carry out the first dynamic data display process step 305;
The first dynamic data display process step 305, in order to make coordinate 401 can intactly show measurement data, be respectively 2.5,1.8,3.4 and 2.8 according to first measurement data that has obtained, second measurement data, the 3rd measurement data and four measuring data, the measurement data of maximum wherein still is 3.4, minimum value is 1.8, set coordinate longitudinal axis full scale value 406 greater than this maximum measurement data, in originally illustrating, set coordinate longitudinal axis full scale value 406 and equal 4, the initial point of the coordinate longitudinal axis 404 is zero.
In originally illustrating, the first dynamic data display process step 305 is 4 according to the total amount of data of the whole measurement data that get access to from measurement data storer 103 also, and setting true origin 402 is 1, and coordinate transverse axis full scale value 405 is 4.
In originally illustrating, the first dynamic data display process step 305 is also with the corresponding whole measurement data that got access to that show of waveform display mode, make the true origin 402 corresponding measurement data that get access at first that show in whole measurement data simultaneously, be that the address is the measurement data 2.5 of DATA1, the coordinate transverse axis full scale value 405 corresponding up-to-date measurement data that get access to that show in whole measurement data, be that the address is the measurement data 2.8 of DATA4, and between measurement data 2.5 and 1.8, between measurement data 1.8 and the measurement data 3.4, show straight line S3a respectively between measurement data 3.4 and the measurement data 2.8, S3b, S3c.
The first dynamic data display process step 305, also according to the measurement data of the maximum in whole measurement data be 3.4, minimum measurement data is 1.8, mean value is 2.625, makes maximal value display window 407 video datas 3.4, minimum value display window 408 video datas 1.8, mean value display window 409 video datas 2.5,1.8,3.4 and 2.8 mean value 2.625, current measured value display window 412 video datas 2.8.
Return step 307, after finishing the first above-mentioned dynamic data display process step 305, the real-time monitoring step 300 of dynamic measuring data returns carries out data acquisition step 302, is used for obtaining a new measurement data from measurement data storer 103 again.
In originally illustrating, be only to have preserved 4 measurement data in the supposition measurement data storer 103, owing to from measurement data storer 103, obtained these four measuring data, at this moment, data acquisition step 302 can't obtain new measurement data again from measurement data storer 103, therefore, the real-time monitoring step 300 of dynamic measuring data will be in the waiting status of continuous reading of data, if, under the control of processor 102, when having preserved new measurement data again in measurement data storer 103, the real-time monitoring step 300 of dynamic measuring data will continue circular flow again.
If, under the control of processor 102, the measurement data of preserving in the measurement data storer 103 is above 1024, in conjunction with examining Fig. 1,3,4E, when being 1157 measurement data, when data acquisition step 302 is being obtained the 1157th measurement data, calculation procedure 303, according to having obtained a measurement data again, the total amount of data of whole measurement data that cumulative calculation data acquisition step 302 has got access to is 1157, and, calculate the measurement data of the maximum in whole measurement data according to 1157 measurement data that obtained, minimum measurement data, average data.
Determining step 304, the data volume of the measurement data that has obtained according to data acquisition step 302 is 1157, and the data volume of measurement data is greater than predetermined value 1024, and determining step 304 selects next steps to carry out the second dynamic data display process step 306;
The second dynamic data display process step 306, maximal value and minimum value according in 1157 measurement data make the maximal value of coordinate longitudinal axis full scale value 406 greater than this measurement data, make the minimum value of the minimum value of the coordinate longitudinal axis 404 less than this measurement data.According to predetermined value 1024, set the scale of coordinate transverse axis 403, make true origin 402 corresponding the 133rd measurement data that get access to of coordinate 401, coordinate transverse axis full scale value 405 corresponding up-to-date the 1157th measurement data that get access to, with waveform display mode displaing coordinate 401 pairing measurement data the time, between each adjacent measurement data, show straight line, thereby form waveform Se.
The second dynamic data display process step 306 is gone back according to the measurement data of the maximum in whole measurement data, minimum measurement data, average data, makes maximal value display window 407 show that the measurement data of described maximum, measurement data, the mean value display window 409 of the described minimum of minimum value display window 408 demonstrations show the measurement data of described average data, the up-to-date acquisition of current measured value display window 412 demonstrations.
Explanation as an example, in the present embodiment, when measured parameter value comprises negative value, the negative direction full scale value that also comprises the coordinate longitudinal axis 404 in the coordinate 401, at this moment, the first dynamic data display process step 305 and the second dynamic data display process step 306 also comprise the negative direction full scale value of setting the described coordinate longitudinal axis according to the minimum value of measurement data.
In the present embodiment, in conjunction with reference to figure 2,4 and 5, the central processing unit 102 of computing machine 100 has comprised:
A data collector 502 is used to be docile and obedient preface and obtains a new measurement data from measurement data storer 103;
A counter 503, be used for counting, the total amount of data of whole measurement data that cumulative calculation data acquisition unit 502 has got access to simultaneously, also calculates the measurement data of the maximum in the whole measurement data that got access to, minimum measurement data and mean value.
A comparer 504, whether the total amount of data that is used for the measurement data that judgment data acquisition step 302 got access to is less than a predetermined value, in the total amount of data of the described measurement data that has got access to during less than described predetermined value, select to connect one first dynamic data video-stream processor 505, otherwise, select to connect one second dynamic data video-stream processor 506.Described predetermined value equals the horizontal pixel number of the display screen 106 of computing machine 100, and in the present embodiment, display screen 106 horizontal pixel numbers are 1024.
The first dynamic data video-stream processor 505 is used for the total amount of data of whole measurement data of having got access to according to data acquisition unit 502, sets the scale of coordinate transverse axis 403, sets the scale of the coordinate longitudinal axis 404 according to maximal value in the measurement data and minimum value.And on coordinate 401, with the corresponding whole measurement data that got access to that show of waveform display mode, make the measurement data that gets access at first in whole measurement data that the true origin 402 corresponding data collectors 502 of coordinate 401 get access to, the up-to-date measurement data that gets access in whole measurement data that coordinate transverse axis full scale value 405 corresponding data collectors 502 get access to;
The first dynamic data video-stream processor 505 also is used for demonstrating the measurement data of the maximum of whole measurement data that data acquisition unit 502 gets access to, the measurement data of minimum measurement data, mean value and up-to-date acquisition respectively by maximal value display window 407, minimum value display window 408, mean value display window 409, current measured value display window 412.
The second dynamic data video-stream processor 506, be used for according to described predetermined value, set the scale of coordinate transverse axis 403, set the scale of the coordinate longitudinal axis 404 of coordinate 401 according to maximal value in the measurement data and minimum value, and on coordinate 401, show its pairing measurement data with the waveform display mode, make true origin 402 corresponding data collectors 502 M+1 the measurement data that get access to of coordinate 401, the coordinate transverse axis full scale value 405 corresponding up-to-date measurement data that get access to, the total amount of data that described M equals described measurement data deducts described predetermined value;
The second dynamic data video-stream processor 506 also is used for demonstrating the measurement data of the maximum of whole measurement data that data acquisition unit 502 gets access to, the measurement data of minimum measurement data, mean value and up-to-date acquisition respectively by maximal value display window 407, minimum value display window 408, mean value display window 409, current measured value display window 412.
A trigger 507 is connected with the output terminal of the first dynamic data video-stream processor 505 and the second dynamic data video-stream processor 506, be used to make data acquisition unit 502 once more obtain a new measurement data from measurement data storer 103.
In order to clearly demonstrate present embodiment, still suppose under the control of processor 102, in the address D ATA1 to DATA4 of measurement data storer 203, preserved 4 following measurement data successively, referring to subordinate list 1.
At this moment, if the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose real-time measurement display button 202 on the user interface 200, in conjunction with reference to figure 1,5,4A and subordinate list 1.
Processor 102 makes this sensitivity:
Data acquisition unit 502 obtains first from measurement data storer 103 and is kept at measurement data the measurement data storer 103, and promptly the address is the measurement data 2.5 of DATA1;
Counter 503, after data acquisition unit 502 obtains a new measurement data, counting, and obtained 1 measurement data according to data acquisition unit 502, and this measurement data is 2.5, and the measurement data that calculates the maximum in whole measurement data is 2.5, minimum measurement data is 2.5, mean value also is 2.5.
Comparer 504, according to the result of calculation of counter 503, the data volume of the measurement data that data acquisition unit 502 has obtained is 1, and the data volume of measurement data is less than predetermined value 1024, and comparer 504 selects to connect the first dynamic data video-stream processor 505;
The first dynamic data video-stream processor 505,
Maximal value according to this measurement data is 2.5, and minimum value is 2.5, and coordinate longitudinal axis full scale value 406 need be greater than the peaked principle in the measurement data of being obtained, and setting coordinate longitudinal axis full scale value 406 is 3, and the initial point of the coordinate longitudinal axis 404 is zero.Simultaneously, data volume according to the measurement data that has obtained only has 1, that sets true origin 402 is labeled as 1, corresponding first measurement data that gets access to 2.5 of this mark, and on the position of the corresponding data value 2.5 on the coordinate longitudinal axis 404, in the round dot mode, show the measurement data 2.5 that has got access to.
The first dynamic data video-stream processor 505 also according to the measurement data of the maximum in whole measurement data be 2.5, minimum measurement data is 2.5, mean value is 2.5, make
Maximal value display window 407 video datas 2.5.
Minimum value display window 408 video datas 2.5.
Mean value display window 409 video datas 2.5.
Current measured value display window 412 video datas 2.5.
Trigger 507 after the first dynamic data video-stream processor 505 executes above-mentioned action, triggers described data acquisition unit 502 once more, is used for obtaining a new measurement data from measurement data storer 103 again.
Data acquisition unit 502 obtains second measurement data that is kept at the measurement data storer 203 from measurement data storer 103 again, and promptly the address is the measurement data 1.8 of DATA2, in conjunction with reference to figure 1,5,4B and subordinate list 1.
Counter 503, according to having obtained a measurement data again, counter adds 1, the total amount of data of whole measurement data that cumulative calculation has got access to is 2, and in 2 measurement data that obtained, first measurement data and second measurement data are respectively 2.5 and 1.8, and the measurement data that calculates the maximum in whole measurement data is 2.5, minimum measurement data is 1.8, mean value is 2.15.
Comparer 504, the data volume of the measurement data that has obtained according to data acquisition unit 502 is 2, and the data volume of measurement data is less than predetermined value 1024, and comparer 504 selects to connect the first dynamic data video-stream processor 505;
The first dynamic data video-stream processor 505, in order to make coordinate 401 can intactly show measurement data, be respectively 2.5 and 1.8 according to first measurement data that has obtained and second measurement data, the measurement data of maximum wherein is 2.5, and minimum value is 1.8, sets coordinate longitudinal axis full scale value 406 greater than this maximum measurement data, in originally illustrating, set coordinate longitudinal axis full scale value 406 and equal 3, the initial point of the coordinate longitudinal axis 404 is zero.
The first dynamic data video-stream processor 505 is 2 according to the total amount of data of the whole measurement data that get access to from measurement data storer 103 also, and setting true origin 402 is 1, and coordinate transverse axis full scale value 405 is 2.
The first dynamic data video-stream processor 505 is also with the corresponding whole measurement data that got access to that show of waveform display mode, even the true origin 402 corresponding measurement data that get access at first that show in whole measurement data, be that the address is the measurement data 2.5 of DATA1, the coordinate transverse axis full scale value 405 corresponding up-to-date measurement data that get access to that show in whole measurement data, be that the address is the measurement data 1.8 of DATA2, and between measurement data 2.5 and 1.8, show straight line S1.
The first dynamic data video-stream processor 505 also according to the measurement data of the maximum in whole measurement data be 2.5, minimum measurement data is 1.8, mean value is 2.15, make
Maximal value display window 407 video datas 2.5.
Minimum value display window 408 video datas 1.8.
Mean value display window 409 video datas 2.5 and 1.8 mean value 2.15.
Current measured value display window 412 video datas 1.8.
Trigger 507 after the first dynamic data video-stream processor 505 executes above-mentioned action, triggers described data acquisition unit 502 once more, is used for obtaining a new measurement data from measurement data storer 103 again.
Then, data acquisition unit 502, when from measurement data storer 103, obtaining a new measurement data again, obtain the 3rd measurement data that is kept at the measurement data storer 103 from measurement data storer 103, be that the address is the measurement data 3.4 of DATA3, in conjunction with reference to figure 1,5,4C and subordinate list 1.
Counter 503, according to having obtained a measurement data again, counter adds 1, the total amount of data of whole measurement data that cumulative calculation has got access to is 3, and in 3 measurement data that obtained, first measurement data, second measurement data and the 3rd measurement data are respectively 2.5,1.8 and 3.4, and the measurement data that calculates the maximum in whole measurement data is 3.4, minimum measurement data is 1.8, mean value is 2.57.
Comparer 504, the data volume of the measurement data that has obtained according to data acquisition unit 502 is 3, and the data volume of measurement data is less than predetermined value 1024, and comparer 504 selects to connect the first dynamic data video-stream processor 505;
The first dynamic data video-stream processor 505, in order to make coordinate 401 can intactly show measurement data, be respectively 2.5,1.8 and 3.4 according to first measurement data that has obtained, second measurement data and the 3rd measurement data, the measurement data of maximum wherein is 3.4, and minimum value is 1.8, sets coordinate longitudinal axis full scale value 406 greater than this maximum measurement data, in originally illustrating, set coordinate longitudinal axis full scale value 406 and equal 4, the initial point of the coordinate longitudinal axis 404 is zero.
In originally illustrating, the first dynamic data video-stream processor 505 is 3 according to the total amount of data of the whole measurement data that get access to from measurement data storer 103 also, and setting true origin 402 is 1, and coordinate transverse axis full scale value 405 is 3.
In originally illustrating, during whole measurement data that the first dynamic data video-stream processor 505 has got access to the corresponding video data collector 502 of waveform display mode, make the true origin 402 corresponding measurement data that get access at first that show in whole measurement data, be that the address is the measurement data 2.5 of DATA1, the coordinate transverse axis full scale value 405 corresponding up-to-date measurement data that get access to that show in whole measurement data, be that the address is the measurement data 3.4 of DATA3, and between measurement data 2.5 and 1.8, show straight line S2a respectively between measurement data 1.8 and the measurement data 3.4, S2b.
The first dynamic data video-stream processor 505 also according to the measurement data of the maximum in whole measurement data be 3.4, minimum measurement data is 1.8, mean value is 2.57, make
Maximal value display window 407 video datas 3.4.
Minimum value display window 408 video datas 1.8.
Mean value display window 409 video datas 2.5,1.8 and 3.4 mean value 2.57.
Current measured value display window 412 video datas 2.57.
Trigger 507 after the first dynamic data video-stream processor 505 executes above-mentioned action, in conjunction with reference to figure 2,4 and 5, triggers described data acquisition unit 502 once more, is used for obtaining a new measurement data from measurement data storer 103.
Then, when data acquisition unit 502 obtains a new measurement data again from measurement data storer 103, obtain the 4th measurement data that is kept at the measurement data storer 203 from measurement data storer 103, be that the address is the measurement data 2.8 of DATA4, in conjunction with reference to figure 1,5,4D and subordinate list 1.
Counter 503, according to having obtained a measurement data again, counter adds 1, the total amount of data of whole measurement data that cumulative calculation has got access to is 4, and in 4 measurement data that obtained, first measurement data, second measurement data, the 3rd measurement data and four measuring data are respectively 2.5,1.8,3.4 and 2.8, and the measurement data that calculates the maximum in whole measurement data is 3.4, minimum measurement data is 1.8, mean value is 2.625.
Comparer 504 is 4 according to the data volume of the measurement data that data acquisition unit 502 has obtained, and the data volume of measurement data is less than predetermined value 1024, and comparer 504 selects to connect the first dynamic data video-stream processor 505;
The first dynamic data video-stream processor 505, in order to make coordinate 401 can intactly show measurement data, be respectively 2.5,1.8,3.4 and 2.8 according to first measurement data that has obtained, second measurement data, the 3rd measurement data and four measuring data, the measurement data of maximum wherein still is 3.4, set coordinate longitudinal axis full scale value 406 greater than this maximum measurement data, in originally illustrating, to set coordinate longitudinal axis full scale value 406 and equal 4, the initial point of the coordinate longitudinal axis 404 is zero.
In originally illustrating, the first dynamic data video-stream processor 505 is 4 according to the total amount of data of the whole measurement data that get access to from measurement data storer 103 also, and setting true origin 402 is 1, and coordinate transverse axis full scale value 405 is 4.
In originally illustrating, the first dynamic data video-stream processor 505 is also with the corresponding whole measurement data that got access to that show of waveform display mode, make the true origin 402 corresponding measurement data that get access at first that show in whole measurement data simultaneously, be that the address is the measurement data 2.5 of DATA1, the coordinate transverse axis full scale value 405 corresponding up-to-date measurement data that get access to that show in whole measurement data, be that the address is the measurement data 2.8 of DATA4, and between measurement data 2.5 and 1.8, between measurement data 1.8 and the measurement data 3.4, show straight line S3a respectively between measurement data 3.4 and the measurement data 2.8, S3b, S3c.
The first dynamic data video-stream processor 505 also according to the measurement data of the maximum in whole measurement data be 3.4, minimum measurement data is 1.8, mean value is 2.625, make
Maximal value display window 407 video datas 3.4.
Minimum value display window 408 video datas 1.8.
Mean value display window 409 video datas 2.5,1.8,3.4 and 2.8 mean value 2.625.
Current measured value display window 412 video datas 2.8.
Trigger 507 after the first dynamic data video-stream processor 505 executes above-mentioned action, in conjunction with reference to figure 2,4 and 5, triggers described data acquisition unit 502 once more, is used for obtaining a new measurement data from measurement data storer 103 again.
In originally illustrating, be only to have preserved 4 measurement data in the supposition measurement data storer 203, from measurement data storer 103, obtained under this four measuring data conditions at data acquisition unit 502, data acquisition unit 502 can't obtain new measurement data again from measurement data storer 103, at this moment, data acquisition unit 502 will be in the waiting status of continuous reading of data.
If, under the control of processor 102, the measurement data of preserving in the measurement data storer 103 is above 1024, in conjunction with examining Fig. 1,5,4E, when being 1157 measurement data, when data acquisition unit 502 obtains the 1157th measurement data, counter 503, according to having obtained a measurement data again, the total amount of data of whole measurement data that cumulative calculation data acquisition unit 502 has got access to is 1157, and, calculate the measurement data of the maximum in whole measurement data according to 1157 measurement data that data acquisition unit 502 has obtained, minimum measurement data, average data.
Comparer 504, the data volume of the measurement data that has obtained according to data acquisition unit 502 is 1157, and the data volume of measurement data is greater than predetermined value 1024, and comparer 504 selects to connect the second dynamic data video-stream processor 506;
The second dynamic data video-stream processor 506, maximal value and minimum value according in 1157 measurement data make coordinate longitudinal axis full scale value 406 greater than this maximum measurement data, make the minimum value of the coordinate longitudinal axis 404 get minimum value less than this measurement data.According to predetermined value 1024, set the scale of coordinate transverse axis 403, make true origin 402 corresponding the 133rd measurement data that get access to of coordinate 401, coordinate transverse axis full scale value 405 corresponding up-to-date the 1157th measurement data that get access to, with waveform display mode displaing coordinate 401 pairing measurement data the time, show that between each adjacent measurement data one uses straight line, thereby form waveform Se.
The second dynamic data video-stream processor 506 also according to the measurement data of the maximum in whole measurement data, minimum measurement data, average data, makes
Maximal value display window 407 shows the measurement data of described maximum.
Minimum value display window 408 shows the measurement data of described minimum.
Mean value display window 409 shows described average data.
Current measured value display window 412 shows the measurement data of up-to-date acquisition.
Described data collector of present embodiment and collecting method thereof, show the measurement data that is kept in the measurement data storer 203 successively with the waveform mode, not only can show the variation tendency of measurement data, lively emulation and reproduce the change procedure of measurement data, and by the coordinate transverse axis 403 that constantly changes with the continuous increase of measurement data amount, constantly compress the data waveform that shows, vivo show the inherent Changing Pattern of measurement data, as the cyclical variation rule, the speed of data acquisition etc. can be used to analyze and compare and measure the inherent law or the characteristic of data.
Described data collector of present embodiment and collecting method thereof can demonstrate the measurement data of the maximum in the measurement data, minimum measurement data, average data in real time, can make things convenient for the user to capture the data of feature fast.
In the present embodiment, computing machine 100 can be carried out the real-time monitoring step 300 of dynamic measuring data simultaneously when digital multimeter 110 is carried out data acquisition.When the travelling speed that makes the real-time monitoring step 300 of dynamic measuring data during faster than the speed of the data acquisition of 100 pairs of digital multimeter 110 of computing machine, can be real-time demonstrate the measurement data that computing machine 100 gets access to from digital multimeter 110, thereby reflect the measurement situation of digital multimeter 110 truly.And by the coordinate transverse axis 403 that constantly changes with the continuous increase of measurement data amount that presents on the user interface 400, constantly compress the waveform that shows, vivo show the speed of inherent Changing Pattern of measurement data and measurement.
Below in conjunction with accompanying drawing, introduce the second selected embodiment of data collector of the present invention and collecting method thereof.
Present embodiment is different from the first above-mentioned embodiment, and in conjunction with reference to figure 1 and Fig. 2, the user interface 200 that presents on the display screen 106 of computing machine 100 also has a measurement data static analysis button 203.
In the present embodiment, when the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose measurement data static analysis button 203 on the user interface 200, processor 102 is to this sensitivity, carry out a static measurement data analysis step 600 immediately, referring to Fig. 6, Fig. 7, be used to make the display screen 106 of computing machine 100 to present a measurement data assay surface 700.And demonstrate the whole measurement data that are kept in the measurement data storer 103 in the waveform mode by measurement data assay surface 700.
In conjunction with reference to figure 2,6 and 7, in the present embodiment, measurement data assay surface 700 shows a coordinate 701, and coordinate 701 is used for showing measurement data in the waveform mode that coordinate 701 has true origin 702, coordinate transverse axis 703, the coordinate longitudinal axis 704.Coordinate transverse axis 703 subscripts are marked with coordinate transverse axis full scale value 705, and the coordinate longitudinal axis 704 subscripts are marked with coordinate longitudinal axis full scale value 706.
In the present embodiment, static measurement data analysis step 600 comprises:
A data acquisition step 601 is used for obtaining one from measurement data storer 103 and comprises a plurality of measurement data set of being docile and obedient the measurement data of preface preservation;
A determining step 602, whether the data volume of the measurement data that is used for judging that described measurement data set comprises is greater than a predetermined value; In the present embodiment, described predetermined value equals the horizontal pixel number of the display screen 106 of computing machine 100, and in the present embodiment, display screen 106 horizontal pixel numbers are 1024.Explanation as an example, for different application, this predetermined value also can other numerical value, such as being equal to or slightly less than a horizontal pixel number that is used to show the display window of measurement data.
A data compression step 603, the data volume that is used for the measurement data that comprises in described measurement data set is during greater than described predetermined value, measurement data in the described measurement data set is compressed in regular turn, produce a compressed data set, described compressed data set comprises a maximal value compressed data set, a minimum value compressed data set and a mean value compressed data set;
The data volume of the packed data that comprises in the described maximal value compressed data set equates with described predetermined value, and the packed data in the described maximal value compressed data set is to be arranged in regular turn by the maximal value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in the described minimum value compressed data set equates with described predetermined value, and the packed data in the described minimum value compressed data set is to be arranged in regular turn by the minimum value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in the described mean value compressed data set equates with described predetermined value, and the packed data in the described mean value compressed data set is to be arranged in regular turn by the mean value of each areal survey data of the measurement data in the described measurement data set to constitute;
One first static data display process step 604, be used for according to described predetermined value, set the coordinate transverse axis full scale value 705 of coordinate 701, according to the maximal value of packed data or/and minimum value is set the coordinate longitudinal axis 704 of coordinate 701, and on coordinate 701, show packed data in the described maximal value compressed data set, packed data in the minimum value compressed data set and the packed data in the mean value compressed data set with the waveform display mode respectively.And represent the zone between the waveform of the waveform of described maximal value packed data and minimum value packed data with color or pattern displaying,, show the packed data in the described mean value compressed data set with waveform display mode and outstanding color or brightness.
One second static data display process step 605, the data volume that is used for the measurement data that comprises in described measurement data set is during less than described predetermined value, set coordinate transverse axis full scale value 705 according to the data volume of whole measurement data, set the coordinate longitudinal axis 704. of coordinate 701 and on coordinate 701 according to the maximal value of measurement data and minimum value, show whole measurement data so that the waveform display mode is corresponding in regular turn.
Explanation as an example, when measured parameter value comprises simultaneously on the occasion of with negative value the time, coordinate 701 also comprises the negative direction full scale value of the coordinate longitudinal axis.The full scale value that the first static data display process step 604 and the second static data display process step 605 will be set the positive and negative twocouese of the described coordinate longitudinal axis 704 according to the maximal value and the minimum value of measurement data.
In order to clearly demonstrate present embodiment, carry out individual illustrating below, suppose that at first described predetermined value is 5, suppose again under the control of processor 102, in the address D ATA1 to DATA25 of measurement data storer 203,25 following measurement data have been preserved successively, referring to subordinate list 2 according to the order of data acquisition.
Subordinate list 2:
Figure G2009102377656D0000271
At this moment, in conjunction with reference to figure 1,2,6, if the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose measurement data static analysis button 203 on the user interface 200, processor 102 is to this sensitivity, carry out static measurement data analysis step 600 immediately, combination comprises with reference to figure 1,6,7 and subordinate list 2 again:
Data acquisition step 601, interdependent storage order reads whole 25 measurement data of wherein preserving from measurement data storer 103,
Determining step 602, because 25 measurement data are greater than predetermined value 5, the data volume that determining step 602 is judged the measurement data that is comprised in the described measurement data set is greater than described predetermined value, therefore selected next step service data compression step 603;
Data compression step 603 when 25 above-mentioned measurement data are compressed, at first according to the predetermined value 5 of supposition, is divided into 5 D1 of data group, D2, D3, D4, D5 with 25 packed datas according to its preservation in proper order.
Explanation as an example, when between measurement data and the predetermined value not being integral multiple when concerning, also can be with its remainder separately as a data group.
Then, calculate maximal value, minimum value and the mean value of the data among each D1 of data group, D2, D3, D4, the D5.
And with the maximal value among the D1 of each data group, D2, D3, D4, the D5, constitute maximal value compressed data set A, minimum value among the D1 of each data group, D2, D3, D4, the D5, constitute minimum value compressed data set B, mean value among the D1 of each data group, D2, D3, D4, the D5 constitutes mean value compressed data set C.
In originally illustrating, the compressed data set that data compression step 603 produces comprises a maximal value compressed data set A, a minimum value compressed data set B and a mean value compressed data set C, wherein:
The tactic packed data 2.2,3.0,1.8,2.0,4.0 that comprises among the maximal value compressed data set A, data volume equates with described predetermined value, and these data are respectively to be arranged in regular turn by the maximal value of the D1 of each data group of measurement data, D2, D3, D4, D5 to constitute;
The tactic packed data 0.6,2.2,0.2,0.4,2.4 that comprises among the minimum value compressed data set B, data volume equates with described predetermined value, and these data are respectively to be arranged in regular turn by the minimum value of the D1 of each data group of measurement data, D2, D3, D4, D5 to constitute;
The packed data 1.4,2.68,1.0,1.2,3.2 that the order that comprises among the mean value compressed data set C has been arranged, data volume equates with described predetermined value, and these data are respectively to be arranged in regular turn by the mean value of the D1 of each data group of measurement data, D2, D3, D4, D5 to constitute;
The first static data display process step 604, in conjunction with reference to figure 1,6,7A and subordinate list 2, according to described predetermined value, set the coordinate transverse axis full scale value 705 of coordinate 701, in originally illustrating, set the true origin correspondence 1 of the horizontal ordinate of coordinate 701, the coordinate transverse axis full scale value 705 of setting coordinate 701 equals 5, maximal value and minimum value according to packed data are respectively 4.0 and 0.2, set the coordinate longitudinal axis 704 of coordinate 701, making the maximal value 4.0 of coordinate longitudinal axis full scale value 706 greater than packed data, is 5.0, and the coordinate longitudinal axis 704 source points are 0.
And on coordinate 701, respectively with the waveform display mode, demonstrate each packed data, each packed data in the minimum value compressed data set and each packed data in the mean value compressed data set in the described maximal value compressed data set, and connect the coordinate position of adjacent packed data with straight line, form respectively corresponding described peaked maximal value waveform 710, the minimum value waveform 711 of corresponding described minimum value and the mean value waveform 712 of corresponding described mean value
In the present embodiment, also highlight zone 713 between maximal value waveform 710 and the minimum value waveform 711 with color or pattern, in this is given an example, be with the zone 713 between bright yellow color filling maximal value waveform 710 and the minimum value waveform 711, color is filled or the detailed process of pattern fills also can be from the maximal value to mean value, from the minimum value to mean value, fill again, can certainly adopt other color or pattern fills method.
In the present embodiment, also highlight mean value waveform 712 with waveform display mode and red color.
When processor 102 is carried out static measurement data analysis step 600, when determining step 602, the data volume of judging the measurement data that is comprised in the described measurement data set is during less than described predetermined value, to select carry out the described second static data display process step 605 at next step, in conjunction with reference to figure 1,6,7.
At this moment, the second static data display process step 605 will be set coordinate transverse axis full scale value 705 according to the data volume of the whole measurement data that comprised in the measurement data set, according to the maximal value of measurement data and the coordinate longitudinal axis 704 of minimum value setting coordinate 701.And on coordinate 701, with the whole measurement data of the corresponding in regular turn demonstration of waveform display mode.
For example, suppose that described predetermined value is 1024, and under the control of processor 102, the data-driven acquisition order has been preserved 4 measurement data shown in subordinate list 1 in the address D ATA1 to DATA4 of measurement data storer 103, in conjunction with reference to figure 1,6,7B and subordinate list 1, when then processor 102 is carried out static measurement data analysis step 600:
Data acquisition step 601 reads 4 measurement data of preserving in regular turn from measurement data storer 103,
Determining step 602, because the data volume of 4 measurement data is less than predetermined value 1024, so determining step 602 is judged and is selected next step to carry out the second static data display process step 605;
The second static data display process step 605, data volume according to the measurement data that is comprised in the measurement data set is set coordinate transverse axis 703, make corresponding first of the true origin 702 of coordinate 701 be kept at measurement data in the measurement data storer 103, be that the address is the measurement data 2.5 of DATA1, coordinate transverse axis full scale value 705 corresponding last be kept at measurement data in the measurement data storer 103, promptly the address is the measurement data 2.8 of DATA4;
In addition, the second static data display process step 605 is also according to the maximal value of described measurement data and the coordinate longitudinal axis 704 of minimum value setting coordinate 701.That is, be 3.4 according to the maximal value of described 4 measurement data, minimum value is 1.8, sets the meter full scale of the coordinate longitudinal axis 704, and making coordinate longitudinal axis full scale value 706 is 3.4 greater than the maximal value of described measurement data, is 4, and the minimum value of the coordinate longitudinal axis 704 is 0.
In addition, the second static data display process step 605 is also when showing whole measurement data so that the waveform display mode is corresponding in regular turn, by drawing the mode of line between the coordinate position of adjacent measurement data, the waveform of performance measurement data.As, between the coordinate position 708 of the coordinate position 707 of measurement data 3.4 and measurement data 2.8, draw line 709.
In the present embodiment, in conjunction with reference to figure 1,7 and 8, the central processing unit 102 of computing machine 100 has comprised:
A data collector 801 is used for obtaining one from measurement data storer 103 and comprises a plurality of measurement data set of being docile and obedient the measurement data of preface preservation;
A comparer 802, whether the data volume of the measurement data that is used for judging that described measurement data set comprises is greater than a predetermined value; In the present embodiment, described predetermined value equals the horizontal pixel number of the display screen 106 of computing machine 100, and in the present embodiment, display screen 106 horizontal pixel numbers are 1024.Explanation as an example, for different application, this predetermined value also can other numerical value, such as being equal to or slightly less than a horizontal pixel number that is used to show the display window of measurement data.
A data compression processor 803, the data volume that is used for the measurement data that comprises in described measurement data set is during greater than described predetermined value, measurement data in the described measurement data set is compressed in regular turn, produce a compressed data set, described compressed data set comprises a maximal value compressed data set, a minimum value compressed data set and a mean value compressed data set;
The data volume of the packed data that comprises in the described maximal value compressed data set equates with described predetermined value, and the packed data in the described maximal value compressed data set is to be arranged in regular turn by the maximal value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in the described minimum value compressed data set equates with described predetermined value, and the packed data in the described minimum value compressed data set is to be arranged in regular turn by the minimum value of each areal survey data of the measurement data in the described measurement data set to constitute;
The data volume of the packed data that comprises in the described mean value compressed data set equates with described predetermined value, and the packed data in the described mean value compressed data set is to be arranged in regular turn by the mean value of each areal survey data of the measurement data in the described measurement data set to constitute;
One first static data video-stream processor 804, be used for according to described predetermined value, set the coordinate transverse axis full scale value 705 of coordinate 701, according to the maximal value of packed data or/and minimum value is set the coordinate longitudinal axis 704 of coordinate 701, and on coordinate 701, show packed data in the described maximal value compressed data set with the waveform display mode respectively, packed data in packed data in the minimum value compressed data set and the mean value compressed data set. and represent zone between the waveform of the waveform of described maximal value packed data and minimum value packed data with color or pattern displaying, with waveform display mode and outstanding color or brightness, show the packed data in the described mean value compressed data set.
One second static data video-stream processor 805, the data volume that is used for the measurement data that comprises in described measurement data set is during less than described predetermined value, set coordinate transverse axis full scale value 705 according to the data volume of whole measurement data, according to the maximal value of measurement data and the coordinate longitudinal axis 704 of minimum value setting coordinate 701.And on coordinate 701, with the whole measurement data of the corresponding in regular turn demonstration of waveform display mode.
In order to clearly demonstrate present embodiment, suppose that at first described predetermined value is 5, suppose again under the control of processor 102, in the address D ATA1 to DATA25 of measurement data storer 103, preserved 25 measurement data shown in subordinate list 2 successively, referring to subordinate list 2 according to the order of data acquisition.
At this moment, below in conjunction with reference to figure 1,2,8, if the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose measurement data static analysis button 203 on the user interface 200, processor 102 makes this sensitivity:
Data acquisition unit 801, interdependent storage order reads from measurement data storer 103 and wherein preserves whole 25 measurement data,
Comparer 802, because 25 measurement data are greater than predetermined value 5, the data volume that comparer 802 is judged the measurement data that is comprised in the described measurement data set is greater than described predetermined value, so next step selects to connect data compression processor 803;
Data compression processor 803 when 25 measurement data are compressed, at first according to the predetermined value 5 of supposition, is divided into 5 D1 of data group, D2, D3, D4, D5 with 25 packed datas according to putting in order.
Explanation as an example, when between measurement data and the predetermined value not being integral multiple when concerning, also can be with its remainder separately as a data group.
Then, calculate maximal value, minimum value and the mean value of the data among each D1 of data group, D2, D3, D4, the D5,
And with the maximal value among the D1 of each data group, D2, D3, D4, the D5, constitute maximal value compressed data set A, minimum value among the D1 of each data group, D2, D3, D4, the D5, constitute minimum value compressed data set B, mean value among the D1 of each data group, D2, D3, D4, the D5 constitutes mean value compressed data set C.
In originally illustrating, the compressed data set that data compression processor 803 produces comprises a maximal value compressed data set A, a minimum value compressed data set B and a mean value compressed data set C, wherein:
The tactic packed data 2.2,3.0,1.8,2.0,4.0 that comprises among the maximal value compressed data set A, data volume equates with described predetermined value, and these data are respectively to be arranged in regular turn by the maximal value of the D1 of each data group of measurement data, D2, D3, D4, D5 to constitute;
The tactic packed data 0.6,2.2,0.2,0.4,2.4 that comprises among the minimum value compressed data set B, data volume equates with described predetermined value, and these data are respectively to be arranged in regular turn by the minimum value of the D1 of each data group of measurement data, D2, D3, D4, D5 to constitute;
The packed data 1.4,2.68,1.0,1.2,3.2 that the order that comprises among the mean value compressed data set C has been arranged, data volume equates with described predetermined value, and these data are respectively to be arranged in regular turn by the mean value of the D1 of each data group of measurement data, D2, D3, D4, D5 to constitute;
The first static data video-stream processor 804, in conjunction with reference to figure 1,7A, 8 and subordinate list 2, according to described predetermined value, set the coordinate transverse axis full scale value 705 of coordinate 701, in originally illustrating, set the true origin correspondence 1 of the horizontal ordinate of coordinate 701, the coordinate transverse axis full scale value 705 of setting coordinate 701 equals 5, maximal value and minimum value according to packed data are respectively 4.0 and 0.2, set the coordinate longitudinal axis 704 of coordinate 701, making the maximal value 4.0 of coordinate longitudinal axis full scale value 706 greater than packed data, is 5.0, and the minimum value of the coordinate longitudinal axis 704 is 0.
And on coordinate 701, respectively with the waveform display mode, demonstrate each packed data, each packed data in the minimum value compressed data set and each packed data in the mean value compressed data set in the described maximal value compressed data set, and connect the coordinate position of adjacent packed data with straight line, form corresponding peaked maximal value waveform 710, the minimum value waveform 711 of corresponding minimum value and the mean value waveform 712 of respective average respectively
In the present embodiment, also highlighting zone 713 between maximal value waveform 710 and the minimum value waveform 711 with color or pattern, in originally illustrating, is to fill zone 713 between maximal value waveform 710 and the minimum value waveform 711 with bright yellow color.
In the present embodiment, also with waveform display mode and outstanding color or brightness, in originally illustrating, adopt red color to highlight mean value waveform 712.
In originally illustrating, when comparer 802, the data volume of judging the measurement data that is comprised in the described measurement data set in conjunction with reference to figure 1,7,8, will select to connect the described second static data video-stream processor 805 at next step during less than described predetermined value;
At this moment, the second static data video-stream processor 805 will be set coordinate transverse axis full scale value 705 according to the data volume of the whole measurement data that comprised in the measurement data set, according to the maximal value of measurement data and the coordinate longitudinal axis 704 of minimum value setting coordinate 701.And on coordinate 701, with the whole measurement data of the corresponding in regular turn demonstration of waveform display mode.
For example, suppose that described predetermined value is 1024, and under the control of processor 102, the data-driven acquisition order has been preserved 4 measurement data shown in subordinate list 1 in the address D ATA1 to DATA4 of measurement data storer 103, in conjunction with reference to figure 1,7B, Fig. 8 and subordinate list 1, then processor 102 makes:
Data acquisition unit 801 reads 4 measurement data of preserving in regular turn from measurement data storer 103,
Comparer 802, because the data volume of 4 measurement data is less than predetermined value 1024, so comparer 802 selects next step to connect the second static data video-stream processor 805;
The second static data video-stream processor 805, data volume according to the measurement data that is comprised in the measurement data set is set coordinate transverse axis 703, make corresponding first of the true origin 702 of coordinate 701 be kept at measurement data in the measurement data storer 103, be that the address is the measurement data 2.5 of DATA1, coordinate transverse axis full scale value 705 corresponding last be kept at measurement data in the measurement data storer 103, promptly the address is the measurement data 2.8 of DATA4;
In addition, the second static data video-stream processor 805 is also according to the maximal value of described measurement data and the coordinate longitudinal axis 704 of minimum value setting coordinate 701.That is, be 3.4 according to the maximal value of described 4 measurement data, minimum value is 1.8, sets the meter full scale of the coordinate longitudinal axis 704, and making coordinate longitudinal axis full scale value 706 is 3.4 greater than the maximal value of described measurement data, is 4, and the minimum value of the coordinate longitudinal axis 704 is 0.
In addition, when the second static data video-stream processor 805 shows whole measurement data so that the waveform display mode is corresponding in regular turn, be by between the coordinate position of adjacent measurement data, drawing the mode of line, the waveform of performance measurement data.As, between the coordinate position 708 of the coordinate position 707 of measurement data 3.4 and measurement data 2.8, draw line 709.
Described data collector of present embodiment and collecting method thereof, can be used for a large amount of measurement data that is kept at measurement data storer 203 is successively carried out data analysis, when the data that exceed onscreen display capability being carried out the waveform demonstration, adopt packed compressed to measurement data, and be that packed data comprises the max min of integrated data simultaneously or also comprises mean value, therefore, when utilizing packed data to describe the waveform of measurement data, the variation characteristic that can description clearly goes out measurement data makes the principal character of waveform, the general trend feature can not lost because of data compression.
In addition, described data collector of present embodiment and collecting method thereof, when utilizing packed data to describe the waveform of measurement data, the maximal value waveform and the minimum value waveform that show integrated data simultaneously, and the span between maximal value waveform and the minimum value waveform can reflect the amplitude of variation of small set of data vividly, intuitively, is beneficial to the user and catches the bigger data of changes in amplitude.
In the present embodiment, in conjunction with reference to figure 1,7, can comprise also on the described measurement data assay surface 700 that a waveform amplification display window and a waveform amplify control, the waveform amplification display window has coordinate, the longitudinal axis is represented the parameter value of measured value, transverse axis is represented the time value or the precedence of each measurement parameter, when utilizing instruments such as button in the input block 105 of computing machine 100 or mouse to choose described waveform to amplify control as the user, can on the coordinate transverse axis 703 of coordinate 701, produce a position mark that can pull with instruments such as button in the input block 105 of computing machine 100 or mouses, the shown content of waveform amplification display window is to the position sensing at this position mark place, preservation address according to this pairing measurement data in position is a start address, the corresponding actual measurement data that shows predetermined quantity in the waveform amplification display window.
At this moment, with reference to figure 7, can also comprise on the described measurement data assay surface 700 that a vernier is provided with window, described vernier is provided with in the window, comprises that a vernier is provided with control and a vernier parameter display window,
When the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose vernier that control is set, just can generate a vertically disposed vernier mark line, utilize instruments such as button in the input block 105 of computing machine 100 or mouse also can pull the position of described vernier mark line in the waveform amplification display window at described waveform amplification display window.
Described vernier parameter display window is used to show the coordinate position of each vernier mark line, and vernier mark line measurement parameter pointed,
In described vernier parameter display window, the user can choose two vernier mark lines arbitrarily, in case choose two vernier mark lines wherein, the difference that vernier parameter display window also can demonstrate these two vernier mark lines comprises the difference of data acquisition order of the pairing measurement parameter of two vernier mark lines, the difference of measurement data etc.
At this moment,, can also comprise a logical operation control on the described measurement data assay surface 700 in conjunction with reference to figure 1,7,
When the user utilizes instruments such as button in the input block 105 of computing machine 100 or mouse to choose this logical operation control, just can with the corresponding input window of described computing control in, import or select a logical operation mode by selecting a logical operator.When the user confirms this compute mode, the described controller 102 of present embodiment carries out computing with regard to utilizing this mode to the measurement parameter that shows in the waveform amplification display window, and, be presented in the described waveform amplification display window with different colors with the parameter that produces after computing waveform as a comparison.Described mode can comprise standard operations such as trigonometric function operation, addition subtraction multiplication and division computing, also can also comprise user-defined operation rule.
Embodiments of the invention can realize that corresponding software programs can be stored in the storage medium that can read with computer software, for example in the hard disk or floppy disk of computing machine.The above only is preferred embodiment of the present invention, and not in order to restriction the present invention, all in the spirit and principles in the present invention, institute changes, is equal to conversion, improvement etc., all should be included in protection scope of the present invention.

Claims (8)

1. data collector is characterized in that having as lower member:
A data collector is used to be docile and obedient preface and obtains a new measurement data;
A counter is used for according to the measurement data that newly gets access to, the total amount of data of whole measurement data that cumulative calculation has got access to;
One first dynamic data video-stream processor, be used for total amount of data according to the described whole measurement data that got access to, set the horizontal ordinate of a screen coordinate, and on described screen coordinate, with the corresponding whole measurement data that got access to that show of waveform display mode, make the measurement data that gets access at first in the corresponding all measurement data of source point of horizontal ordinate of described screen coordinate, the up-to-date measurement data that gets access in the corresponding all measurement data of the full scale value of horizontal ordinate;
A trigger is used to make described data acquisition unit, once more obtain a new measurement data.
2. device according to claim 1 is characterized in that:
Between described counter and the described first dynamic data video-stream processor, also have a comparer, between described comparer and described trigger, also have one second dynamic data video-stream processor;
Described comparer is used to judge that whether the total amount of data of the described measurement data that has got access to is less than a predetermined value, in the total amount of data of the described measurement data that has got access to during less than described predetermined value, select to connect the described first dynamic data video-stream processor, otherwise, select to connect the described second dynamic data video-stream processor;
The described second dynamic data video-stream processor, be used for according to described predetermined value, set the horizontal ordinate of described screen coordinate, and on described screen coordinate, show its pairing measurement data with the waveform display mode, make corresponding M+1 the measurement data that gets access to of source point of the horizontal ordinate of described screen coordinate, the corresponding up-to-date measurement data that gets access to of the full scale value of horizontal ordinate, the total amount of data that described M equals described measurement data deducts described predetermined value.
3. device according to claim 2 is characterized in that:
Described counter also is used to calculate maximal value, minimum value or the mean value of measurement data;
The described first dynamic data video-stream processor also is used to show maximal value, minimum value or the mean value of described measurement data.
4. device according to claim 3 is characterized in that:
The described second dynamic data video-stream processor also is used to show maximal value, minimum value or the mean value of described measurement data.
5. collecting method is characterized in that having following operation steps:
A data acquisition step is docile and obedient preface and is obtained a new measurement data;
A calculation procedure, according to the measurement data that newly gets access to, the total amount of data of whole measurement data that cumulative calculation has got access to;
One first dynamic data display process step, total amount of data according to the described whole measurement data that got access to, set the horizontal ordinate of a screen coordinate, and on described screen coordinate, with the corresponding whole measurement data that got access to that show of waveform display mode, make the measurement data that gets access at first in the corresponding all measurement data of source point of horizontal ordinate of described screen coordinate, the up-to-date measurement data that gets access in the corresponding all measurement data of the full scale value of horizontal ordinate;
One is returned step, makes described data acquisition step, once more obtain a new measurement data.
6. method according to claim 5 is characterized in that:
Between described calculation procedure and the described first dynamic data display process step, also have a determining step,
Also has one second dynamic data display process step between the step at described determining step and described returning;
Described determining step, whether the total amount of data of judging the described measurement data that has got access to is less than a predetermined value, in the total amount of data of the described measurement data that has got access to during less than described predetermined value, select to carry out the described first dynamic data display process step, otherwise, select to carry out the described second dynamic data display process step;
The described second dynamic data display process step, according to described predetermined value, set the horizontal ordinate of described screen coordinate, and on described screen coordinate, show its pairing measurement data with the waveform display mode, make corresponding M+1 the measurement data that gets access to of source point of the horizontal ordinate of described screen coordinate, the corresponding up-to-date measurement data that gets access to of the full scale value of horizontal ordinate, the total amount of data that described M equals described measurement data deducts described predetermined value.
7. method according to claim 6 is characterized in that:
Described calculation procedure is also calculated maximal value, minimum value or the mean value of measurement data;
The described first dynamic data display process step also shows maximal value, minimum value or the mean value of described measurement data.
8. method according to claim 7 is characterized in that:
The described second dynamic data display process step also shows maximal value, minimum value or the mean value of described measurement data.
CN2009102377656A 2009-11-18 2009-11-18 Data collection device and data collection method thereof Active CN101706524B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2009102377656A CN101706524B (en) 2009-11-18 2009-11-18 Data collection device and data collection method thereof

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2009102377656A CN101706524B (en) 2009-11-18 2009-11-18 Data collection device and data collection method thereof

Publications (2)

Publication Number Publication Date
CN101706524A true CN101706524A (en) 2010-05-12
CN101706524B CN101706524B (en) 2011-12-28

Family

ID=42376763

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2009102377656A Active CN101706524B (en) 2009-11-18 2009-11-18 Data collection device and data collection method thereof

Country Status (1)

Country Link
CN (1) CN101706524B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102466745A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Digital universal meter for displaying measurement result by using waveform
CN102708578A (en) * 2012-05-16 2012-10-03 河南辉煌科技股份有限公司 Real-time curve drawing method
CN103869121A (en) * 2012-12-14 2014-06-18 北京普源精电科技有限公司 Waveform display device and method
CN107766297A (en) * 2017-10-09 2018-03-06 武汉斗鱼网络科技有限公司 Client end AP P data mean value calculation method and system
CN103677795B (en) * 2012-09-26 2018-11-09 是德科技股份有限公司 The dynamic creation method and generation system of tendency chart

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR920009910B1 (en) * 1989-12-29 1992-11-06 삼성전자 주식회사 Measurement auto-selector circuit of digital multi-meter
JP2981769B2 (en) * 1990-11-28 1999-11-22 セイコーインスツルメンツ株式会社 Waveform display device
US5764551A (en) * 1996-10-15 1998-06-09 The United States Of America As Represented By The Secretary Of The Army Fast high-signal-to-noise ratio equivalent time processor
CN101131403B (en) * 2006-08-23 2011-06-08 王悦 Digital oscillograph and its waveshape displaying method

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102466745A (en) * 2010-11-03 2012-05-23 北京普源精电科技有限公司 Digital universal meter for displaying measurement result by using waveform
CN102466745B (en) * 2010-11-03 2015-08-19 北京普源精电科技有限公司 A kind of digital multimeter of waveform display measurement result
CN102708578A (en) * 2012-05-16 2012-10-03 河南辉煌科技股份有限公司 Real-time curve drawing method
CN103677795B (en) * 2012-09-26 2018-11-09 是德科技股份有限公司 The dynamic creation method and generation system of tendency chart
CN103869121A (en) * 2012-12-14 2014-06-18 北京普源精电科技有限公司 Waveform display device and method
CN107766297A (en) * 2017-10-09 2018-03-06 武汉斗鱼网络科技有限公司 Client end AP P data mean value calculation method and system
WO2019071855A1 (en) * 2017-10-09 2019-04-18 武汉斗鱼网络科技有限公司 Client app data average value calculation method and system

Also Published As

Publication number Publication date
CN101706524B (en) 2011-12-28

Similar Documents

Publication Publication Date Title
CN101701973B (en) Measuring data acquisition device and method thereof
CN101706524B (en) Data collection device and data collection method thereof
CN102494616B (en) Length measuring method based on mobile terminal
CN109726731A (en) Electricity consumption method for detecting abnormality, device, equipment and readable storage medium storing program for executing
CN103604993B (en) Electric installation dynamic contact resistance test equipment and method of testing
CN110569849B (en) AR (augmented reality) -glasses-based multi-instrument simultaneous identification and spatial positioning method and system
CN104111436A (en) Automatic detection system and method for digital multimeter
CN105589801A (en) Mobile phone cluster test method and system
CN108319749A (en) A kind of method and device of determining indicator card
CN201653450U (en) Digital display meter automatic calibration device based on machine vision
CN102539864A (en) Digital oscilloscope and signal measuring method
CN202191302U (en) Study and office efficiency measurer
CN200989936Y (en) Logical analyzer
CN100557455C (en) The method for displaying waveform of logic analyser and logic analyser thereof
CN102104647B (en) Angle measuring mobile phone and method adopted by same for realizing angle measurement
CN101349596A (en) System and method for acquiring thermo-electric couple temperature data
CN112256153A (en) Signal acquisition, processing and display method of touch perception array
CN104237642A (en) Automatic hall resistivity testing method
CN201335718Y (en) Bubble-type water gauge
CN204330003U (en) The intelligent test system of new architecture
CN103677795B (en) The dynamic creation method and generation system of tendency chart
CN103176013A (en) Oscilloscope capable of defining measuring range by user and achieving method thereof
CN104613864A (en) Rock mass structure surface relief amplitude measuring instrument and measuring method using measuring instrument
CN106525262A (en) Diode temperature transmitter and transmission method thereof
CN103207297A (en) Method for displaying unusual waveforms intuitively

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant