完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
电子发烧友论坛|
我正在修改一个VEE PRO 6.0程序,它有一个带有地址字段的直接I / O到Vee PRO 9.2。
我看到地址字段不再可用,但VISA地址可以动态更改。 我能够修改3499的直接I / O,但是我遇到了N6702电源的问题。 我可以动态地更改地址并通信IDN,但如果我尝试发送放大器或伏特命令,它将无法始终工作。 我的程序通过两个地址循环到四个通道中的每一个。 我可以更新通道2到4的放大器设置,但通道1不会更新。 电压命令也不起作用。 当我更改地址并发送* IDN *并取回两个不同单位的序列号时。 设置直接I / O和/或仪器的正确方法是什么? 是否需要在编写直接I / O之前创建仪器?感谢您的帮助,Will 以上来自于谷歌翻译 以下为原文 I am modifing a VEE PRO 6.0 program that has a direct I/o with an address field to Vee PRO 9.2. I see that the address field is no longer available, but that the VISA address can be changed dynamically. I was able to modify a direct I/o for a 3499, but I am having trouble with an N6702 power supply. I can dynamically change the address and comunicate an IDN, but if i try and send amp or volt commamnds it won't always work. My program cycles through two addresses to each of the four channels. I can update the amp settings for channels 2 to 4, but channel 1 won't update. Also the voltage commands don't work. When I change the address and send a *IDN* and get back both different units serial numbers. What's the proper way to set up the direct I/O and or instrument? Does the instrument need to be created before the direct I/O is written? Thank you for any help, Will |
|
相关推荐
2个回答
|
|
|
I / O监视器非常有用,谢谢你的建议。
虽然我仍然不确定是什么导致了这个问题,但我能够排除GPIB命令。 在一个用户函数中,* IDN正常工作,但是当我克隆此直接I / O并将其粘贴到另一个用户函数时,它将无法正常工作。 I / O监视器报告的地址显示为“GPIB-124 :: INTFC”在workinig Direct I / O中显示为“GPIB0 :: 6 :: INSTRWill 以上来自于谷歌翻译 以下为原文 The I/O monitor was very helpful, thank you for the suggestion. While I'm still not sure what's causing the problem, I was able to rule out the GPIB commands. In one user function the *IDN works correctly, however when I clone this direct I/O and paste it in another user function it won't work. The address reported by the I/O monitor shows up as "GPIB-124::INTFC" In the workinig Direct I/O its show as "GPIB0::6::INSTR Will |
|
|
|
|
|
更多信息:错误之后,我检查了Insrtument管理,并且出现了GPIB-124上的内容。
我可以查看属性并关闭适当的仪器,然后仪器返回到GPBI0.Will 以上来自于谷歌翻译 以下为原文 Some more info: After the error, I checked the Insrtument manage and the instrunment shows up on GPIB-124. I can look at the properties and close the properites and the instrument goes back to GPBI0. Will |
|
|
|
|
只有小组成员才能发言,加入小组>>
1844 浏览 0 评论
2739 浏览 1 评论
2640 浏览 1 评论
2449 浏览 5 评论
3458 浏览 3 评论
1844浏览 0评论
416浏览 0评论
/9
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-12-1 22:43 , Processed in 0.596023 second(s), Total 73, Slave 56 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191

淘帖
1472