FAQs from Rohde & Schwarz

IEEEプログラミング - アベレージングの完了待ち

質問

400回目の掃引の完了をリモート制御によって検出するにはどうすればよいですか?

回答

これは、400回目の掃引の完了を検出するコマンドを含む

プログラムです。

REM Initiate an average sweep over 400 sweeps

FSx: INIT:CONT OFF

FSx: DISP:TRAC:MODE AVER

FSx: SWE:COUNT 400

FSx: SWE:TIME 0.1

FSx: *CLS

REM With *OPC the operation complete bit will be initiated

FSx: INIT;*OPC

REM The next line will be repeated until the operation complete bit is set

WHILE FSx: *ESR? <> 1