8/3 - 8/7 Yerkes
8/12
Fixed readout to Lakeshore
data cuts for spt
8/13
What I need from Chris before he leaves
8/17
8/20
Matlab errors
Keck cryoperm_shield
8/24
8/25
Frame Packing Revisited
8/26
8/27
sync number weirdness
8/28
Antenna Layer Cleanup
8/31
Keck cryostat logbook posting

8/3 - 8/7 Yerkes

8/12

Fixed readout to Lakeshore

Photos are posted at
  if (/^\s*([0-9]+)\s/)http://astro.uchicago.edu/~randy/YSI09

and by Zosia at
http://www.flickr.com/photos/scoshyroshyfnosh/sets/72157621856616801/

data cuts for spt

Make the data structures persistent:
pro test, x=x, stopit=stopit
x=1
if keyword_set(stopit) then stop
end

IDL> test, x=my_x
IDL> print, my_x
  1

load_data1.pro
  program to load data

to do
  - What fraction of bolos fail cuts?
  - which cuts cut the most data?
  - Are there bolos that always fails cuts
  - Threashold for: SN, outlier, elnod

look inside the structure:

> help, data1, /structure
 ** Structure <202d4d68>, 3 tags, length=17883504, data length=17883498, refs=1:
   ANTENNA0        STRUCT    -> <Anonymous> Array[1]
   SCAN            STRUCT    -> <Anonymous> Array[106]
   OBSERVATION     STRUCT    -> <Anonymous> Array[1]

First I need to figure out how to read off which cuts are applied to which bolometers.

8/13

What I need from Chris before he leaves

- information on sizes of MLI blankets
  - where all of the MLI blankets go
  - How to hook everything back up and cool down.
  - Login account information for lab@spudws3

8/17

Working on Lakeshore readout.

8/20

Matlab errors

kstory@find:~/$ matlab

License Manager Error -15.
Cannot connect to license server
 The server (lmgrd) has not been started yet, or
 the wrong port@host or license file is being used, or the
 port or hostname in the license file has been changed.
