完善资料让更多小伙伴认识你,还能领取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. 附件 |
|
|
|
只有小组成员才能发言,加入小组>>
2106 浏览 1 评论
1867 浏览 1 评论
1722 浏览 5 评论
2591 浏览 3 评论
将设备连接到PC并通过asic格式读取数据然后我的网络分析仪挂起
1567 浏览 4 评论
511浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
368浏览 0评论
1425浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
281浏览 0评论
2263浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-5-6 10:50 , Processed in 1.206954 second(s), Total 75, Slave 59 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号