Variable-frequency test data sampling and storage method

A technology for test data and data storage, applied in the field of data processing, can solve problems such as cumbersome processes, and achieve the effect of avoiding the underlying operation of hardware and proofreading work

Inactive Publication Date: 2014-01-29
蔡远文
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The setting and changing of these parameters must call the corresponding configuration function before each test, and every change of the underlying parameters of the hardware needs to be self-checked and the measurement error and accuracy need to be re-checked, the process is cumbersome

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Variable-frequency test data sampling and storage method
  • Variable-frequency test data sampling and storage method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] The method for variable-frequency sampling and storage of test data in the present invention does not change the data collector, buffer and memory configured at the bottom of the hardware, and uses software to control the interval time of collecting and storing data, thereby realizing changing the frequency of data sampling and storage at any time. At the same time, the binary data format is used to realize the compressed storage of the collected data, and the data can be reorganized according to the requirements of data recording and interpretation, and output in the form of waveform and text.

[0022] The method for variable frequency sampling and storage of test data of the present invention comprises the following steps:

[0023] 1) The data collector collects data with the actual frequency of f being 1000Hz;

[0024] 2) Store the collected data by channel to the buffer ReadBuf with n channels, the data buffer time is 1s, and each channel corresponds to 1000 data; ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention provides a variable-frequency test data sampling and storage method, which comprises the following steps of: acquiring data at an actual frequency f of 1,000 Hz; respectively storing the acquired data into a cache with n channels according to the channels; setting the acquisition frequency of each channel and acquiring the effective number of data to be stored at each time; and gradually traversing the data from 0 to 999 in the channels of the cache, sequentially compressing the acquired data in the cache in the form of binary according to the sampling frequency of each channel, recording channel information and relevant information on the head and the tail, and storing to a memory. The variable-frequency test data sampling and storage method has the advantages that a data sampling and storage frequency is changed at any time, and the hardware bottom layer configuration is not changed, so that frequent hardware bottom layer operation and calibration work are avoided, and a tester can flexibly select the data to be recorded conveniently.

Description

technical field [0001] The invention relates to a data processing method, in particular to a method for variable-frequency sampling and storage of test data. Background technique [0002] In the prior art, the sampling frequency of test data is generally set by hardware switch jumpers or by changing configuration function parameters. In order to ensure the reliability of test data collection, once the frequency is set, it is rarely changed. If you need to change the acquisition frequency, you must manually set the jumpers and switches of the hardware, or call the underlying hardware configuration function. The work efficiency is low, and it cannot adapt to the test requirements of many acquisition channels and frequent frequency changes. At the same time, frequently changing the acquisition frequency of the hardware may reduce the reliability of the acquisition system. [0003] For example, an acquisition card (PXI-2200) needs to set at least 4 counter parameters during the...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Patents(China)
IPC IPC(8): G06F17/40
Inventor 蔡远文程龙李岩解维奇姚静波辛朝军张宇王华
Owner 蔡远文
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products