完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在使用labview来控制网络分析仪E5072A。
我想从VISA输出中获取二进制数据,而不是默认的字符串格式。 在这种情况下,我想速度会更快,因为我们直接获得机器语言,因此CPU不需要将Binary转换为String。 我按照E5072A帮助中的说明操作:在二进制格式读取数据时,它表示添加命令“:FORM:DATA REAL”。 我添加了它,但我得到的不是二进制值,而是一串“#6000128?¢?L¥åÀFRháÙ”¸À,7FXwÆÀelÍ=Õ‰À»Ó“@NûøÕ¨»Àr·UÀP§%NÀ ÏŽÔ¯¯@eÂÊæ°À86îHŠ@EyTÜuÀ¢½½œÀ(KÀCsù@ b±‡Sbμ-“,然后六角显示,我只得到那些字符串字符的十六进制格式,而不是二进制值I 希望。谢谢你的帮助! 以上来自于谷歌翻译 以下为原文 I am using Labview to control the Network Analyzer E5072A. I want to get the binary data from the VISA output, not the default string format. In this case, I guess the speed will be faster since we get the machine language directly so that the CPU does not need to convert Binary to String. I followed the instruction from the E5072A help: in Reading Data in Binary Format , it indicates to add the command ":FORM:DATA REAL". I added it, but what I got was not binary values, but a string of "#6000128À ¢?L¥øÀFRháÙ“¸À ‚7FXwÆÀelÍ=Õ‰ À ýå»Ó“ @NûøÕ¨ »À r· U ÀP§% NÀ ÏŽ Ôá¯@e ÂÊæ° À 86î HŠ@EyTÜ uÀ ¢É½¿œÃÀU (K À Cs ù@b±‡Sbµ—", then Hex display, I only got the Hex Format of those string characters, not the binary value I wanted. Thank you for your help! |
|
相关推荐
1个回答
|
|
> {quote:title = Yimi写道:} {quote}> ...非常重要的一步是在“Instrument Control Parsing.vi”中选择“Unflatten from string”的“big-endian,network order”。
然后我得到了我想要的东西。 Agilent-VEE非常好! >我同意Agilent-VEE。 更多的学校应该将它用于他们的课程和实验室。 在VEE中,字节顺序是仪器IO对象属性的一部分,它在Windows环境中的默认值与我们的仪器之一对话总是正确的,所以我不再考虑它了:-) 以上来自于谷歌翻译 以下为原文 > {quote:title=Yimi wrote:}{quote} > ... the very important step is to choose the "big-endian, network order" of the "Unflatten from string" in the "Instrument Control Parsing.vi". Then I got what I wanted. Agilent-VEE is very good! > I agree about Agilent-VEE. more schools should be using it for their courses and labs. In VEE, the byte order is part of the properties of the instrument IO object and its default value in a windows environment talking to one of our instrument is always correct, so I don't think about it much anymore :-) |
|
|
|
只有小组成员才能发言,加入小组>>
1356 浏览 0 评论
2409 浏览 1 评论
2238 浏览 1 评论
2093 浏览 5 评论
2984 浏览 3 评论
1322浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
801浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
1108浏览 0评论
1356浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-2-3 00:46 , Processed in 1.733355 second(s), Total 74, Slave 58 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号