;File: Functional20a.doc Page 1 ; Test ID Number ______________ ; Test Date _________________/ Time _________ ; Test Conditions Hot__ Cold__ Input Voltage______V ; This script Import #_____________(#339 ; 1553 Bus selected A__ B__ ; Alt Boot? Y___ N___ ; Flat Table ID number ___________(#304) BaselineFT-28 ; Config Table ID number __________(#61) - Cfg 69 ;Rev 18 2-Dec-01 Add Frequency Corr cmnds Ref LF=27689 MF=33516 ; Change to EM2 = DAC 9=190 (from 174) ;Rev 19, 9-Dec-01 Change Mode 2 to use Adaptive Scan. Add Alt boot counter. ;Rev 19b, 16-apr-02 Add ramdump, tm on ;Rev 19c, 25-apr-02 Change EM2 to 205 ;Rev 19d, 1-may-02 Changed DAC 25 to 3000 in elec. short test ;Rev 20a, 22-may-02 Change filaments to high emission ;Create a new data file on the SC-SIM so that the MET is 0! ___ ;Verify Lab PS voltage is set to 33.5 Volts___ ;Verify Lab PS Current is set to 2.45A____ ;Before running this test; ;write "search start: ngims_Functional20a.prc" ; negse program up and running ; conn ; switch power on PS Current _______(.52 A ±.1) from PS ; start (SC-SIM) Verify NPT on NEGSE ; run nnn Start this procedure ; Verify Non Packet TM $tcrate 1000 ;Set comnd rate at 1/sec. Comment out for STOL convert $WAIT 2 $sim bus B ; Select 1553 bus for this test. (Change in other tests). $WAIT 2 $Show RW 0 0 ;Click on RAW TM button ­ to show Science Display $TM ON $WAIT 10 $NOP 1 100 ;Start Limit Check for turnon condition $WAIT 30 ;Operator verify AMUX values - as possible. ;Read&Rec thermistor pressure _____(>3.2V) ;Read&Rec Kulite pressure ________(.47 Barr) ;Operator print AMUX _____ ;Read Science TM (3x48) for Software Version Code ;PROM boot = 3600 _____ EEPROM = 3707 _______ $NOP 1 102 ;End turnon limit check $show DU 500 585 ;Show Dump status window $WAIT 5 ;Wait for NOP $dump e0 0xfffd 1 ;Confirm Dump value of 0x00E ____ $wait 2 $ftc 54 0xfffd 0x41 1 0x0f ;update alt boot counter to 15 $wait 20 ;Alt Boot counter will now show 15 in PROM dump. ;**********************Dump Both EEPROM Memories ********************** $TM OFF $WAIT 5 $STANDBY ON ;Standby for Dump $Dump e0 0 32768 ;Dump EEPROM 0 from 0 for 32768 words $WAIT 85 ;Waiting for dump $Dump e0 32768 32768 ;Dump EEPROM 0 Verify NO errors ____ $Wait 85 ;Read & record value of Alt Boot Counter _________(15) $Dump e1 0 32768 ;Dump EEPROM 1 Change display to Dump 1 $Wait 85 ;Waiting for dump $Dump e1 32768 32768 ;2nd half EEPROM 1 Verify NO errors ____ $Wait 100 ;Stop test if there are any errors. ;added 4/16/02 $dump r 0 32768 ;dump ram from 0 - 32767 $wait 85 $dump r 32768 32768 ;2nd half OF RAM Verify NO errors _ $Wait 85 ; $TM on ;Set Initial Conditions for entire test ********************************* $Hide DU $Hide RW $Wait 5 $Hidestrip m16 ;Close existing RF AGC Monitor $Strip m16 e -0.5 4.5 500 0 500 200;RF AGC monitor (upper right) $DCON0 10 0 ;Deflector 1 off -no longer used in analyzer $DCON0 11 0 ;Deflector 2 off -no longer used in analyzer $Wait 10 $LoadMT 9 ;PROM equal AMUX Table with alternate Imons $WAIT 10 ;Should have been loaded as default $tableupdate ;Load RAM with EEPROM values (just verified in dump) $Wait 2 $FLast 2580 ;0 volts DACs $FFirst 2566 ;All DAC output voltages at 0 (except OS EFB1/2) $Wait 2 $DACOR 8 ON ;DACOR for EM1 On $DACOR 9 ON ;DACOR for EM2 On $Wait 5 $NOP 1 105 ;End of Setup - start of expanded Imon plot $Wait 5 ;********************* Electrode short test ******************** ;This test takes approximately 8 minutes using 8 sec averages. ;Set all HV DACs to 0 volts and QB, OL1, OL2. $Hidestrip m81 $Wait 2 $strip m81 e .5 .6 0 0 500 200 ;Imon hi resolution - set to .6A full scale $DAC 14 2048 ;Ion Deflector 1/2 $DACOR 14 ON $DAC 15 2048 ;QL 1 Watch Science HK window for DACOR bit status $DACOR 15 ON $DAC 16 2048 ;QL 2 $DACOR 16 ON $DAC 17 2048 ;QL 3 $DACOR 17 ON $DAC 18 2048 ;QL 4 $DACOR 18 ON $DAC 19 2048 ;Faraday Cup (27-Oct-01) $DACOR 19 ON $DAC 20 2048 ;Einzel Lens $DACOR 20 ON $DAC 21 2048 ;Top Plate Lens $DACOR 21 ON $DAC 22 2048 ;Ion Deflector 3/4 $DACOR 22 ON $DAC 23 2048 ;OL 3 $DACOR 23 ON $DAC 24 2048 ;OL 4 $DACOR 24 ON $DAC 25 2048 ;Lens 6 $DACOR 25 ON $DAC 26 2048 ;Lens 4 A/B $DACOR 26 ON $DAC 27 2048 ;Lens 5 A/B $DACOR 27 ON $DAC 28 2048 ;B S Lens $DACOR 28 ON $DAC 29 2048 ;Lens 2 $DACOR 29 ON $DAC1 0 0 ;DAC1 = RFDC = 0V and NOT Ion_Mode DAC1 special case $DACOR 1 ON $DAC2 8191 M ;DAC2 = QB = 8192= 0V 0=full scale DAC2 special case $DACOR 2 ON ;L = Low frequency, M = Mid frequency, H = High freq $DAC 3 32768 ;DAC 3 = RFAC = 0 volts ~7000 max output $DACOR 3 ON $DAC 4 233 ;DAC 4 = EFB1 = 233 = -63V source = +190V target & Ion Mode $DACOR 4 ON ;These are the only non-zero values in INITMODE. $DAC 5 229 ;DAC 5 = EFB2 = 229 = -62V source = +189V target & Ion Mode $DACOR 5 ON ;Normal = -62/-63 V Target and Ion Mode = +190 V $DAC 6 128 ;OL1 = 0V $DACOR 6 ON $DAC 7 128 ;OL2 = 0 V $DACOR 7 ON $DAC 8 0 ;EM1 = 0 Volts (255 full scale=3272V = 12.8V/bit) $DACOR 8 ON $DAC 9 0 ;EM2 = 0 Volts (255 full scale=3226V = 12.65V/bit) $DACOR 9 ON ;DAC 10 & 11 are not used 4 bit DACs $DAC 12 4 ;Set Threshold 1 at 4 (Normal) $DACOR 12 ON $DAC 13 4 ;Set Threshold 2 at 4 (Normal) $DACOR 13 ON ;Leave on for EM Tests $NOP 1 130 ;130 Start reference current for IDL check $Wait 8 $NOP 1 132 ;End reference current for IDL check $WAIT 3 ;Wait for NOP Observe Imon pattern shown below ____  $DAC 14 4095 ;Full Scale Minus ­ Ion Def 1/2 $NOP 1 140 ;140 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 142 ;end Limit Check out short test $WAIT 3 ;Wait for NOP Limitcheck needs a clean time for stable values $DAC 14 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 15 4095 ;Full Scale Minus - QL 1 $NOP 1 150 ;150 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 152 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 15 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 16 4095 ;Full Scale Minus - QL 2 $NOP 1 160 ;160 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 162 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 16 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 17 4095 ;Full Scale Minus - QL 3 $NOP 1 170 ;170 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 172 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 17 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 18 4095 ;Full Scale Minus - QL 4 $NOP 1 180 ;180 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 182 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 18 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 19 4095 ;Full Scale Minus - Faraday Cup (27-Oct-01) $NOP 1 190 ;190 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 192 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 19 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 20 4095 ;Full Scale Minus - Einzel Lens $NOP 1 200 ;200 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 205 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 20 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 21 4095 ;Full Scale Minus - Top Plate $NOP 1 210 ;210 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 212 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 21 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 22 4095 ;Ion Def 3/4 $NOP 1 220 ;220 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 222 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 22 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 23 4095 ;OL 3 $NOP 1 230 ;230 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 232 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 23 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 24 4095 ;Full Scale Minus - OL 4 $NOP 1 240 ;240 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 242 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 24 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 25 3000 ; -690V - Lens 6 $NOP 1 250 ;250 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 252 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 25 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 26 4095 ;Full Scale Minus - Lens 4 A/B $NOP 1 260 ;260 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 262 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 26 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 27 4095 ;Full Scale Minus - Lens 5 A/B $NOP 1 270 ;270 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 272 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 27 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 28 4095 ;Full Scale Minus - BS Lens $NOP 1 280 ;280 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 282 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 28 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 29 4095 ;Full Scale Minus - Lens 2 $NOP 1 290 ;290 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 292 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 29 2048 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC2 0 M ;Full Scale plus QB $NOP 1 300 ;300 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 302 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC2 8192 M ;Set back to 0 V out Mid Freq $WAIT 3 ;Wait for reference again $DAC 6 0 ;OL1 Full Scale plus $NOP 1 310 ;310 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 312 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 6 128 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 7 0 ;OL2 Full Scale plus $NOP 1 320 ;320 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 322 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 7 128 ;Set back to 0 V out $WAIT 3 ;Wait for reference again $DAC 4 0 ;EFB1 to 0 V from -63 $NOP 1 324 ;324 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 325 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 4 233 ;Set back to -63 V out $WAIT 3 ;Wait for reference again $DAC 5 0 ;EFB2 to 0 V from -62V $NOP 1 326 ;326 Start Limit Check out short test $Wait 8 ;Operator verify small change in Imon $NOP 1 327 ;end Limit Check out short test $WAIT 3 ;Wait for NOP $DAC 5 229 ;Set back to -62 V out $WAIT 3 ;Wait for reference again $Wait 8 ;Reference current again $NOP 1 330 ;end IDL short test $WAIT 5 ;Wait for NOP ;DAC 8/9, EM HV are set to 0, with DACOR 8/9 ON ;Verify with expanded Imon plot for NOP 105 thru NOP 1700 ; >>>>>>>NOTE; All DACs are left in Override !!!!!<<<<<<<<<< ;*******************BA FILAMENT ON ****************** $LoadMT 18 ;AMUX table with fil mons at 5x rate $WAIT 4 $tableupdate ;Load RAM with EEPROM values incl. hi file sampling $Wait 4 ;Table update turns off all DAC Overrides $FLast 2580 ;0 volts DACs $FFirst 2566 ;All DAC output voltages at 0 (except OS EFB1/2) $Wait 2 $DACOR 8 ON ;DACOR for EM1 On $DACOR 9 ON ;DACOR for EM2 On $Wait 4 $Hidestrip m81 $strip m81 e .5 1.5 0 0 500 200 ;Imon Normal - was set to .6A FS $strip m65 e 0 2.5 902 233 200 200 ;BA Fil Amps $strip m66 e 0 1000 902 433 200 200 ;BA Grid Emission $strip m67 e -100 500 902 633 200 200 ;BA Out, 500 pico amps fs $Wait 5 ;Wait for strip chart display ; $DCON0 9 0 ;BA set Lo Emission $NOP 1 360 ;Start plot for BA monitors and end for Imon short plot. $DCON0 8 1 ;BA filament on $WAIT 59 ;Wait for filament turnon before limitcheck ;Operator enter (but do not send) INITMODE in cmnd window. $NOP 1 365 $Bell $Bell $Bell $HOLD ;If BA Fil MORE THAN 2.1A send Initmode - immediately ;Read and Record Imon __________(.67 A ±.01) ;BA Fil __________(2.0A) BA Grid _________(60uA) ;BA Out _________(<100 pA) 7 pA on 4-Dec-01 ;If BA is out MORE THAN 500 pA send Initmode - immediately ;If BA-Out is less than 500 pA Operator send GO ____ ;10 pA ~= 1e-7 mbar (Lo emission) $NOP 1 370 $WAIT 5 ;Wait for NOP $DCON0 9 1 ;BA Hi Emission $WAIT 30 ;Wait for BA hi before limitcheck $NOP 1 375 $Bell $Bell $Bell  $HOLD ;If BA Fil MORE THAN 2.4A send Initmode - immediately ;BA Fil __________(2.2A) BA Grid _________(527 uA) ;BA Out _________(<1000 pA) 50 pA on 2-Dec-01 ;If BA-Out is less than 1000 pA Operator send GO ____ ;100 pA ~= 1e-7 mbar (Hi emission) ;Operator clear INITMODE from command window. $NOP 1 380 $WAIT 5 $DCON0 8 0 ;BA filament OFF $DCON0 9 0 ;Set BA back to Lo Emisson $WAIT 10 $NOP 1 385 ;End BA plots $WAIT 5 ;Wait for NOP ;Remove 3 strip charts from display $Hidestrip m65 ;BA Fil Amps $Hidestrip m66 ;BA Grid Emission $Hidestrip m67 ;BA Out ;To analyze; Plot Imon, BAfil, BAgrid, BAout, for NOPs 1700 thru 1740 ;Note; All DACORs are ON, and RF DACOR is ON, HV1, and HV2 are on. ;*******************CS FIL 2 ON ************************************ ;First set all DACORs OFF ;This will change to all 0 volts out from current Flat Table $FLast 2580/2565 $DACOR 14 OFF $DACOR 15 OFF $DACOR 16 OFF $DACOR 17 OFF $DACOR 18 OFF $DACOR 19 OFF $DACOR 20 OFF $DACOR 21 OFF $DACOR 22 OFF $DACOR 23 OFF $DACOR 24 OFF $DACOR 25 OFF $DACOR 26 OFF $DACOR 27 OFF $DACOR 28 OFF $DACOR 29 OFF $DACOR 1 OFF ;RF DC $DACOR 2 OFF ;QB $DACOR 3 OFF ;RF AC This will turn the RF AC back on to M28 $DACOR 6 OFF ;OL1 $DACOR 7 OFF ;OL2 ;DACOR 8 and 9 (EM HV) are left ON to set HV for rest of test ; ;Do not turn DACOR 12/13 (Threshold) off yet - leave at 4. $FLast 2595 ;Fixed tune to M28 (Mid Freq), CS values $FFirst 2581 ;This turns on the RF at Mass 28 AGC=1.2V@M28 $WAIT 3 $NOP 1 2000 ;Start check for RF noise $WAIT 20 ;Check overall noise with only RF (M28) additional on $NOP 1 2002 ;Limit check RF ON $WAIT 5 ;Wait for NOP $strip m49 e 0 2.5 905 233 200 200 ;CS2 Fil Amps $strip m50 e 0 800 905 433 200 200 ;CS2 Fil Emission $Strip i258 e 0 100000 270 289 300 200 ;Counter 2 display $Wait 2 $DAC 8 0 ;EM 1 Off $DAC 9 205 ;EM2 Set to Norm Voltage - New normal Baseline Value $Wait 5 $FLast 2595 ;Fixed tune to M28 (Mid Freq), CS values $FFirst 2581 $Wait 2 ;CS Fil 2 turnon w/Hi Emission *********************** $DCON0 2 1 ;CS hi emission $NOP 1 2300 $DCON0 7 1 ;CS Fil 2 On $WAIT 30 ;Wait for filament to fully turn on when hi Emission $NOP 1 2310 ;Start Limit Check for CS Fil1 on. $Wait 20 ;Read & Record hi ______(2.0A) Emis ________(157 uA) $NOP 1 2320 ;Note number of CS counts ______________(c/s) $WAIT 5 ;Wait for NOP $NOP 1 2350 ;End plotting for fil 2 on $WAIT 5 ;Wait for NOP $Hidestrip m49 ;CS2 Fil Amps $Hidestrip m50 ;CS2 Fil Emission $Wait 2 ;******************* Add OS2 Filament ON ****************** $strip m17 e 0 2.5 902 233 200 200 ;OS2 Fil Amps $strip m18 e 0 800 902 433 200 200 ;OS2 Fil Emission $FLast 2610 ;Fixed tune to M28 (Mid Freq) Open Source selected $FFirst 2596 ;Only one 15 IP sequence $DCON0 0 1 ;OS hi Emission $NOP 1 2360 ;Start plot for OS Fil 2 Turnon ;OS Fil 2 turnon w/hi Emission *********************** $DCON0 5 1 ;OS Fil 2 on $Wait 30 ;Read & Record hi ______(2.2A) Emis ________(86 uA) $NOP 1 2370 ;Note number of CS counts ______________(c/s) $Wait 20 $NOP 1 2380 ;End Limit Check $WAIT 5 ;Wait for NOP $Hidestrip m17 ;OS2 Fil Amps $Hidestrip m18 ;OS2 Fil Emission ;Both OS2 and CS 2 filaments are ON, hi emission at this point. ;All filament turnons run from NOP 2000 thru NOP 2380 ;********************* FT Mass Tune - Fractional, Normal ******************** $FLast 1200 ;CS Mass .5...66.5 and 126...133.4 ­ Fractional, Normal Width $FFirst 481 $NOP 1 3000 ;Observe changing RF AGC _____ $WAIT 180 $NOP 1 3010 ;This will give a 5 to 6 average for each mass ;Verify with PlotFT (X-Y averaging counts plot) from 3000 to 3010. UI-1 ;************* Round Sequences w/RASP******************************** ;NOTE at start still set to mass 28, OS, dwell $LoadMT 14 ;Load AMUX table for high RF AGC sample rate $WAIT 10 $ftc 54 0x1073 0x41 1 27689 ;Set LF to Normal (cnts/IP) $ftc 54 0x1074 0x41 1 33516 ;Set MF to Normal (cnt/IP/2) $ftc 54 0x106E 0x41 1 340 ;LF correction limit of 1% $ftc 54 0x106D 0x41 1 280 ;MF correction limit of 1% $ftc 54 0x1032 0x43 1 1 0 1 ;Freq Correction ON (DC-on, QB-off, AC-on) $Wait 2 $Tableupdate $Wait 5 $DAC 8 0 ;EM 1 Off $DAC 9 205 ;EM2 Set to Low Voltage - New normal Baseline Value $DACOR 8 ON $DACOR 9 ON $WAIT 5 $NOP 1 5400 $WAIT 2 ;************************ RR Mode 2 ­ Adaptive ******************* ; focus on IM for far out science, low mass medium temporal ; resolution, general purpose scan exercising ALL modes. ; Src Rpt Fract First Last ; OS 1 0 0 3 ; CS 1 0 0 3 ; IM 4 0 0 3 ; PM 4 0 0 15 ; AD 1,1,4 0 0 5 ; OS 0-3 CS 0-3 IM 0-3 PM 0-15 $FTC 53 1 0x0003 1 0x0003 4 0x0003 4 0x000F ;AD CSOS IM $FTC 63 0x0101 4 $WAIT 5 $DCON0 7 1 ;CS Fil 2 On $DCON0 5 1 ;OS Fil 2 On $DAC 8 0 ;EM1 OFF $DAC 9 205 ;EM2 On normal $DACOR 8 ON $DACOR 9 ON $NOP 1 5420 $WAIT 40 ;2 complete cycles Observe changing RF AGC ____ $NOP 1 5425 ; IM high TR 5.00 -590.00 $FTC 63 0 0 ;Turn off adaptive scans $WAIT 2 ;-------------------------------------------------- ; mode 7 - full CS fractional 140 s/c ; CS f0-20 PM 0-13 $FTC 53 0 0x0003 1 0x8014 0 0x0003 4 0x000F $WAIT 5 $NOP 1 5470 ;LF ________(27689) MF _________(33516) HF _______(20376) $WAIT 280 ;LF=reading/.03 MF=reading/.015 HF = (reading + 131072)/.03 ;Note - A hold at this point is OK - will give more averages. $NOP 1 5475 ;************* Init and Minimum Power******************************** $INITMODE $TM ON ;Turnon Conditions -verify NO RF and .52A input current $WAIT 10 ;Check system noise with RF and Filaments off ;Observe .52 A ____ $NOP 1 6200 ;End of Functional Test $WAIT 5 ;Wait for NOP $Hidestrip i257 ;Counter 1 display ;write "search stop: ngims_Functional20a.prc has completed" ;SC-SIM stop, negse disc, instrument Power OFF, strip chart off ;Number of commands ______(262) #NAKs ___(0) ;The test may be analyzed with the command PrintTest nnn, from the idl directory. Rev History: ;Rev 12 12-Nov-01 Copied startup and Init from Baseline 42. ; Copied Electrode Short Test thru end of BA on. ; Change $Wait 15 to $Wait 8 to shorten Electrode Test ; Delete Ion Mode test. Add DACOR off to filament turn. ; Few other touch ups. Use Bus B for the Functionals ;Rev 16 15-Nov-01 Post Vibration changes. EM 2 (DAC 9) new primary EM ; EM 1 value is the low (2200V) value ; BA Hi emission included. Only low OS/CS filimanet settings. Post Test Processing The single UNIX command of PrintTest num, where num=Test ID number will run the script PrintTest , placing the Test ID in the file testidnum. PrintTest includes several IDL commands that will access the file testidnum by an IDL procedure to get the test ID number into the IDL processing. This top command will work for both the Baseline Test and the Functional Test (Missing NOP values will be skipped with an error msg). The commands are; Telecommands.bat­ Prints the commands sent as a list with MET and PckID. muxplot.bat­ Prints output of all 91 AMUX values (with multiple values on each page) vs MET. These prints are assigned page numbers 1 thru ~25. All print files are saved as idl#, where # is the assigned page number and the file may be copied for use in other programs such as Distiller. The entire test is printed from a start NOP of 100 to an ending NOP of 6200. Several pages are printed over selected NOP ranges for better time resolution. xyplot.bat­ Prints Mass tune plots, Electrode Tune plots, RR Mass plots, RR Mass Value Word plots, and NOP # vs MET. These pages are assigned page numbers 101 thru ~165. All print files are saved as idl#, where # is the assigned page number. These are overwritten at each run so if files are needed they must be copied before the next test. The full scale value for the plots may need to be edited for each test. (Check noted value recorded during the run). These changes may be made at the top of the file while the muxplot.bat is processing. limits.bat Compares entered Hi/Low values for each AMUX, for selected NOP ranges and prints only error values. Also creates a test file limit.txt that may be edited or copied. The individual IDL files above may also be run by entering idl file.bat where file.bat is one of the processing programs above. The test ID is the number that is in testidnum file. This file may be edited to change the test ID number ­ it must only contain a number, or it may be set with the command setid nnn. Note if there is an error in the NOP number, test ID number, or other IDL error, leaving the IDL> prompt, exit must be entered to go back to the negse> prompt before running other programs. For special test prints it is suggested that one of the above files be assigned a new file name, such as xypolt2.bat, then edited by deleting unwanted tests. This preserves the original file but keeps the boiler plate headers, setup, etc. in the new special file.