Difference between revisions of "Streaming"
(Created page with "Category:Streaming Category:TranAX Fast recording and streaming to disk with '''Continuous''' or '''ECR''' mode (Event Controlled Recording) creates files with the ext...") |
|||
Line 6: | Line 6: | ||
== MHz vs MS vs MB == | == MHz vs MS vs MB == | ||
One sample requires 2Byte of data in RAM or on disk. Recording speed or sample rate is defined either in MHz or MS/s. | One sample requires 2Byte of data in RAM or on disk. Recording speed or sample rate is defined either in MHz or MS/s. | ||
− | 1MHz = 1MS/s = 1 million samples per second. | + | 1MHz = 1MS/s = 1 million samples per second. 1MS requires 2MB data in RAM or on disk. |
− | |||
== Calculate the amount of data and bandwidth == | == Calculate the amount of data and bandwidth == | ||
− | For streaming application, there are mostly multiple channels and faster sampling rates. E.g. signals of 3x TPCE-1016-4S modules with 10MS/s sample rate should be recorded directly to disk. | + | For streaming application, there are mostly multiple channels and faster sampling rates. |
+ | E.g. signals of 3x TPCE-1016-4S modules with 10MS/s sample rate should be recorded directly to disk. | ||
− | + | Number of channels: 12 | |
Sample rate: 10MS/s | Sample rate: 10MS/s | ||
Data throughput[MB/s] = Number of channels * Sampling rate[MS/s] * 2 | Data throughput[MB/s] = Number of channels * Sampling rate[MS/s] * 2 | ||
Data throughput[MB/s] = 12 * 10MS/s x 2 = 240MB/s | Data throughput[MB/s] = 12 * 10MS/s x 2 = 240MB/s |
Revision as of 16:15, 17 November 2017
Fast recording and streaming to disk with Continuous or ECR mode (Event Controlled Recording) creates files with the extension *.bdf (binary data file). These files can be opened and handled with TranAX Data Acquisition Software and saved later in Elsys's standard *.tpc5 file format.
MHz vs MS vs MB
One sample requires 2Byte of data in RAM or on disk. Recording speed or sample rate is defined either in MHz or MS/s. 1MHz = 1MS/s = 1 million samples per second. 1MS requires 2MB data in RAM or on disk.
Calculate the amount of data and bandwidth
For streaming application, there are mostly multiple channels and faster sampling rates. E.g. signals of 3x TPCE-1016-4S modules with 10MS/s sample rate should be recorded directly to disk.
Number of channels: 12 Sample rate: 10MS/s
Data throughput[MB/s] = Number of channels * Sampling rate[MS/s] * 2 Data throughput[MB/s] = 12 * 10MS/s x 2 = 240MB/s