Tags:
create new tag
view all tags

MSIM STARTUP

  1. Open MSIM Camera software and select Test mode
  2. Open MSIM Main software and select Test mode. All commands will be sent from this MSIM instance.

Connect Motors

  • Open Control->Show Motor Control -> SetupConn -> Check that all USB ports are in the selected window and add them if not. Then click ok.
    • Optionally may test selected ports to see how many motors are connected (2 per cobra unless gen1)
  • Open Control -> Show Motor Control -> Click connect and observe one or more motor ids populate the table
  • Open Control -> Show Motor Control -> Load most recent Motor Control Textfile -> Close Dialog

Setup Simulation (necessary for targets)

  • Open Simulation -> Show -> Load the most recent Arm Simulation Textfile -> Close Dialog

CAMERA SETUP

From the msim main sequencer, load: D:\DevCodePft\Main\UI\Data\Sequences\Remote_CameraSetup.lst Check that all commands complete successfully (green)

Load Bias and Dark Image

  • Open main mSim -> Camera -> GetImage -> Load latest Image with same relative exposure time from PfsTests Folder on D:/
  • Or run D:\DevCodePft\Main\UI\Data\Sequences\Compute Bias and Dark Images.lst and modify the exposure time to be what you need

REMOTE DESKTOP OF SAGE-PC

  • From windows start menu, type in 'Remote Desktop Connection' and open the terminal
  • In computer field, input the IP '137.79.69.105'
  • Connect using username/password of 'sage'/'cobra'

CENTER METROLOGY

  1. Execute the appropriate motor map sequence on msim. D:\DevCodePft\Main\UI\Data\Sequences\GEN2_GEN3_S1_Centers_single_image.lst
  2. Edit and execute the following script in matlab with the correct direcotry containing center metrology images: \Dropbox\PFSMatlab\Metrology\getImgCentroids.m
  3. There should now be ImageId data structures in your workspace. Save them to the appropriate DropBox results folder.
  4. Edit and execute the motor map script: \Dropbox\PFSMatlab\Metrology\makeMotorMap.m
  5. initImage should be the first reference image and then mMapImage should be the center metrology image.

Matlab Metrology

  1. open Multiple_centersMain.m
  2. Update the "topdir" variable to the directory containing images for processing.
  3. Run the script.
  4. A series of .mat files is generated. Each file contains a data structure that contains the information listed below.


Matlab_Metrology_tree.PNG

Topic attachments
I AttachmentSorted ascending History Action Size Date Who Comment
PNGPNG Matlab_Metrology_tree.PNG r3 r2 r1 manage 32.1 K 2014-01-28 - 21:34 UnknownUser Matlab metrology tree
Edit | Attach | Watch | Print version | History: r8 < r7 < r6 < r5 < r4 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r8 - 2014-01-28 - ChazMorantz
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2024 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback