FAQs from Rohde & Schwarz

Programmation IEEE - Attente d'achèvement du calcul de la moyenne

Question

Comment puis-je détecter l'achèvement du calcul de la moyenne sur 400 balayages via contrôle à distance ?

Réponse

Voici un programme contenant les commandes qui détecteront l'achèvement du calcul de la

moyenne sur 400 balayages :

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