Sample run of testfilters on the CMU.

It's most useful to watch the log file at the same time, so get two terminal windows up on the CMU.

Please be very careful when running this because it powers up equipment and moves the filters wheels, it does not play nice with the instrument control software, AND YOU ARE ROOT.

  1. Email telescopework to alert all staff that LBC tests will be run and confirm no other work is being done.
  2. Open a terminal window as root on cmu.lbc.lbto.org:
    1. ssh -X root@cmu.lbc.lbto.org
  3. type "cd /lbcontrol/current" in the terminal
  4. Make sure that the LBC control software is not running. Type "lbckill" in the terminal to stop the software.
  5. open a second terminal window like in steps 2-3
  6. type "./testfilters" in one of the terminal windows
    tail -f filters.log in the other window

Available options
  1. list available filters - list the filters, names and numbers
  2. test individual filters - send an individual filter move
  3. balance filter wheels (takes about 15 minutes) - runs the wheels in each direction 10 times, recording motor current every 1/2 sec or so, to a file
  4. randomly send filters - send any number of random filter moves
  5. park filters
  6. reload configuration - reload the channel configuration file with filter/speed settings, without shutting down
  7. send the same filter over and over, sleeping in-between

Balance - option 3
If you use the balance option, it will write a file in the same directory called balancetest.csv which is a comma-separated file of motor encoder counts, absolute encoder position, and current.

Sample output:
Filters System test program --- select LBC channel [B/R] or X to exit : r

Perform RED filters startup [y/n] ? y
Starting RED Filters System ...
   === RED FILTERS AVAILABLE:
    0:  (null)
    1:  r-SLOAN
    2:  I-BESSEL
    3:  i-SLOAN
    4:  z-SLOAN
    5:  (null)
    6:  R-BESSEL
    7:  V-BESSEL
    8:  F972N20
    9:  Y-FAN

Select the RED filter option
 1) list available filters
 2) test individual filters
 3) balance filter wheels (takes about 15 minutes)
 4) randomly send filters
 5) park filters
 6) reload configuration
 7) send the same filter over and over, sleeping in-between
 x) Exit
 Choice: 4

    How many random filter selections [1-1000, default 100]: 5
 iteration 1 .. send SDT_Uspec 
    Actual filter is >SDT_Uspec<
    Actual status is >ready<

 iteration 2 .. send r-SLOAN 
    Actual filter is >r-SLOAN<
    Actual status is >ready<

 iteration 3 .. send empty 
    Actual filter is >[empty]<
    Actual status is >ready<

    ## EMPTY selected - not implemented

 iteration 5 .. send SDT_Uspec 
    Actual filter is >SDT_Uspec<
    Actual status is >ready<


Topic revision: r4 - 07 May 2015, BarryRothberg
This site is powered by FoswikiCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Foswiki? Send feedback