Feature:       MATLAB
Server name:   license-manager.uchicago.edu
License path:
/usr/local/matlab7p3/etc/license.dat:/usr/local/matlab7p3 -
   /etc/*.lic
FLEXlm error:  -15,570.  System Error: 113 "No route to host"
For further information, refer to the FLEXlm End User Manual,
available at "www.macrovision.com".

MATLAB is unable to connect to the license server.
Make sure the SERVER line in your license file is correct.
Have your MATLAB administrator verify that the license manager is
running and validate network services.

For more information, see The MathWorks Support page at
http://www.mathworks.com/support and search for
"license manager error -15"

Keck cryoperm_shield

Part name: crtsperm_shield
spudws1:/home/csheehy/solidworks/SPUD_insert_mockup/cryoperm_shield.sldprt

Tube is 0.04" thick.

Bottom

8/24

To Do:
  - Tilt Cryostat to 5 deg, start taking data -> DONE
  - Make plots of cool down, analysis posting. -> DONE
  - Cryoperm email -> DONE


I stopped the data acquisition from the cool down stage at
2009, 08, 24, 09, 40, 51.

I re-started the acquisition at 2009, 08, 24, 09, 48, 13
I then tilted the cryostat to 5 deg using a string, a protractor and a
level.

Make log-book posting

8/25

Frame Packing Revisited

- SyncBoard::readFrameNumber
    Has the problem with reading the correct number from bbc_sync been
    solved yet?
  - Have we verified that sync number wrap-around works yet? UINT_MAX
  - DataNew::ServiceMsgQ
    why 0 < skipped_sync < 30 ?

What happens when we wrap?
  - skipped_sync

How do we deal with partial frames?

Places that need to be logged
  - SyncBoard::readFrameNumber
  - Antenna/DataNew::ServiceMsgQ -> skipped sync

8/26

gcp logger:
gcp/util/common/Logger.h
gcp/util/common/LogStream.h

For later:
lab@spudws3:
$ pwd
/home/lab/lakeShore/data
$ scp 200908*.txt kstory@find.uchicago.edu:~/keck/lakeShore/data/.

kstory@find:
$ pwd
/home/kstory/keck/lakeShore/data
$ cp 200908*.txt tmp/.

matlab on find:
>> pwd
ans =
/home/kstory/keck/lakeShore/matlab

>> mReader('20090822_004801.txt', '20090826_171625.txt')

8/27

Two new gcp problems:
  - BlastBus gets several of the same sample number
  - Mediator layer gets serial num=0, but antenna layer seems normal.


Questions:
  - why is there no bicepViewer binary on bicep31?

sync number weirdness

 ----------- New Sample 1335712898
incrementSampleCount(): case 2
  SN = 1335712898 is in current frame.
  * time = 21.4674 hours, 77282495 mili-sec
  * sampleNumber_      = 1335712898
  * frame_serialNumber = 1335712850
BlastBusTask woke up, # ready = 1
BlastBus ready to read
No more words in BBC frame after 436 words.
BlastBusTask is done
BlastBusTask is sleeping
BlastBusTask woke up, # ready = 0
BlastBusTask is done
BlastBusTask is sleeping
 ----------- New Sample 1335712899
incrementSampleCount(): case 1
  SN = 1335712899 Last sample in current frame.
  * time = 21.4674 hours, 77282500 mili-sec
  * sampleNumber_      = 1335712899
  * frame_serialNumber = 1335712850
*** writeFrameNumber: 1335712850
  * sampleNumber_arr_[0] = 1335712850
  * sampleNumber_arr_[4] = 1335712854
  * sampleNumber_arr_[49] = 1335712899
  * utcfast[0]  = 55070 days, 77282257 mili-sec
  * utcfast[4]  = 55070 days, 77282277 mili-sec
  * utcfast[49] = 55070 days, 77282500 mili-sec
Dropped out of select: timeout = 0xf1edc1c0
Timed out...
Leaving 1
27-AUG-2009 21:28:02.498: Got a tick command: 27-AUG-2009 21:28:02.501
27-AUG-2009 21:28:05.000
BlastBusTask woke up, # ready = 1
BlastBus ready to read
Found BBC end word in frame after 6 words.
No more words in BBC frame after 7 words.
Found BBC end word in frame after 7 words.
BlastBusTask is done
BlastBusTask is sleeping
--------------------------------------------------
setFrameCount()
  * frame_serialNumber_ = 1335712900
  * first_sampleNumber_ = 1335712900
  * last_sampleNumber_  = 1335712949
 ----------- New Sample 1335712900
incrementSampleCount(): case 2
  SN = 1335712900 is in current frame.
  * time = 21.4674 hours, 77282505 mili-sec
  * sampleNumber_      = 1335712900
  * frame_serialNumber = 1335712900
 * Buffering He, Sync
BlastBusTask woke up, # ready = 1
BlastBus ready to read
No more words in BBC frame after 179 words.
BlastBusTask is done
BlastBusTask is sleeping
BlastBusTask woke up, # ready = 1
BlastBus ready to read
Found BBC end word in frame after 263 words.
No more words in BBC frame after 264 words.
Found BBC end word in frame after 264 words.
BlastBusTask is done
BlastBusTask is sleeping
BlastBusTask woke up, # ready = 0
BlastBusTask is done
BlastBusTask is sleeping
BlastBusTask woke up, # ready = 1
BlastBus ready to read
Found BBC end word in frame after 441 words.
No more words in BBC frame after 651 words.
BlastBusTask is done
BlastBusTask is sleeping
BlastBusTask woke up, # ready = 0
BlastBusTask is done
BlastBusTask is sleeping
 ----------- New Sample 1335712903
incrementSampleCount(): case 2
  SN = 1335712903 is in current frame.
  * time = 21.4674 hours, 77282529 mili-sec
  * time = 21.4674 hours, 77282529 mili-sec
  * time = 21.4674 hours, 77282530 mili-sec
  * sampleNumber_      = 1335712903
  * frame_serialNumber = 1335712900
 ----------- New Sample 1335712905
incrementSampleCount(): case 2
  SN = 1335712905 is in current frame.
  * time = 21.4674 hours, 77282530 mili-sec
  * time = 21.4674 hours, 77282530 mili-sec
  * sampleNumber_      = 1335712905
  * frame_serialNumber = 1335712900
 ----------- New Sample 1335712903
incrementSampleCount(): case 2
  SN = 1335712903 is in current frame.
  * time = 21.4674 hours, 77282530 mili-sec
  * sampleNumber_      = 1335712903
  * frame_serialNumber = 1335712900
BlastBusTask woke up, # ready = 1
BlastBus ready to read
Found BBC end word in frame after 232 words.
No more words in BBC frame after 233 words.
Found BBC end word in frame after 233 words.
BlastBusTask is done
BlastBusTask is sleeping
 ----------- New Sample 1335712905
incrementSampleCount(): case 2
  SN = 1335712905 is in current frame.
  * time = 21.4674 hours, 77282534 mili-sec
  * time = 21.4674 hours, 77282534 mili-sec
  * sampleNumber_      = 1335712905
  * frame_serialNumber = 1335712900
 ----------- New Sample 1335712905
incrementSampleCount(): case 2
  SN = 1335712905 is in current frame.
  * time = 21.4674 hours, 77282534 mili-sec
  * sampleNumber_      = 1335712905
  * frame_serialNumber = 1335712900
 ----------- New Sample 1335712906
incrementSampleCount(): case 2
  SN = 1335712906 is in current frame.

To Do:
  - finish timeout and sim edits to DataNew, DataBase

8/28

Antenna Layer Cleanup

gcp to do
  - Logger capabilities
  - Masd frame packing
  - mediator zeros problem
  - html documentation


To Do when I have gcp access
  - Clean NetDataParse, re-name it to TimeBoard or something

Matlab problems
  - auto indent on return
  - comment region

8/31

Keck cryostat logbook posting

0 deg:
20090818_171019.txt
20090824_091449.txt

5 deg:
20090824_094813.txt
20090824_175202.txt

0 deg:
20090824_180847.txt
20090826_092726.txt

5 deg:
20090826_100444.txt
20090826_140637.txt

10 deg:
20090826_141500.txt
20090827_102433.txt

15 deg:
20090827_102521.txt
20090828_083551.txt

20 deg:
20090828_084035.txt
20090829_155523.txt

25 deg:
20090829_160000.txt
20090831_112027.txt


Plots
cool_down_0deg_185h.jpg
mReader('20090818_171019.txt','20090826_092726.txt')

cool_down_5deg_4h.jpg
mReader('20090826_100444.txt','20090826_140637.txt')

cool_down_10deg_20h.jpg
mReader('20090826_141500.txt','20090827_102433.txt')

cool_down_15deg_22h.jpg
mReader('20090827_102521.txt','20090828_083551.txt')

cool_down_20deg_31h.jpg
mReader('20090828_084035.txt','20090829_155523.txt')

cool_down_25deg_43h.jpg
mReader('20090829_160000.txt','20090831_112027.txt')

cool_down_306h.jpg
mReader('20090818_171019.txt','20090831_112027.txt')

cool_down_tilt_227deg.jpg
mReader('20090822_004801.txt','20090831_112027.txt')
  - just the tilting part

cool_down_0deg_109h.jpg
mReader('20090822_004801.txt','20090826_140637.txt')

For Josh:
  - use real time for x axis
  - Overall Title
  - automatic saving
  - color plot