[INSTRM-1598] Add {{icc declareCurrentPfsDesign}} command Created: 09/May/22  Updated: 11/May/22  Resolved: 11/May/22

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

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


 Description   

We need to declare to iic and hence to gen2 which pfsDesign has been chosen. The minimum the iic command needs to do is:

  • find and load a given pfsDesign.
  • allocate visit0
  • generate a iic.pfsDesign=designId,visit0,ra,dec,pa,designName keyword. This will give Gen2 enough information to start a SETUPFIELD command. And that will call PFS with fps moveToPfsDesign and the associated agc commands.

The iic declare command will likely also call an ETS finalization routine, but that is to be added later. Since the finalize step is secondary, I propose that we call this IIC command by the more general declareCurrentPfsDesign id=N.

ICC does not care where this is called from. I personally imagine some PFS tool doing so.

When some as-yet-undefined iic finishField command comes in, the iic.pfsDesign keyword should be generated with none/null/nan fields.


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