Instruction for setup B unit in bolzano:

On local Windows PC:

Remote vnc setup for win users using putty
  • merge the two .reg files attached
  • open putty
  • open a vnc@adsec@mg session
  • after, run a local vncviewer on "localhost:5900"

On remote PC:

Open a shell:
  • call "ao_restart.sh" script from any path and wait for the GUI to appear
  • press "system process" button
  • kill all WFS process

Open another shell:
  • cd ~/idl/adsec672a
  • run "xemacs"
  • press F12

In the xemacs-idl command line :

Startup:
  • @startup_left (=)
  • print, fsm_power_on() ( *)
  • xadsec
  • config_diagnostics (**) (#)
  • "startup" from xadsec GUI ( *)(***) (#)

Setting:
  • "start continuos updating" on GUI
  • print, adam_enable_coils()
  • .r mirror_set_script_offload ( *)
  • print, ramp_gain_script55() (for ts3 ramp_gain_script60())

Sustained use test:
  • histfile= '/mnt/work/idl/adsec672a/data/layer_phi_000000_time_hist_armando_672a.sav'
  • print, test_time_hist2(hist=histfile) ( *)
  • print, dspstorage() (in case the storing of diagnostics inSDRAM memory of DSP boards is required for the test)
  • Set xadsec GUI refresh time to 0.1s (effective is about few Hz refresh rate) in case the reading from DSP memory is required, otherwhise disable the countinuous update form the xadsec GUI
If it is needed, some useful test:
  • Global counter (delta between minmax c.a. 100 counts max):
    • print, read_seq_dsp(sc.all, '80000'xl, 1l, bb, /ul) & print, minmax(bb)
  • Check the FL status
    • print, test_skip_frame()
  • Dsp Watchdog Expired:
    • crate = rebin(indgen(6), 84, /sam) & crates=[crate, crate]
    • board = indgen(14) & tmp = [board, board, board, board, board, board] & boards = [tmp, tmp]
    • dsp = rebin([0,1], 168, /sam)
    • print, getdiagnvalue('HOUSEKPR00', '*expired*', -1, -1, dd) & print, minmax(dd.last) & print, [transpose(crates), transpose(boards),transpose(dsp), transpose(dd.last)] (***)
  • System reset:
    • print, adam_sys_reset() & wait, 15
  • Start in default logic bank:
    • print, adam_update()
    • out = adam_out
    • out.tcs_boot_select_n=0
    • print, adam_send(adam_out)
    • print, adam_sys_reset() & wait, 15
  • Change in user logic bank (default @ startup):
    • print, adam_update()
    • out = adam_out
    • out.tcs_boot_select_n=1
    • print, adam_send(adam_out)
    • print, adam_sys_reset() & wait, 15

Notes:

Markers:
  • ( =) answer "no" to the question about saving the ff_matrix
  • ( *) answer "yes" to any question
  • (**) be sure that the Fastdiagnostic has finished the bootstrap (check FASTDGN00.log in $ADOPT_LOG)
  • (***) be sure that the Housekeeper has finished the bootstrap (check HOUSEKPR00.log in $ADOPT_LOG)
  • (#) restart point when the system is already started up
Log files:
  • all log files are in $ADOPT_LOG folder
After a system FL timeout error:
  • on IDL console
    • print, adam_disable_coils()
    • print, adam_sys_reset() & wait, 15
After a logic flash:
  • on IDL console
    • print, adam_sys_reset() & wait, 15
  • on "system processes" GUI
    • "Stop" and "Start" of the processes: "MirrorCtrl", "MasterDiagnostic", "Housekeeper", "FastDiagnostic"
  • remember to wait for the process initialization (**) and (***)
  • on IDL console:
    • restart from (#)

-- MarcoXompero - 2009-08-10
Topic attachments
I Attachment Action Size Date Who Comment
adsecmg.regreg adsecmg.reg manage 13 K 11 Aug 2009 - 07:36 MarcoXompero  
vncadsecmg.regreg vncadsecmg.reg manage 13 K 11 Aug 2009 - 07:36 MarcoXompero  
Topic revision: r8 - 01 Sep 2009, ArmandoRiccardi
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