AnsweredAssumed Answered

Playing waveform once

Question asked by gopyan on May 19, 2013
Latest reply on May 27, 2013 by gopyan
Hello Friends.

Please help me out. I have Agillent E4438C instrument and try to programm it.

This is code snippet in matlab lang.

////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


[status, status_description] = agt_sendcommand(io,'SOURce1:DATA:VOLatile:CLEar');
[status, status_description] = agt_sendcommand(io, 'SOURce:FREQuency 9978600');
[status, status_description] = agt_sendcommand(io, 'POWer -20');
[status, status_description] = agt_waveformload(io, IQData, 'agtsample', 96000, 'play', 'no_normscale', Markers);
[ status, status_description ] = agt_sendcommand( io, 'OUTPut:STATe ON' );


////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////


But after this , instrument begin to play waveform indefinitely , by circle.

My question is -> How I can play waveform once????????? How I can tell to the instrument that after playing waveform it must STOP?????

Edited by: gopyan on May 19, 2013 4:04 AM  

Outcomes