完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在成功地与不使用读取终止符的乐器进行通信。
它以26个字节的数据包发送信息。 根据测量值,每个字节可以采用0和1(十进制0-255)的任意组合。 我想禁用读取终止符,以便我的测试可以运行,而不管显示的位模式。 为什么这不容易找到? 我正在读大小为26的BINARY BYT。即使将其设置为26,它也会生成错误“文件结束或没有数据”。 我可以在我的逻辑分析仪上看到数据在线,但只要看到指定的终结符出现,VISA就会退出。 我已经尝试将读取终止符更改为不同的ascii字符,希望它不会显示,但我无法通过测试。 我需要每个字节组合,0-255。 以上来自于谷歌翻译 以下为原文 I am successfully communicating with an instrument that doesn't use read terminators. It sends its information in packets of 26 bytes. Each byte can take on any combination of 0's and 1's (decimal 0-255) depending on the measured values. I want to disable read terminators so that my tests can run regardless of the bit pattern that shows up. Why is this not easy to find? I am reading BINARY BYTES of size 26. Even though it is set to size 26, it will generate an error "End of file or no data". I can see on my logic analyzer that data is on the line, but VISA is backing out as soon as what ever read terminator specified shows up. I have tried changing the read terminator to different ascii characters, hoping it wouldn't show up, but I cannot get through a test. I need every byte combination, 0-255. |
|
相关推荐
3个回答
|
|
I / O>仪器管理器右键单击仪器并选择仪器属性>高级>直接I / O将读取终止符从“ n”更改为“”祝你好运,-Bill
以上来自于谷歌翻译 以下为原文 I/O > Instrument Manager Right click your instrument and select Instrument Properties > Advanced > Direct I/O Change the Read Terminator from "n" to "" Good luck, -Bill |
|
|
|
此解决方案有效! 谢谢比尔! :) 以上来自于谷歌翻译 以下为原文 This solution works! Thanks Bill! :) |
|
|
|
欢迎您,请考虑订阅VRF。 你会得到很快的答案,因为我们立即看到帖子而不必检查论坛。 -Bill要订阅,请发送电子邮件至:“vrf-request@general.lists.keysight.com”,邮件正文中包含subscribe一词(仅限长签名和纯文本)。 以上来自于谷歌翻译 以下为原文 You're welcome and please consider subscribing to the VRF. You'll get much fast answers there because we see the posts instantly instead of having to check the forums. -Bill To subscribe please send an email to: "vrf-request@general.lists.keysight.com" with the word subscribe in the message body (no long signatures and plain text only). |
|
|
|
只有小组成员才能发言,加入小组>>
1221 浏览 0 评论
2346 浏览 1 评论
2155 浏览 1 评论
2021 浏览 5 评论
2900 浏览 3 评论
964浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
700浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
800浏览 0评论
1223浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-22 09:49 , Processed in 1.364582 second(s), Total 80, Slave 63 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号