完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在将测试平台更新为新的DAQ,GPIB和VEE 9.32。
我安装了所有东西,但是当尝试与GPIB上的任何仪器进行通信时,VEE会抛出错误。 当我尝试创建一个面板时,它会给出一个超时错误。 IO Monitor上没有显示任何内容。 Connection Expert可以与设备通信。 我尝试卸载并重新安装VEE,并出现同样的问题。 我尝试过直接IO,但仍然没有。 有任何想法吗? 以上来自于谷歌翻译 以下为原文 I am in the process of updating our test benches to new DAQ, GPIB, and VEE 9.32. I have everything installed, but VEE throws errors when trying to communicate to any instrument on the GPIB. When I try to create a panel it gives a timeout error. Nothing shows up on the IO Monitor. The Connection Expert is able to communicate with the equipment. I have tried uninstall and reinstalling VEE and the same problem occurs. I have tried direct IO and still nothing. Any ideas? |
|
相关推荐
6个回答
|
|
您从哪个版本的VEE升级?
要使旧程序正常工作,可能必须选中“文件”>“默认首选项”下的“启用Pre 8.0旧版I / O”框。 -法案 以上来自于谷歌翻译 以下为原文 What version of VEE are you upgrading from? To get your older programs to work you might have to check the "Enable Pre 8.0 Legacy I/O" box under File > Default Preferences. -Bill |
|
|
|
我让乐器说话了。 我必须启用旧版驱动程序。 现在,如果我可以完全控制DAQ卡,我正在升级到。 PCIE-6323。 发送大于32767的数字时我收到错误但我正在使用WriteDigitalU32函数。 说无法转换为Int16 ?? 以上来自于谷歌翻译 以下为原文 I got the instruments talking. I had to enable legacy drivers. Now if I can get full control of the DAQ card I'm upgrading to. PCIE-6323. I get an error when send a number bigger than 32767 yet I'm using the WriteDigitalU32 function. Saying unable to convert to Int16?? |
|
|
|
嗯,很棘手。 在VEE中有一个函数asUInt16,我用它转换为.NET类型而不是UInt32。 我会查找.NET方法System.Convert(你需要在VEE中使用Device - > Add .NET Assembly References ...菜单添加mscor才能访问该方法)。 让我们知道你是如何继续这样做的。 以上来自于谷歌翻译 以下为原文 Hmm, tricky. There is a function asUInt16 in VEE, which I've used to convert to .NET types but not a UInt32. I would look up the .NET method System.Convert ( you need to add the mscor using Device -> Add .NET Assembly References... menu in VEE to be able to access the method ). Let us know how you get on with that. |
|
|
|
bgvywerq 发表于 2018-10-10 19:46 解决了这个问题。 一些输入如何设置为Int16。 改为任何,现在它有点工作。 有没有人尝试与NI DAQ卡上的某个端口进行通信? 我已经尝试了所有的东西,但仍然想要与整个端***谈,即使我已经指定了一个范围。 谢谢, 以上来自于谷歌翻译 以下为原文 Have that issue fixed. Some how the input was set to Int16. Changed to any and now it is somewhat working. Has anyone tried communicating to a section of a port on a NI DAQ card? I have tried everything and still acts like it want to talk to the entire port even thought I have specified a range. Thanks, |
|
|
|
让它工作。 不是我想要或认为它应该工作,但工作。 我最后分别写了每一行。 我认为将端口设置为一系列行不能正常工作,或者至少我无法使其工作。 以上来自于谷歌翻译 以下为原文 Have it working. Not how I would want or think it should work, but working. I ended up writing each line separately. I think the setting the port to a range of lines does not work correctly or at least I'm unable to get it to work. |
|
|
|
感谢您的更新 - 很高兴听到您设法使其工作。 对于端口的一部分,通常的方法(我不知道NI API)将读取整个端口,设置您想要更改的位,然后再次写回整个端口。 也许这将是一种方法来做到这一点。 以上来自于谷歌翻译 以下为原文 Thanks for the update - glad to hear you managed to make it work. For a part of the port the usual way to do that ( I don't know the NI API ) would be to read the whole port, set the bits you wish to change and then write the whole port back again. Maybe that would be a way to do that here. |
|
|
|
只有小组成员才能发言,加入小组>>
1291 浏览 0 评论
2375 浏览 1 评论
2194 浏览 1 评论
2065 浏览 5 评论
2952 浏览 3 评论
1127浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
758浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
936浏览 0评论
1294浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-12-26 11:19 , Processed in 1.602977 second(s), Total 87, Slave 71 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号