当前位置:网站首页>LabVIEW关于TDMS和Binary存储速度
LabVIEW关于TDMS和Binary存储速度
2022-06-12 04:34:00 【LabVIEW开发】
LabVIEW关于TDMS和Binary存储速度
使用TDMSwrite写到文件时,怎么体现它的高效性的?存储方式和Write to binary file有什么区别?
简单的测试了一下,向一个文件中写大概39M的波形数据,使用TDMS Write和Write to Binary file所用的时间相差不大,约850ms。在存储速度上,并没有体现TDMS文件的优越性。
那么,在LabVIEW中,什么的存储速度是最快的。
所谓高效,其实体现在多方面,高速的流盘是高效的一个方面,其他需要考虑的还有,比如文件组织是否良好,文件是否跨软件、跨平台等等,当然,这都需要根据具体应用而定。
TDMS的存储方式和binarfile相比,最大的区别是:TDMS存储的是符合一个TDMS的三层结构的文件:文件、通道组和通道这三层结构,组织结构良好,而binary文件是把LabVIEW中的数据直接放到文件中去,不存在一个分组的概念。其次,TDMS可以在除了LabVIEW之外的其他绝大部分NI软件上用,比如CVI、SignalExpress、DIAdem等等,binary文件只是LabVIEW中能用,其他软件暂时不支持。
39M的数据分别写到TDMS和binary上去确实没有太大的差别。我们实验过,用大量的数据,TDMS的速度比Binary也不会有太大的差别,速度上的差别基本可以控制在5%以内,完全可以满足用户的需求,而且如果用TDMS文件,你拿到的还是一个组织优良以及有上述优点的文件。
如果要长时间的高速流盘,每秒钟有80M以上的数据,那么一般的硬盘达不到这样的要求。建议还是升级成磁盘阵列吧。
LabVIEW、LabVIEW开发、LabVIEW编程、LabVIEW程序
上文中提到的例子和资料,均在word中的附件里,可点击下载。进一步了解,可联系们。
边栏推荐
- Bearpi IOT serial port transceiver 1- normal mode
- 分布式锁介绍
- MySQL master-slave construction and Django implementation of read-write separation
- How to use union all in LINQ- How to use union all in LINQ?
- Unable to resolve dependency tree
- WiFi module scheme of the wireless Internet of things, esp32-s3 chip technology, helps the equipment to be intelligent
- 智能面板WiFi聯動技術,ESP32無線芯片模組,物聯網WiFi通信應用
- mysqld: Can‘t create directory ‘D: oftinstall\mysql57 (Errcode: 2 - No such file or directory)
- Operation of simulated examination platform for 2022 safety officer-b certificate examination questions
- [wechat applet] the mobile terminal selects and publishes pictures
猜你喜欢

How Windows installs multiple versions of MySQL and starts it at the same time

Why should a redis cluster use a reverse proxy? Just read this one

Function realization and application of trait

Recommended system cleaning tools, cocktail Download

Operation of simulated examination platform for 2022 safety officer-b certificate examination questions

Illustrating the use of Apache skywalking UI
![Work report of epidemic data analysis platform [6.5] epidemic map](/img/88/1647a38f38f838ac50ca6ae2b2ec7a.png)
Work report of epidemic data analysis platform [6.5] epidemic map

Bearpi IOT serial port transceiver 1- normal mode

2.28 (defect filling) data type conversion exception handling part multi threading

命令执行漏洞详解
随机推荐
Work report of epidemic data analysis platform [1] data collection
智能面板WiFi聯動技術,ESP32無線芯片模組,物聯網WiFi通信應用
JWT學習與使用
Epidemic data analysis platform work report [8.5] additional crawlers and drawings
後續版本是否會支持代碼塊搜索高亮顯示
JS function and variable have the same name (function and variable parsing rules)
Emperor Wu of Wei knew that he could not correct it, so he stopped offering his words
leetcode 205. Isomorphic Strings
Summary of sequential, modulelist, and moduledict usage in pytorch
In the era of smart retail, Weimeng reshapes the value of "shopping guide"
C# Task. Waitall method
2022 examination questions and simulation examination for crane driver (limited to bridge crane)
Based on Visual Studio code Net Maui cross platform mobile application development
D1 Nezha development board power on record
WPF data binding (IV)
SQL注入上传一句话木马(转)
Some points needing attention about thread pool
L1-066 cat is liquid (5 points)
How to use union all in LINQ- How to use union all in LINQ?
Operation of simulated examination platform for theoretical question bank of G2 utility boiler stoker in 2022