[INSTRM-1262] Implement pfilamp control commands, Created: 01/May/21  Updated: 15/Oct/21  Resolved: 19/Sep/21

Status: Done
Project: Instrument control development
Component/s: ics_pfilampsActor
Affects Version/s: None
Fix Version/s: None

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

Story Points: 2
Sprint: EngRun03

 Description   

The pfilampsActor has the templates for controlling the lamps. Implement them.

We want the pfilamps and dcb actors to look the same:

  • before opening the shutter, setup what the controller should do with the lamps.
  • after opening the shutter, tell the controller to run the lamp sequence.

Since the DCB is in use and is working as an integral part of SPS, model the commands on that. We will probably want to slightly adapt the code which is running on the pi to match what was implemented on the DCB power strip.



 Comments   
Comment by cloomis [ 05/May/21 ]

This was surprisingly more involved that I had guessed. The idiom of the shell code should probably be updated – the sunss generation is cleaner.

As this is functional I'll probably close it soon then open up other tickets.

arnaud.lefur This should match the dcb commands fairly well. Getting the status back during illumination will be tricky. The HgCd lamp warmup is as tricky to deal with as the DCB HgAr lamp. Thoughts?

pfilamps i help="pfilamps setup [argon=N] [hgcd=N] [krypton=N] [neon=N] [xenon=N] [halogen=N]"
pfilamps i help="    Configure the calibration system lamps for the given exposure times. "
pfilamps i help="pfilamps go"
pfilamps i help="    Given the already configured lamps, run the sequence "
Comment by cloomis [ 19/Sep/21 ]

Merged at addac6f, tagged 1.1.0

This branch holds a fair amount of messy development, both on the pi and on the actor sides.

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