完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
我正在尝试使用National Instruments网站上提供的labview驱动程序来控制33522A函数发生器。
现在我只是运行一个示例VI,以确保在将其集成到我的项目之前了解一切是如何工作的。 当我第一次启动函数发生器时,我可以在MAX中看到它并且VI运行正常。 然而,在我停止VI并尝试再次运行之后,MAX再也看不到它了,LabVIEW开始给我错误,直到我循环上电。 我第一次尝试在成功运行后运行它会给我以下错误:VISA:(HEX 0xBFFF0015)超时在操作完成之前到期。 每次我尝试运行它后,它会给我一个不同的错误:VISA:(Hex 0xBFFF0011)位置信息不足或系统中没有设备。 我仍然可以在Windows设备管理器中看到它,但MAX无法看到它,LabVIEW将不会与它进行交互,直到我循环上电。我在Windows 7上运行LabVIEW 2009 SP1(32位)。我 我也尝试在另一台计算机上运行它与几乎相同的设置,但一些模块的较新版本(但可以在下面的链接找到相同的驱动程序)和经历完全相同的问题。驱动链接:http:// sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=17973非常感谢任何帮助。 以上来自于谷歌翻译 以下为原文 I'm trying to control the 33522A function generator using the LabVIEW drivers provided on the National Instruments website. Right now I'm just running one of the example VIs in order to make sure I understand how everything works before integrating it into my project. When I first start up the function generator I can see it in MAX and the VI runs fine. However, after I stop the VI and try to run it again MAX can no longer see it and LabVIEW starts giving me errors until I cycle the power. The first time I try to run it after a successful run it gives me the following error: VISA: (HEX 0xBFFF0015) Timeout expired before operation completed. and every time I try to run it after that it gives me a different error: VISA: (Hex 0xBFFF0011) Insufficient location information or the device is not present in the system. I can still see it in the Windows Device Manager, but MAX can't see it and LabVIEW won't interact with it until I cycle the power. I'm running LabVIEW 2009 SP1 (32-bit) on Windows 7. I've also tried running it on another computer with pretty much the same setup but newer versions of some of the modules (but the same driver which can be found at the link below) and experienced exactly the same problem. Driver link: http://sine.ni.com/apps/utf8/niid_web_display.model_page?p_model_id=17973 Any help would be greatly appreciated. |
|
相关推荐
10个回答
|
|
我实际上没有使用ni驱动器和这个乐器。
我总是在labview中使用签证发送仪器的scpi命令。 我创建了一个视频,让人们开始介绍如何执行此操作。查看此处的示例演示了如何通过labview创建/下载33522A的大型任意波形(对于超过1M点的波形,您将需要16M arb选项):viewJust 想知道如果您遇到驱动程序问题,还有其他选择。 话虽如此,我会在某个时候看看司机,看看我是否能弄清楚发生了什么。 仅供参考.... NI编写了labview驱动程序,如果我们发现了一个错误,就必须将其提交给NI。 以上来自于谷歌翻译 以下为原文 I haven't actually used the ni Driver with this instrument. I have always just sent the instrument's scpi commands using visa in labview. I created a video to get people started on how to do this. view And here is an example that shows how to create/download large arbitrary waveforms to the 33522A via labview (for waveforms over 1M points you will need the 16M arb option): view Just wanted to let you know there are other options if you are having problems with the driver. Having said that I will take a look at the driver sometime and see if I can figure out what's happening. FYI.... NI wrote the labview driver so if we do find a bug it will have to be submitted to NI. |
|
|
|
你是如何连接乐器的?
USB,LAN还是GPIB? 以上来自于谷歌翻译 以下为原文 How were you connecting to the instrument? USB, LAN or GPIB? |
|
|
|
您使用的是什么版本的NI-VISA?
(您可以通过在'软件'下查看NI-MAX来找到它)您使用了什么具体示例?您是否需要为PC或仪器供电? 以上来自于谷歌翻译 以下为原文 What version of NI-VISA were you using? (You can find that out by looking in NI-MAX under 'Software') What specific example were you using? Did you have to powercycle the PC or the instrument? |
|
|
|
仪器通过USB连接。
我相信我需要的计算机是VISA 4.6.2。 我正在使用的示例称为“Agilent 3352x Series Standard Waveform.vi”。 此外,我不得不循环仪器的电源,而不是PC。 以上来自于谷歌翻译 以下为原文 The instrument is connected through USB. I believe the computer I need to get it working on has VISA 4.6.2. The example I'm using is called "Agilent 3352x Series Standard Waveform.vi". Also, I'm having to cycle the power on the instrument, not the PC. |
|
|
|
你好,我安装了驱动程序,通过u***连接我的仪器,确保我有NI VISA 4.6.2,然后我运行了示例,我没有任何问题。你提到你停了一些东西然后不得不重新启动
仪器。 也许你可以带我一步一步地完成你正在做的事情。 发送仪器的函数发生器设置是什么? 随意使用截图或其他任何您认为可以帮助我重复此操作的内容。 以上来自于谷歌翻译 以下为原文 Hello, I installed the driver, connected my instrument via u***, made sure I had NI VISA 4.6.2, and then I ran the example and I didn't have any problems. You mentioned you stopped something and then had to power cycle the instrument. Maybe you could take me step by step through what you are doing. What are the function generator settings you are sending the instrument? Feel free to use screenshots or anything else that you think will help me be able to repeat this. |
|
|
|
我没有更改函数发生器的任何设置,我只是在我的计算机上安装了驱动程序并将其插入,它似乎工作。
VI运行完毕后会出现问题。 如果我试图再次运行它而没有先打开仪器的电源,它会给我带来错误。 我明天能否看到一些截图。 以上来自于谷歌翻译 以下为原文 I haven't changed any settings on the function generator, I just installed the driver on my computer and plugged it in and it seemed to work. The problem happens after a VI finished running. If I try to run it again without first cycling the power on the instrument it gives me errors. I'll see if I can get some screenshots tomorrow. |
|
|
|
以下是我第一次启动设备后的一些screenshots.MAX:http://img148.imageshack.us/img148/7029/maxbefore.png第二次运行VI后出现的错误:http://img850.imageshack。
发生错误后我们/ img850 / 4786 / error1z.pngMAX:http://img23.imageshack.us/img23/1818/maxafter.png每次运行VI时发生的错误,直到我循环启动设备: http://img834.imageshack.us/img834/443/error2m.png 以上来自于谷歌翻译 以下为原文 Here are some screenshots. MAX after I first power on the device: http://img148.imageshack.us/img148/7029/maxbefore.png The error I get after running the VI a second time: http://img850.imageshack.us/img850/4786/error1z.png MAX after the error occurs: http://img23.imageshack.us/img23/1818/maxafter.png The error that occurs every subsequent time I run the VI until I cycle the power on the device: http://img834.imageshack.us/img834/443/error2m.png |
|
|
|
好吧,我一直在谈论NI的支持。
该问题的根本原因尚不清楚,但有一种解决方法可以让您启动并运行。 安装Agilent I / O库,只要系统服务“Agilent IO Library Service”正在运行(默认情况下一直是这样),问题就会消失。您可以在此处下载:http://www.agilent .com / find / iosuiteI我的PC上安装了NI软件和Agilent I / O库服务,因此我最初无法重现这一点。 以上来自于谷歌翻译 以下为原文 Well I've been speaking with NI support a bit. The root cause of the issue is not yet known but there is a workaround that will get you up and running. Install Agilent I/O libraries, and as long as the system service "Agilent IO Library Service" is running (which is all the time by default) the problem will go away. You can download it here: http://www.agilent.com/find/iosuite I have both NI software and the Agilent I/O library service installed on my PC thus I was not able to reproduce this initially. |
|
|
|
|
|
|
|
|
|
|
|
只有小组成员才能发言,加入小组>>
1240 浏览 0 评论
2352 浏览 1 评论
2164 浏览 1 评论
2030 浏览 5 评论
2914 浏览 3 评论
983浏览 1评论
关于Keysight x1149 Boundary Scan Analyzer
713浏览 0评论
N5230C用“CALC:MARK:BWID?”获取Bwid,Cent,Q,Loss失败,请问大佬们怎么解决呀
813浏览 0评论
1240浏览 0评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2024-11-30 09:23 , Processed in 1.835432 second(s), Total 95, Slave 80 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号