完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我已经设置了一个VI,它使用53220A对频率进行一段时间的采样并计算统计数据(Avg,Max,Min,STDev)。
我已经成功地将结果输出到我的Vi的前面板,但是我在将结果写入文件时遇到了麻烦。 有什么建议我如何从输出缓冲区获取字符串到excel文件(数组)? 我附加了我的vi,生成的文件包含无意义的数据。编辑:funkytuqe于2012年6月27日下午2:37 以上来自于谷歌翻译 以下为原文 I have set up a VI that samples frequency with a 53220A for a period of time and computes stats (Avg, Max , Min, STDev). I have been successful in outputting the results to the front panel of my Vi, but i am having troubles writing results to file. Any advice how i can get the string from the output buffer to an excel file (array)? I have attached my vi, the resulting file contains un-meaningful data. Edited by: funkytuqe on Jun 27, 2012 2:37 PM 附件 |
|
相关推荐
1个回答
|
|
|
好吧,我明白了。
我使用上面发布的VI并使用build array函数修改插入excel文件。 通过写入然后读取文本文件创建标题(无法弄清楚如何直接执行此操作以获得excel)。 我对整个LabView的事情还比较陌生,但是这个VI似乎产生了我想要的结果,这可能是漫长的过程,并且可能有更直接的方法。 如果您愿意,请继续使用它,计数器功能是在安捷伦连接专家中构建的,然后将SCPI输出到LV中的VISA中。 以上来自于谷歌翻译 以下为原文 OK, i got it figured. I Used the above posted VI and modified with build array functions to plug into an excel file. Created a header by writing then reading to a text file (could not figure out how to do this directly to excel). I am fairly new to this whole LabView thing but this VI seems to produce the results that i want, this may be the long way around and there may be a more direct approach. Go ahead an use it if you like, the counter functions were built in Agilent connection expert, then exported the SCPI out into VISA in LV. 附件 |
|
|
|
|
只有小组成员才能发言,加入小组>>
1842 浏览 0 评论
2738 浏览 1 评论
2640 浏览 1 评论
2447 浏览 5 评论
3452 浏览 3 评论
1844浏览 0评论
416浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 19:23 , Processed in 0.507321 second(s), Total 71, Slave 54 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
16573