Using MCSPU simulator

  • Start the program and the MCSPU GUI.

 $  /lbt/mcspu/current/bin/gosim

  • Wait until you get a cursor ("-->") in the MCSPU GUI window. At this point, you need to initialize the MCSPU. Under the assumption that you will be authorizing the left, front, bent Gregorian focal station, you need to type the following in the MCSPU GUI display:
       --> rot f               <== invokes the proper rotator page
       --> roverride lfbg on   <== sets the override on the cable chain
                                   In the STATES portion of the GUI, you
                                   will see the characters "ovr" appear
                                   on the following entry.
                                   LFBG  Chain: C_WAIT_OPR ovr
       --> rready lfbg         <== In the STATES portion of the GUI, you will
                                   need to wait until you see the
                                   following entry in the ready state.
                                   LFBG  State: R_READY
       --> rhold lfbg          <== In the STATES portion of the GUI, you will
                                   see the following entry go into HOLDING.
                                   LFBG Tracker: HOLDING
       --> pos                 <== Invokes the azimuth and elevation page
       --> azhold              <== In the STATES portion of the GUI, you will
                                   see the following entry go into HOLD.
                                   AZ Tracker= HOLDING
       --> elhold              <== In the STATES portion of the GUI, you will
                                   see the following entry go into HOLD.
                                   EL Tracker= HOLDING
    

You can use "rot f" and "pos" to flip back and forth between the GUI pages.

  • Now start the IIF, MCS, and PCS in another xterm
       $ ./netconfig start IIF
       $ ./netconfig start MCS
       $ ./netconfig start PCS 
    

  • Invoke the IIFGUI in Window 1 to set the authorized instrument on the LEFT side.
       $ ./IIFGUI &
    

    Use the "Control" button to invoke the dialog which allows you to set the authorized instrument. Choose the instrument on the LEFT side, and click the "Authorize" button. You should see confirmation on the main IIFGUI panel.

Testing the simulator

Once everything is set up and running, you can use the simple PCS client program to obtain the standard focal plane coordinates of the guide star. I will warn you this program is written strictly for programmer test usage, so it is NOT glamorous. Further, I change it at will to suit my purposes. Depending upon whether you have grabbed the TCS executables pre-built by Stephen, or you have built the code yourself will dictate how flexible your particular version of "pcsclient" is.

   $ ./pcsclient

It is a menu driven program. You will be invoking functions 1 and 14.

For the reference star, the results may be slightly different than for the guide star. I will eventually create another case for this test program for the reference star. At this time the wavelength is set to 0.63 microns for the guide star, corresponding to the 'r' filter of the AGw; you cannot change this.

For Command 1) you will need to provide the RA and Dec of the target in sexagesimal, the rotator mode, and the angle associated with the rotator mode.

* This has changed and asks for a few more items.

* You do not want to do the next step as you will be using the PresetAO to do this work. I have just included them here for completeness. You could do Command 14 if you want to see what the results are independent of your program.

For Command 14) you will need to provide the RA and Dec of the guide star in sexagesimal.

You can watch the IIFGUI and MCSPU GUI slewing to the target. If the azimuth, elevation, and rotator coordinates are not updating on the MCSPU GUI, there is something wrong. Watch the SYSLOG (/var/log/tcs.log) for messages.

Make sure you are authorized as Left, FrontBent Gregorian.

Example usage:

pcsclient
 
   .......

Enter a number: 1

Enter Target RA (HH:MM:SS) : 12:18:00
Enter Target DEC (DD:MM:SS) : 00:00:00

Enter epoch (1999.0, 2000.0): 2000.0

Enter RA proper motion (ma/yr): 0
Enter DEC proper motion (ma/yr) : 0

Rotator Mode (0=position, 1=parallactic, 2=idle): 0

Angle (degrees): 0

Target Coordinates (degrees) - RA: 184.5 DEC: 0
TARGET EL: 57.2875 AZ: 181.681

Make sure the telescope starts to slew (MCSPU is changing Altitude and Elevation).

Guide Star RA = Meridian + 00:00:05 (straight east of target by 75 arcseconds) Guide Star Dec = 00:00:00

Ideally, the Xmm = +45.0 and Ymm = 0.0. In reality, you will get Xmm ~= +44.8, Ymm ~= 0.18.
Topic revision: r3 - 03 Dec 2009, LucaFini
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