找回密码
 注册
LabVIEW+单片机学习套件全套教程资料下载[免费]LabVIEW论坛精华列表贴USB0816数据采集卡《LabVIEW宝典》
LabWindows/CVI论坛精华贴NET0816以太网数据采集卡RC0210远程设备授权系统 关闭关停锁定打开设备 户外分布式数据采集
NET1624低速高精度以太网数据采集卡WIFI0824SD无线WIFI网络数据采集卡脱机运行 SD存储 小尺寸微型 串口采集远程采集 安卓 手持移动采集 纪录仪
查看: 2861|回复: 3

[转帖]数据实时显示与存储

[复制链接]
发表于 2004-11-27 02:28:25 | 显示全部楼层 |阅读模式
<>此贴为转贴:</P>
<>曾见到有朋友找数据实时显示与存储的资料,在此我贴一些关于自己所作项目的内容。由于某些原因,不能够将程序完整贴出,只给出了主VI关键部分的框图,sub vi 数据采集与转换的完整代码,sub vi 数据保存的完整代码
在程序里采集7路信号,并发出两路控制信号(图中没显示),采样率为2K。
程序可以持续进行数据的实时采集显示保存。
成功进行实时显示与保存与一下几个因素有关:
缓冲区的大小。当采样率*采样通道数提高后,增大缓冲区
计算机的整体性能,尤其是硬盘的读写速度。

程序在进行过一次优化后采样率设置为5k,可以正常工作。
<img src="attachments/dvbbs/2004-11/20041126182821230.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2004-11/20041126182821230.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
<img src="attachments/dvbbs/2004-11/20041126182821678.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2004-11/20041126182821678.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
</P>
[此贴子已经被作者于2005-9-19 13:32:19编辑过]

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

×
发表于 2005-9-21 04:26:47 | 显示全部楼层
表面上看,我觉得你这个程序不可以做高速数据采集,因为少了一个设置
回复 顶

使用道具 举报

frankieyang 该用户已被删除
发表于 2005-9-19 19:17:28 | 显示全部楼层
例程呢,版主
回复 顶

使用道具 举报

发表于 2005-9-19 23:44:58 | 显示全部楼层
<>用datasock不好吗?</P>
回复 顶

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|cpubbs论坛. ( 粤ICP备09171248号 )

GMT+8, 2026-9-29 05:48 , Processed in 0.044862 second(s), 14 queries , Gzip On, File On.

Powered by Discuz! X5.0

© 2001-2026 Discuz! Team.

快速回复 返回顶部 返回列表