嗨,Clement,SCPI命令可能令人困惑,但是有几个命令你可以从那里开始然后从那里构建。
在与仪器通信后(例如通过Keysight Connection Expert),用于进行测量的最佳命令是MEASure?
命令:MEAS:FREQ?
(@ 2)此命令配置计数器(将各个计数器参数设置为预定义值),启动计数器(准备接收触发器),并在触发(内部)发生时返回测量值。
(@ 2)选择通道2.通过按交互式IO'发送&发送此命令。
读'钥匙。
要从那里构建,应使用的下一个命令是CONFigure命令:CONF:FREQ(@ 2)此命令以与MEASure命令相同的方式配置计数器,但不会自动启动计数器以开始测量。
CONFigure使您可以使用“低级”命令更改CONFigure设置的默认值中的各个参数。
例如,CONFigure将输入阻抗设置为1 Mohm。
如果要将阻抗更改为50欧姆,可以发送:CONF:FREQ(@ 2)INP2:IMP 50要在CONF命令后启动计数器,您可以使用READ吗?
或INIT后跟FETCh?。
读?
与发送INIT和FETC相同?
背靠背。
您发送的命令可能是:CONF:FREQ(@ 2)INP2:IMP 50 READ?
使用Interactive IO,您可以将命令发送到一个字符串中:CONF:FREQ(@ 2);: INP2:IMP 50;:READ?
然后按发送&
读。
请注意,来自不同子系统的多个命令(另一个SCPI术语)必须用分号(;)和冒号(:)分隔。
再次,从MEASure开始?
和CONFigure然后使用低级命令(例如INP2:IMP)根据需要更改特定参数。
希望这能让你开始。
以上来自于谷歌翻译
以下为原文
Hi Clement,
SCPI commands can be confusing, but there are a couple of commands you can start with and then build from there.
The best command to use to make a measurement after you have communication with the instrument (e.g. through Keysight Connection Expert) is the MEASure? command:
MEAS:FREQ? (@2)
This command configures the counter (sets individual counter parameters to predefined values), initiates the counter (prepares it to receive a trigger), and returns the measurement when the trigger (internal) occurs. (@2) selects channel 2. Send this command by pressing the Interactive IO 'Send & Read' key.
To build from there, the next command that should be used is the CONFigure command:
CONF:FREQ (@2)
This command configures the counter in the same manner as the MEASure command, but does not automatically initiate the counter to start the measurement. CONFigure enables you to use 'low-level' commands to change individual parameters from their defaults set by CONFigure. For example, CONFigure sets the input impedance to 1 Mohm. If you want to change the impedance to 50 ohms you can send:
CONF:FREQ (@2)
INP2:IMP 50
To initiate the counter following the CONF command you can use READ? or INIT followed by FETCh?. READ? is the same as sending INIT and FETC? back to back. The commands you send could then be:
CONF:FREQ (@2)
INP2:IMP 50
READ?
Using Interactive IO you can send the commands in a single string as:
CONF:FREQ (@2);:INP2:IMP 50;:READ?
And then pressing Send & Read. Note that multiple commands from different subsystems (another SCPI term) must be separated by a semicolon (;) and a colon (:).
Again, start with MEASure? and CONFigure and then use the low-level commands (e.g.INP2:IMP) to change specific parameters as needed.
Hope this gets you started.
嗨,Clement,SCPI命令可能令人困惑,但是有几个命令你可以从那里开始然后从那里构建。
在与仪器通信后(例如通过Keysight Connection Expert),用于进行测量的最佳命令是MEASure?
命令:MEAS:FREQ?
(@ 2)此命令配置计数器(将各个计数器参数设置为预定义值),启动计数器(准备接收触发器),并在触发(内部)发生时返回测量值。
(@ 2)选择通道2.通过按交互式IO'发送&发送此命令。
读'钥匙。
要从那里构建,应使用的下一个命令是CONFigure命令:CONF:FREQ(@ 2)此命令以与MEASure命令相同的方式配置计数器,但不会自动启动计数器以开始测量。
CONFigure使您可以使用“低级”命令更改CONFigure设置的默认值中的各个参数。
例如,CONFigure将输入阻抗设置为1 Mohm。
如果要将阻抗更改为50欧姆,可以发送:CONF:FREQ(@ 2)INP2:IMP 50要在CONF命令后启动计数器,您可以使用READ吗?
或INIT后跟FETCh?。
读?
与发送INIT和FETC相同?
背靠背。
您发送的命令可能是:CONF:FREQ(@ 2)INP2:IMP 50 READ?
使用Interactive IO,您可以将命令发送到一个字符串中:CONF:FREQ(@ 2);: INP2:IMP 50;:READ?
然后按发送&
读。
请注意,来自不同子系统的多个命令(另一个SCPI术语)必须用分号(;)和冒号(:)分隔。
再次,从MEASure开始?
和CONFigure然后使用低级命令(例如INP2:IMP)根据需要更改特定参数。
希望这能让你开始。
以上来自于谷歌翻译
以下为原文
Hi Clement,
SCPI commands can be confusing, but there are a couple of commands you can start with and then build from there.
The best command to use to make a measurement after you have communication with the instrument (e.g. through Keysight Connection Expert) is the MEASure? command:
MEAS:FREQ? (@2)
This command configures the counter (sets individual counter parameters to predefined values), initiates the counter (prepares it to receive a trigger), and returns the measurement when the trigger (internal) occurs. (@2) selects channel 2. Send this command by pressing the Interactive IO 'Send & Read' key.
To build from there, the next command that should be used is the CONFigure command:
CONF:FREQ (@2)
This command configures the counter in the same manner as the MEASure command, but does not automatically initiate the counter to start the measurement. CONFigure enables you to use 'low-level' commands to change individual parameters from their defaults set by CONFigure. For example, CONFigure sets the input impedance to 1 Mohm. If you want to change the impedance to 50 ohms you can send:
CONF:FREQ (@2)
INP2:IMP 50
To initiate the counter following the CONF command you can use READ? or INIT followed by FETCh?. READ? is the same as sending INIT and FETC? back to back. The commands you send could then be:
CONF:FREQ (@2)
INP2:IMP 50
READ?
Using Interactive IO you can send the commands in a single string as:
CONF:FREQ (@2);:INP2:IMP 50;:READ?
And then pressing Send & Read. Note that multiple commands from different subsystems (another SCPI term) must be separated by a semicolon (;) and a colon (:).
Again, start with MEASure? and CONFigure and then use the low-level commands (e.g.INP2:IMP) to change specific parameters as needed.
Hope this gets you started.
举报