完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
|
大家好,我使用的是Visa-Com和C#。我正在尝试从3458A读取ReadIEEEBlock。
在我使用ReadNumber-Function之前,它工作正常。 但现在useioDmm.ReadIEEEBlock(IEEEBinaryType.BinaryType_R8,true,true);我得到一个超时错误。 该措施已经启动,并且通过代码确保有数据。在我看来,没有****字符即将到来。 我如何设置3458A。 现在它配置了:OFORMAT DREAL,TerminationCharacter 13,TerminationCharacterEnabled。也许某人有一个小例子。感谢沃尔克 以上来自于谷歌翻译 以下为原文 Hello all, I am using Visa-Com and C#. I am trying to ReadIEEEBlock from an 3458A now. Before I was using the ReadNumber-Function and It worked. But now using ioDmm.ReadIEEEBlock(IEEEBinaryType.BinaryType_R8, true, true); I get an Time-OUT error. The measure was started and by code it is assured that there is data. It seems to me, that there is no **** character coming. How I have to set the 3458A up. Right now it is configured with: OFORMAT DREAL, TerminationCharacter 13, TerminationCharacterEnabled. Perhaps someone has a little example. Thank Volker |
|
相关推荐
2个回答
|
|
|
3458A并不真正支持IEEEBlock,这是一种非常特殊的格式。
使用OFORMAT DREAL,数据以字节流的形式返回,您需要读取数据字节并自行解析。 试试我附上的例子(源代码和VS2008项目),如果那就是你想要的东西,请告诉我.Program.txt Program.txt1.9 KB 以上来自于谷歌翻译 以下为原文 The 3458A doesn't really support IEEEBlock, which is a very specific format. With OFORMAT DREAL, the data comes back as a byte stream and you need to read the data bytes and parse them yourself. Try out the example I've attached (source code, and VS2008 project), and let me know if thats what you were looking for. Program.txt 附件
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1845 浏览 0 评论
2739 浏览 1 评论
2640 浏览 1 评论
2450 浏览 5 评论
3460 浏览 3 评论
1845浏览 0评论
417浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-2 14:05 , Processed in 1.002648 second(s), Total 79, Slave 61 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
4264