当前位置:网站首页>LabVIEW關於TDMS和Binary存儲速度
LabVIEW關於TDMS和Binary存儲速度
2022-06-12 04:37: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中的附件裏,可點擊下載。進一步了解,可聯系們。
边栏推荐
- WiFi module scheme of the wireless Internet of things, esp32-s3 chip technology, helps the equipment to be intelligent
- Will subsequent versions support code block search highlighting
- [FPGA chaos] implementation of FPGA based chaotic system Verilog
- Detailed explanation of software testing process
- Question for the 3D printing lattice?
- 2022 fusion welding and thermal cutting recurrent training question bank and simulation examination
- 分布式锁介绍
- Work report of epidemic data analysis platform [42] codenet
- leetcode797. All possible paths (medium)
- PHP and JS remove all spaces
猜你喜欢

Using datetime in MySQL

eBPF系列学习(4)了解libbpf、CO-RE (Compile Once – Run Everywhe) | 使用go开发ebpf程序(云原生利器cilium ebpf )

Smart Panel wifi Linkage Technology, esp32 wireless chip module, Internet of Things WiFi Communication Application

Install pycharm under Kali and create a shortcut access

Zabbix6.0 new feature GEOMAP map marker can you use it?

QT compiling security video monitoring system 44 video uploading

Legendary biological car-t has been approved by FDA, becoming the first domestic cell therapy product to successfully go to sea

Bearpi IOT lighting LED

智能面板WiFi联动技术,ESP32无线芯片模组,物联网WiFi通信应用

Create a new table in the database. There was no problem before. Today
随机推荐
Interview must ask: summary of ten classic sorting algorithms
Differences between in and not in, exists and not exists in SQL and performance analysis
Street lighting IOT technology scheme, esp32-s3 chip communication application, intelligent WiFi remote control
kali下安装pycharm并创建快捷访问
QT experiment - gold coin flipping games
Thousand word masterpiece "programming biography"
[SC] OpenService FAILED 5: Access is denied.
Dynamic gauge (15) - Minimum toll
Esp32c3 remote serial port
请用递归的方法计算下列函数的值:px(x,n)=x-x^2 +x^3- x^4+… ((-1)n-1)(xn) n>0 **输入格式要求:“%lf%d“ 提示信息:“Enter X and N:”
Solid programming concepts
Construction case of Expressway Precast Beam Yard (with scheme text)
Oracle's instr()
2022 fusion welding and thermal cutting recurrent training question bank and simulation examination
Smart panel WiFi linkage technology, esp32 wireless chip module, Internet of things WiFi communication application
[wechat applet] the mobile terminal selects and publishes pictures
Kinematic gauge (14) - Triangle optimal path problem
2.28 (defect filling) data type conversion exception handling part multi threading
How to make datasets, train them into models and deploy them based on yolov5
MFC General dialog color dialog