[INSTRM-1362] Add BIA lamp info to MCS headers Created: 16/Sep/21  Updated: 05/Nov/21  Resolved: 05/Nov/21

Status: Done
Project: Instrument control development
Component/s: ics_mcsActor, ics_spsActor
Affects Version/s: None
Fix Version/s: None

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

Issue Links:
Blocks
is blocked by INSTRM-1363 generate synthetic status for bia Done
Story Points: 1
Sprint: PreEngRun4

 Description   

Add BIA lamp cards to MCS headers. We probably do not want all four enuN dictionaries in each MCS frame, so I think this should be assembled manually. Oh, W_BIA2DC, etc.



 Comments   
Comment by cloomis [ 04/Nov/21 ]

We decided to use the spsActor view of the BIA lamps, which abstracts out the fact that there are four modules. For various usage reasons the MHS keyword is denormalized:

Field name FITS CARD Unit Range Meaning
power W_BIAPOW % 0-100 The high frequency ontime when the LEDs are on
period W_BIAPER ms >0 The total (on+off) "pulse" width. 1000 when not pulsing
dutyCycle W_BIADTY % 1-100 Basically 100*on/period
on W_BIAON ms >0 The width of the on time. 1000 when not pulsing
off W_BIAOFF ms >=0 The width of the off time. 0 when not pulsing.

Inside the mcsActor, we will only need to add sps to the list of loaded models, and the FITS header will be populated.

Comment by arnaud.lefur [ 05/Nov/21 ]

merged to master

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