我正在修改一个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 set
tings 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
0