'''' Mode file for UV3 Spectroradiometer operating at MLO using Windows and new logging program UVLogWin.exe ver 13-10-2006 ' Any variables may be changed from default by entering ' NAME=VALUE. Invalid entries will cause the program to ' request a new mode file name. Comments may be entered ' by preceeding a "'" on each line. Identity=UV3 'Spectrometer identity string - used to name files so keep 3 characters long Path=C:\UV3\ 'Path to folder with running files (data, log, debug, etc) MailSlotLocation=* 'Location of CLU mail slot (use = . if local computer, = * if primary domain wanted) ConnectionName=\\.\pipe\UVPipeName 'Pipe connection name (now used instead of Mailslot) 'site latitude, longitude and GMT lead Lat=19.533 'Latitude of station > positive North (ldrnz-45.0446, Chch-43.531, Bld39.991) Longt=-155.578 'Longitude of station > positive East (ldrnz 169.684, Chch 172.607, Bld-105.26) GMTLead=-10 'HRS computer clock ahead of GMT (lauder nz 12, Chch nz 12, Bld-7) 'operational run SZA and time options SZAMin=0 'Min Range of Solar Zenith Angles used for taking measurement runs during day SZAMax=95 'Max Range of Solar Zenith Angles used for taking measurement runs during day RunsDeg=5 'SZA degrees between measurement runs HrMnStart=1100 'Start of time interval used for midday runs with fixed time spacing HrMnEnd=1330 'End of time interval used for midday runs with fixed time spacing MinsGap=15 'Minutes gap between midday fixed time runs 'Computer parallel port parameters PortAddress=888 'Parallel port address for IBM390x printer port (378 base 16) 'PortAddress=956 'Parallel port address for IBM390x printer port (3BC base 16) PortIRQ=7 'Parallel port Interrupt Request Number (was 7) ISABusRetry=3 'AdsDr Driver bus retry count (larger for slower bus pulse widths - increase if transfer is unreliable) DefaultOvSamp=40 'Default oversampling value - IntCycles1 replaces it if used IntTimeAds=2.000 'ADS1210 integration time in ms (basic electronic time base) ADSInternalCalCount=100 'Number of averages making ADS1210 Internal Calibrations (zero for none) AuxChns=3 'Number of auxiliary analog input channels SpectSize=825 'Number of data values in block (290-450nm=800, 290-410nm=600, 285 - 450nm = 825) FL=875 'Size of block TimeErrMax=15 'Maximum Secs that run center can be in error without Run being in error (ie rejected) WaveStart=285.0 'Spectrum start wavelength (nm) WaveStep=0.2 'Sample wavelength step (nm) WaveDark=134.0 'Dark wavelength (nm) PTime=20 'Adjust to center run '11 '31 MidnightRun=1 'Flag to do midnight run (1 = do midnight run, 0 to not) TimeStampAdjust=0 'Set = number of seconds to adjust time stamp by DayDataSwitch=0 'Set = 1 for daily .FPN data files, 0 for none FwdOnly=0 'FwdOnly =0 for reverse + forward scan; =1 for forward scan only StatsFile=0 'Signal statistics .DAT file: = 0 for none, 1 for forward scan, 2 for reverse scan, 3 for both ParkEHTOff=0 'Flag to turn EHT off when parking gratings ParkBeforeScan=0 'Flag to turn on a park of gratings before each scan ParkAfterScan=0 'Flag to turn on a park of gratings after each scan (always parks at midnight) ResetAfterScan=0 'Flag to turn on initialisation of electronics/ADS after each run EHTOffDark=0 'Flag to turn on a dark measurement with EHT off at end of run (always does at midnight) WaitEHT=120 'Time secs to wait for PMT to settle before dark measurement at end of run ParkFlagForce=0 'Flag to force park flags true (for use when testing without Monos) ParkStrategy=0 'Park strategy switch to avoid problem with UV7 at Darwin DeBugSwitch=2 'Force high level debug files TimeWaitDark=120 'Set time to wait before second dark (let PMT settle after high light) HatchUsed=0 'Flag to indicate that hatch is used (open/close signal bit 4 of control output) HatchSwPol=0 'Hatch switch polarity ReadDVMAlways=1 'Flag to turn on DVM read during normal runs CalLampWait=720 'Seconds wait for White light warmup during Auto Calibration series HgLampWait=120 'Seconds wait for Hg lamp warmup during Auto Calibration series CalResID=6 'Identity of calibration resistor (default in selection box) CalLampID=24 'Identity of calibration lamp (default in selection box) CalUnitID=8 'Identity of calibration lamp unit (CLU) DiffuserID=5.8 'Diffuser ID CalPowerSupplyID=6 'Identity of calibration power supply CalDvmID=6023 'Identity of calibration digital volt meter (Fluke) LongIntSecs=100 'Long period statistics - integration time secs - zero for continuous file stats, 1 sec sampling EHTDivision=197.77 'Divider chain resistor ratio for EHT channel TempOffset=10.000 'Offset to correct temperature display 'Corrected 17-07-2005 at end of day obs '0.5 '-5.0 TempSlope=1.0567 'Slope to correct temperature display 'Corrected 17-07-2005 at end of day obs '2 ' 'Integration intervals (4 max) params. 'Interval is from IntIndex(n) + 1 to IntIndex(n+1) IntIndex1=75 '1st sig. measurement interval: end index IntCycles1=400 '1st sig. measurement interval: DDC101 transfer cycles per sample IntIndex2=125 '2nd sig. measurement interval: end index IntCycles2=200 '2nd sig. measurement interval: DDC101 transfer cycles per sample IntIndex3=825 '3nd sig. measurement interval: end index IntCycles3=40 '3nd sig. measurement interval: DDC101 transfer cycles per sample IntIndex4=0 '4th sig. measurement interval: end index IntCycles4=0 '4th sig. measurement interval: DDC101 transfer cycles per sample ' DarkIndex1=20 '1st dark measurement interval: end index DarkIndex2=50 '2nd dark measurement interval: end index DarkIndex3=100 '3rd dark measurement interval: end index DarkIndex4=0 '4th dark measurement interval: end index ' 'Analog input electronics scale and offset factors ScaleChnl01=10.000 'PMT channel scale factor OffsetChnl01=4.967 'PMT channel offset '4.96600 ScaleChnl02=10.000 'EHT channel scale factor OffsetChnl02=4.970 'EHT channel offset '4.97520 ScaleChnl03=10.000 'Diode channel scale factor OffsetChnl03=4.9668 'Diode channel offset '4.97970 ScaleChnl04=10.000 'Temperature channel scale factor OffsetChnl04=4.980 'Temperature channel offset '5.000 '4.98000 ScaleChnl05=10.000 'Unused in UV3 OffsetChnl05=5.00000 'Unused in UV3 ScaleChnl06=10.000 'Unused in UV3 OffsetChnl06=5.00000 'Unused in UV3 ScaleChnl07=10.000 'Unused in UV3 OffsetChnl07=5.00000 'Unused in UV3 ScaleChnl08=10.000 'Unused in UV3 OffsetChnl08=5.00000 'Unused in UV3 'wavelength correction parameters WError=-0.47 'Start wavelength error correction'-0.18,-0.44 1/6/05,-0.58 2/6/05, -0.57 6/2/06mk, -0.59 5/3/09mk, -0.51 28/10/09mk, -0.40 21/09/15mk WRevShift=-3.02 'correcting rev wrt fwd wavelength'-2.77, -2.58 5/2/06mk, -2.71 6/2/06mk, -2.89 5/3/09mk, -2.79 28/10/09mk, -2.90 13/03/13mk -2.95 21/09/15mk DeltaWGrat2Fwd=-0.30 'Wavelength tuning correction for forward scan '-0.40 '-0.45 '-0.50 '-0.55 '-0.5 '-0.7 '-0.65 '-0.6 '-0.40 DeltaWGrat2Rev=1.0 'for rev scan (diff in nm between Grat2 and Grat1) '0.90 '0.85 '0.75 '0.80 '0.75 '0.7 '0.55 '0.2 '0.30 '0.45 '0.65 WBacklash=5 'amount to lead in by in the same dirn before starting scan WTuneAmp=0.00 'set to delta W sine amplitude for tuning run (2.00) '1.50 WTunePeriod=0.00 'set to delta W sine period for tuning run (10.00) '10.00 ' 'Monochromator grating params GratScale1Fwd=0.00123368 'Grating 1 scale Forward Scan GratScale1Rev=0.00123368 'Grating 1 scale Reverse Scan ParkError1=-205 'Grating 1 park error (nearest whole motor cycles from zero W) ' GratScale2Fwd=0.00123368 'Grating 2 scale Forward Scan GratScale2Rev=0.00123368 'Grating 2 scale Reverse Scan ParkError2=-288 'Grating 2 park error (nearest whole motor cycles from zero W) Alpha1Fwd=1.003 'Bentham alpha factor for grating 1 Forward Scan Alpha1Rev=1.003 'Bentham alpha factor for grating 1 Reverse Scan ' Alpha2Fwd=1.003 'Bentham alpha factor for grating 2 Forward Scan Alpha2Rev=1.003 'Bentham alpha factor for grating 2 Reverse Scan ' MotorErrAmp1=0 MotorErrPhase1=0 MotorErrAmp2=0 MotorErrPhase2=0 ' ' 'Drive mechanism parameters GratRot1=-1 'Bentham Grating motor sense reverse to Acton (so use -1 for Bentham) GratRot2=-1 'Bentham Grating motor sense reverse to Acton (so use -1 for Bentham) MotorCyclesPerRev=50 'step motor current cycles per revolution (50 for the Bentham) GearRatio=100 'ratio between step motor and grating shaft (100 for Bentham) FastStepDivider=4 'Number of points in single motor current cycle during fast motion (4=full step, 8=half step, etc) FastStepPhase=0.5 'Fast motion motor current cycle phase (0.5 for full step, 0 for half step) MotorAmplitude=1500 '12 bit DtoA current to step motors max (<=2047) MotorOffset=2048 '12 bit DtoA offset WStepPower=2 '=0 for pulse, =1 for low power, =2 for high power ' RunOption=SZA + Midday 'Default Run Option (0 for operator to set) SourceOption=Sun + Sky 'Default Source Option (0 for operator to set)