[INSTRM-1064] Add hardware-moved cards and keywords to ccd/hx actors. Created: 02/Sep/20  Updated: 03/Sep/20  Resolved: 03/Sep/20

Status: Done
Project: Instrument control development
Component/s: ics_ccdActor, ics_hxActor
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Normal
Reporter: cloomis Assignee: cloomis
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relates to INSTRM-1026 Add counter for physical SM configura... Done
relates to INSTRM-1035 Add fpaMoved keyword Done
relates to INSTRM-1036 Generate hexapodMoved, gratingMoved a... Done

 Description   

We have xcu and enu keys declaring when hardware has been moved. The ccd/hx actors are already groveling around in the keyword dictionaries and know which camera and module are theirs , so can synthesize a single generation number for each image file. MAX(fpaMoved, hexapodMoved, gratingMoved), and call it what, beamConfigDate, W_PBMDAT?



 Comments   
Comment by cloomis [ 02/Sep/20 ]

The ccd_$cam MHS keyword is

 Key('beamConfigDate',
     Int(name='visit', help='this visit'),
     Float(name='mjd', help='the date of the last move affecting the beam')),

and the header cards are:

name='W_SBEMDT', value=beamConfigDate, comment='[day] Beam configuration time'
name='W_SFPADT', value=fpaDate, comment='[day] Last FPA move time'
name='W_SHEXDT', value=hexapodDate, comment='[day] Last hexapod move time'
name='W_SGRTDT', value=gratingDate, comment='[day] Last grating move time'
Comment by cloomis [ 03/Sep/20 ]

ics_actorkeys merged at f6a79fa, tagged 1.4.4
ics_ccdActor merged at 38b923f, tagged 1.6.8

Generated at Sat Feb 10 16:31:31 JST 2024 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.