WATCH OUT! THESE NOTES WERE MADE BEFORE LRIS-B WENT ONLINE! (ed. 2001 Oct.) ***************** * Saving Setups * ***************** It's wise to save your setups. It's wiser still to add a line to the setup file that automatically modifies your windowing so that it's optimal for longslit vs. mask mode. Here are two sample setup files (found in ~/setups) with that modification made and commented. ******************** * A Longslit Setup * ******************** #!/bin/sh # # This script generated by xlris: # # Script writing rules for the write setup button. # # 1. All xlris fields are read. # # 2. SLITNAME, FILTNAME, FOCUS are first and modified with NOWAIT # # 3. GRANAME and GRANGLE/WAVELEN/MSWAVE are last and are modified # with WAIT. # # 4. Trapdoor is not included. # # 5. Lamps are not included. # # 6. Polarimeter mechanisms are not included. # # # This is the slitmask move # echo Moving slitmask modify -s lris slitname=long_1.5 nowait if [ $? -ne 0 ] then echo slitmask move failed: $?; exit 10 fi # # This is the redfilt move # echo Moving redfilt modify -s lris redfilt=clear nowait if [ $? -ne 0 ] then echo filter move failed: $?; exit 10 fi # # This is the redfocus move # echo Moving redfocus modify -s lris redfocus=2019.96 nowait if [ $? -ne 0 ] then echo focus move failed: $?; exit 10 fi # # This is the grating move with wait. Wait must be used here # so the MSWAVE or WAVELEN move afterwards will not fail. # echo Moving grating modify -s lris graname=1200/7500 wait if [ $? -ne 0 ] then echo grating move failed: $?; exit 10 fi # # Move only GRANGLE for the moment. # Use wait to catch errors more obviously # echo Moving grating angle modify -s lris grangle=37.34 wait if [ $? -ne 0 ] then echo grating angle move failed: $?; exit 10 fi ############### # ADD BY HAND: echo Setting window modify -s lris window=1,0,550,2048,1000 ############### echo Script done. sleep 6 **************** * A Mask Setup * **************** #!/bin/sh # # This script generated by xlris: # # Script writing rules for the write setup button. # # 1. All xlris fields are read. # # 2. SLITNAME, FILTNAME, FOCUS are first and modified with NOWAIT # # 3. GRANAME and GRANGLE/WAVELEN/MSWAVE are last and are modified # with WAIT. # # 4. Trapdoor is not included. # # 5. Lamps are not included. # # 6. Polarimeter mechanisms are not included. # # # This is the slitmask move # echo Moving slitmask modify -s lris slitname=hdf00ap1.spinrad nowait if [ $? -ne 0 ] then echo slitmask move failed: $?; exit 10 fi # # This is the redfilt move # echo Moving redfilt modify -s lris redfilt=clear nowait if [ $? -ne 0 ] then echo filter move failed: $?; exit 10 fi # # This is the redfocus move # echo Moving redfocus modify -s lris redfocus=2125.00 nowait if [ $? -ne 0 ] then echo focus move failed: $?; exit 10 fi # # This is the grating move with wait. Wait must be used here # so the MSWAVE or WAVELEN move afterwards will not fail. # echo Moving grating modify -s lris graname=150/7500 wait if [ $? -ne 0 ] then echo grating move failed: $?; exit 10 fi # # Move only GRANGLE for the moment. # Use wait to catch errors more obviously # echo Moving grating angle modify -s lris grangle=15.59 wait if [ $? -ne 0 ] then echo grating angle move failed: $?; exit 10 fi ############### # ADD BY HAND: echo Setting window modify -s lris window=1,0,0,2048,2048 ############### echo Script done. sleep 6