Manually move all cobras (not just the ones of interest) to home positions (make sure you have gloves on)
Generate ROM Scripts using Matlab function:
Dropbox\PFS_EM\SVN\MATLAB\ontimeTuning.m
ROM Script filenames shall follow the convention: YYYY_MM_DD_(theta/phi)(Fwd/Rev)_onTimeTuning.lst (Example: 2014_06_09_thetaFwd_onTimeTuning.lst)
Execute ROM Scripts with MSIM
Change names of test directories to follow convention: MM_DD_YY_HH_MM_SS_(theta/phi)(Fwd/Rev)_onTimeTuning
Start the Cobra ROM check script
All 9 positioners should move to +HS with assumed on-time settings
At the first pause in the script, check that theta and phi are in +HS
Resume script
When script is complete, check that theta and phi are in their -HS (home pos)
If theta and phi did not reach their hard-stops then on-time values assumed by on-time tuning script may need to be adjusted.
Target Convergence Analysis
Move MSIM target logs on testbed computer (pfsTests dir) to the drop box test results target convergence folder. You can simply copy the log dir and rename it to the mother directory's name from pfsTests when it is in dropbox.
Check that the target logs do not contain any #INF entries by using a linux environment and running: cat mId*.txt | grep INF
If #INF are found, run this from linux env in the test dir to replace the #INF instances with a large number: sed -i 's/#INF/1000000/g' *.txt
Open up the matlab script targConvAnlys script in matlab.
Change the logdir to the one containing the msim target logs
Update the config file to latest version or whatever is appropriate for this test run.
Change save figures variable to whatever you want depending on if you want figures saved.