[心缘地方]同学录
首页 | 功能说明 | 站长通知 | 最近更新 | 编码查看转换 | 代码下载 | 常见问题及讨论 | 《深入解析ASP核心技术》 | 王小鸭自动发工资条VBA版
登录系统:用户名: 密码: 如果要讨论问题,请先注册。

[备忘]VISA32,执行*RST后频谱仪界面不动~~

上一篇:[备忘]VISA32调用,函数返回值VI_SUCCESS_MAX_CNT和VI_SUCCESS的不同~~
下一篇:[整理]VISA控制频谱仪,SCPI命令出错的判断~~

添加日期:2012/9/6 17:35:44 快速返回   返回列表 阅读3494次
通过VISA32连接频谱仪后,

发送设置命令后发现频谱仪界面不动了,而使用Agilent IO那个就没有问题。

切换到Local模式,发现实际上,命令生效了,只是界面不动了而已~~

查看连接代码后,发现连接后,执行了*RST和*CLS命令,

尝试后,发现,加上*RST的话,界面就会不动,去掉的话,界面就动~~~~

搜索后:
-----------------------------------
The *RST, full preset command, is defined in "IEEE Std 488.2-1992", 10.32. *RST is the recommended command when performing a full preset on the test set. A *RST restores the majority of settings to their default values.

The various preset commands affect the trigger state as follows:

*RST sets the trigger arm to single.

SYSTem:PRESet[1] and SYSTem:PRESet3 do not modify the trigger arm setting.

SYSTem:PRESet2 sets the trigger arm to continuous.
------------------------------------
原来*RST,自动设置了单次触发模式,所以界面表现为不动。

只要设置为连续触发模式,界面就动了。

查找手册,发现命令为“:INIT:CONT ON”,

于是在执行命令前,执行该命令,界面动了,便于查看执行效果,OK了~~~
 

评论 COMMENTS
没有评论 No Comments.

添加评论 Add new comment.
昵称 Name:
评论内容 Comment:
验证码(不区分大小写)
Validation Code:
(not case sensitive)
看不清?点这里换一张!(Change it here!)
 
评论由管理员查看后才能显示。the comment will be showed after it is checked by admin.
CopyRight © 心缘地方 2005-2999. All Rights Reserved