是德科技
直播中

俞敏东

8年用户 239经验值
私信 关注
[问答]

SCPI命令没有在波形开始时发送触发脉冲

嗨,我正在使用这个例子向信号发生器发送一个简单的波形。
该示例有效,但它没有在波形开始时发送触发脉冲。
什么是SCPI命令使触发器出现在设备背面的输出连接器上?
谢谢。
https://www.mathworks.com/matlab ... _Waveform_Agilent.m

以上来自于谷歌翻译


     以下为原文

  Hi,
I am using this example to send a simple waveform to the signal generator. the example worked but it did not send the trigger pulse at the start of the waveform. what would be the SCPI command to make the trigger appear at the output connector in the back of the equipment?
thanks.

https://www.mathworks.com/matlab ... _Waveform_Agilent.m  

回帖(2)

h1654155275.5950

2018-9-20 11:37:48
我想你正在寻找使用标记。
%清除文件fprintf中的所有标记(signalGeneratorObject,':SOURce:RADio:ARB:MARKer:CLEar:ALL“MATLAB_WFM”,1');
%设置标记1(文件名后的第一个输入),从第一个点开始(第二个输入),结束于第1个点(第三个输入)并跳过0.%请参阅http://cp.literature.agilent.com/的第295页
litweb / pdf / N5180-90004.pdf了解更多信息fprintf(signalGeneratorObject,':SOURce:RADio:ARB:MARKer:SET“MATLAB_WFM”,1,1,1,0');
这将设置标记,使得发生器背面的输出在信号开始时变高。
您可以使用此输出来同步多个仪器,例如发生器和分析仪,使用发生器背面的输出到分析仪的触发线。
有关标记的更多信息,请参阅上面链接的PDF文件。
注意:上面提到的PDF是针对MXG的。
您将需要参考4438C的仪器手册以获取仪器的命令。编辑:vcherian于2016年1月19日下午9:45

以上来自于谷歌翻译


     以下为原文

  I think you are looking to use markers. 

% Clear all markers from the file
fprintf(signalGeneratorObject,':SOURce:RADio:ARB:MARKer:CLEar:ALL "MATLAB_WFM",1');
% Set marker 1 (first input after filename), starting at the first point (second input), ending at point 1 (third input) and skipping 0.
% Refer page 295 of http://cp.literature.agilent.com/litweb/pdf/N5180-90004.pdf for more info
fprintf(signalGeneratorObject,':SOURce:RADio:ARB:MARKer:SET "MATLAB_WFM",1,1,1,0');

This will set the markers so that the output at the back of the generator goes high at the start of the signal. You can use this output to synchronize multiple instrument, such as a generator and an analyzer using the output from the back of the generator to the trigger line of the analyzer.

Please refer to the PDF file linked above for more information on markers.

NOTE: The PDF referred to above was for the MXG. You will want to refer to the instrument manual for the 4438C for the commands for your instrument.

Edited by: vcherian on Jan 19, 2016 9:45 PM
举报

俞敏东

2018-9-20 11:43:46
非常感谢。
那很有效!

以上来自于谷歌翻译


     以下为原文

  Thank you so much. That worked!
举报

更多回帖

发帖
×
20
完善资料,
赚取积分