00001 > DISP:WIND1:STAT ON 00002 > *CLS 00003 > *OPC? 00004 < +1$ 00005 > CALC1:PAR:DEF:EXT 'ch1_R1_1_1', 'R1,1' 00006 > *CLS 00007 > *OPC? 00008 < +1$ 00009 > SENS1:SWE:MODE HOLD 00010 > *CLS 00011 > *OPC? 00012 < +1$ 00013 > CALC1:PAR:CAT? 00014 < "ch1_R1_1_1,R1,1"$ 00015 > DISP:WIND1:CAT? 00016 < "EMPTY"$ 00017 > DISP:WIND1:TRAC1:FEED 'ch1_R1_1_1' 00018 > *CLS 00019 > *OPC? 00020 < +1$ 00021 > CALC1:PAR:SEL 'ch1_R1_1_1' 00022 > *CLS 00023 > *OPC? 00024 < +1$ 00025 > CALC1:PAR:MNUM? 00026 < +1$ 00027 > DISP:WIND1:TRAC1:TITL:DATA "LB_Pwr " 00028 > *CLS 00029 > *OPC? 00030 < +1$ 00031 > DISP:WIND1:TRAC1:TITL:STAT ON 00032 > *CLS 00033 > *OPC? 00034 < +1$ 00035 > CALC1:FORM MLOG 00036 > *CLS 00037 > *OPC? 00038 < +1$ 00039 > SENS1:SWE:POIN 3 00040 > *CLS 00041 > *OPC? 00042 < +1$ 00043 > CALC1:PAR:DEF:EXT 'ch1_AI1_1_2', 'AI1,1' 00044 > *CLS 00045 > *OPC? 00046 < +1$ 00047 > SENS1:SWE:MODE HOLD 00048 > *CLS 00049 > *OPC? 00050 < +1$ 00051 > CALC1:PAR:CAT? 00052 < "ch1_R1_1_1,LB_Pwr ,ch1_AI1_1_2,AI1,1"$ 00053 > DISP:WIND1:CAT? 00054 < "1"$ 00055 > DISP:WIND1:TRAC2:FEED 'ch1_AI1_1_2' 00056 > *CLS 00057 > *OPC? 00058 < +1$ 00059 > CALC1:PAR:SEL 'ch1_AI1_1_2' 00060 > *CLS 00061 > *OPC? 00062 < +1$ 00063 > CALC1:PAR:MNUM? 00064 < +2$ 00065 > DISP:WIND1:TRAC2:TITL:DATA " LB_Current " 00066 > *CLS 00067 > *OPC? 00068 < +1$ 00069 > DISP:WIND1:TRAC2:TITL:STAT ON 00070 > *CLS 00071 > *OPC? 00072 < +1$ 00073 > CALC1:FORM REAL 00074 > *CLS 00075 > *OPC? 00076 < +1$ 00077 > CALC1:PAR:DEF:EXT 'ch1_EQ1_3', 'S11' 00078 > *CLS 00079 > *OPC? 00080 < +1$ 00081 > SENS1:SWE:MODE HOLD 00082 > *CLS 00083 > *OPC? 00084 < +1$ 00085 > CALC1:PAR:CAT? 00086 < "ch1_R1_1_1,LB_Pwr ,ch1_AI1_1_2, LB_Current ,ch1_EQ1_3,S11"$ 00087 > DISP:WIND1:CAT? 00088 < "1,2"$ 00089 > DISP:WIND1:TRAC3:FEED 'ch1_EQ1_3' 00090 > *CLS 00091 > *OPC? 00092 < +1$ 00093 > CALC1:PAR:SEL 'ch1_EQ1_3' 00094 > *CLS 00095 > *OPC? 00096 < +1$ 00097 > CALC1:PAR:MNUM? 00098 < +3$ 00099 > DISP:WIND1:TRAC3:TITL:DATA " OMI" 00100 > *CLS 00101 > *OPC? 00102 < +1$ 00103 > DISP:WIND1:TRAC3:TITL:STAT ON 00104 > *CLS 00105 > *OPC? 00106 < +1$ 00107 > CALC1:FORM REAL 00108 > *CLS 00109 > *OPC? 00110 < +1$ 00111 > CALC1:EQU:TEXT "OMI=100*mag(2*sqrt(40)*$LB_Pwr$)/(10*d_mean($LB_Current#$))"< 00112 > *CLS 00113 > *OPC? 00114 < +1$ 00115 > SYST:ERR? 00116 < +0,"No error"$ 00117 > CALC1:PAR:MNUM 1 00118 > *CLS 00119 > *OPC? 00120 < +1$ 00121 > CALC1:EQU:TEXT? 00122 < ""$ 00123 > CALC1:PAR:MNUM 2 00124 > *CLS 00125 > *OPC? 00126 < +1$ 00127 > CALC1:EQU:TEXT? 00128 < ""$ 00129 > CALC1:PAR:MNUM 3 00130 > *CLS 00131 > *OPC? 00132 < +1$ 00133 > CALC1:EQU:TEXT? 00134 < "OMI=100*mag(2*sqrt(40)*$LB_Pwr$)/(10*d_mean($LB_Current#$))"$ 00135 > CALC1:EQU:TEXT "OMI=100*mag(2*sqrt(40)*Tr1)/(10*d_mean(2))" 00136 > *CLS 00137 > *OPC? 00138 < +1$ 00139 > CALC1:EQU:VAL? 00140 < 0$ 00141 > SYST:ERR? 00142 < +0,"No error"$ 00143 > DISP:WIND1:TITL:DATA "Lab Buddy OMI: Ch_1" 00144 > *CLS 00145 > *OPC? 00146 < +1$ 00147 > DISP:WIND1:TITL:STAT ON 00148 > *CLS 00149 > *OPC? 00150 < +1$ 00151 > SENS1:SWE:TYPE LINEAR 00152 > *CLS 00153 > *OPC? 00154 < +1$ 00155 > SENS1:BWID 1000 00156 > *CLS 00157 > *OPC? 00158 < +1$ 00159 > SENS1:FREQ:STAR 50000000 00160 > *CLS 00161 > *OPC? 00162 < +1$ 00163 > SENS1:FREQ:STOP 871250000 00164 > *CLS 00165 > *OPC? 00166 < +1$ 00167 > SENS1:SWE:POIN 401 00168 > *CLS 00169 > *OPC? 00170 < +1$ 00171 > SYST:ERR? 00172 < +0,"No error"$ 00173 > SENS1:PATH:CONF:SEL "ONT_Path" 00174 > *CLS 00175 > *OPC? 00176 < +1$ 00177 > *CLS; *WAI; *ESE 1 00178 > SENS1:SWE:MODE SING 00179 > *OPC 00180 > *STB? 00181 < +0$ 00182 > *STB? 00183 < +0$ 00184 > *STB? 00185 < +0$ 00186 > *STB? 00187 < +0$ 00188 > *STB? 00189 < +32$