[INSTRM-146] enu slit init get status error: errNb Created: 11/Jul/17  Updated: 05/Jul/18  Resolved: 05/Jul/18

Status: Won't Fix
Project: Instrument control development
Component/s: ics_enuActor
Affects Version/s: None
Fix Version/s: None

Type: Bug Priority: Major
Reporter: fmadec Assignee: arnaud.lefur
Resolution: Won't Fix Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Arnaud,

there is an error in enu after a init

08:22:05.867903  .hub 0 cmds d CmdIn="RtdSM_client.pfs","enu","slit init"
08:22:05.868549  .hub 0 cmds d CmdQueued=15852540,1499761325.87,"RtdSM_client.pfs",21,"enu",4347,"slit init"
08:22:05.904156  RtdSM_client.pfs 21 enu w text='SLIT  <class enuActor.fysom.FysomError> event startInit inappropriate in current state IDLE   File /home/pfs/mhs/devel/ics_enuActor/python/enuActor/Commands/SlitCmd.py, line 75, in initialise'
08:22:05.909698  RtdSM_client.pfs 21 enu w text='SLIT getStatus failed <type exceptions.NameError> global name errNb is not defined   File /home/pfs/mhs/devel/ics_enuActor/python/enuActor/Controllers/slit.py, line 139, in getStatus'
08:22:05.922551  RtdSM_client.pfs 21 enu f slit=IDLE,operation,nan,nan,nan,nan,nan,nan


 Comments   
Comment by arnaud.lefur [ 06/Sep/17 ]

It's because you can't go from IDLE to INIT due to the current state machine architecture.
You have to disconnect/connect controller, then you can redo the INIT.
I can update the scheme, if it's safe and more convinient.

Comment by arnaud.lefur [ 05/Jul/18 ]

obsolete

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