| 通过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了~~~
 |