[INSTRM-1645] Enu slit init failed on SM3 Created: 20/Jun/22  Updated: 15/Nov/22  Resolved: 15/Nov/22

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

Type: Bug Priority: Normal
Reporter: fmadec Assignee: arnaud.lefur
Resolution: Done Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

Just got that error that I never saw before.

I dit use enu stop than today used start but it failed so disconnect/connect + init but it failed:

2022-06-20 09:21:51 cmdIn=enu_sm3 connect controller=slit 
2022-06-20 09:21:51 enu_sm3 i text="attaching controller slit from enuActor.Controllers.slit" 
2022-06-20 09:21:51 enu_sm3 i text="ModuleSpec(name='enuActor.Controllers.slit', loader=, origin='/software/mhs/products/Linux64/ics_enuActor/1.4.4/python/enuActor/Controllers/slit.py')" 
2022-06-20 09:21:51 enu_sm3 i text="" 
2022-06-20 09:21:51 enu_sm3 i text="creating new slit (7f6239a89d70)" 
2022-06-20 09:21:51 enu_sm3 i text="starting slit controller" 
2022-06-20 09:21:51 enu_sm3 i slitfsm=OFF,IDLE 
2022-06-20 09:21:51 enu_sm3 i metafsm=OFF,FAILED 
2022-06-20 09:21:51 enu_sm3 i slitfsm=OFF,LOADING 
2022-06-20 09:21:51 enu_sm3 i metafsm=OFF,FAILED 
2022-06-20 09:21:51 enu_sm3 i text="slit configuration correctly Loaded" 
2022-06-20 09:21:51 enu_sm3 i text="slit communication is open" 
2022-06-20 09:21:51 enu_sm3 i slit=0.16566,-0.49366,-14.54872,0.06899,-0.19559,-0.09148 
2022-06-20 09:21:51 enu_sm3 i slitposition="undef" 
2022-06-20 09:21:51 enu_sm3 i text="slit communication is functional" 
2022-06-20 09:21:51 enu_sm3 i slitfsm=LOADED,IDLE 
2022-06-20 09:21:51 enu_sm3 i slitmode="operation" 
2022-06-20 09:21:51 enu_sm3 i slit=0.16566,-0.49366,-14.54872,0.06899,-0.19559,-0.09148 
2022-06-20 09:21:51 enu_sm3 i slitposition="undef" 
2022-06-20 09:21:51 enu_sm3 i hxpstatus=0,"Not initialized state" 
2022-06-20 09:21:51 enu_sm3 i hxpsoftwarelimits="on" 
2022-06-20 09:21:51 enu_sm3 : controllers=pdu,rexm,temps,biasha,slit 
2022-06-20 09:21:54 cmdIn=enu_sm3 slit init 
2022-06-20 09:21:54 enu_sm3 i slitfsm=LOADED,INITIALISING 
2022-06-20 09:21:54 enu_sm3 i metafsm=LOADED,FAILED 
2022-06-20 09:21:54 enu_sm3 f text="command failed: ScannerError('while scanning a simple key', , \"could not find expected ':'\", ) in stale_possible_simple_keys() at /software/conda/envs/conda-ics/lib/python3.7/site-packages/yaml/scanner.py:292" 

I think we need a command to correctly restart the hexapod controller (it exists, but we do not access to it via actor) , because power off the oulet is not a convenient way to do that

 



 Comments   
Comment by arnaud.lefur [ 20/Jun/22 ]
2022-06-20T09:59:00.269 enu_sm3 i hxpstatus=0,"Not initialized state"  
2022-06-20T09:59:00.269 enu_sm3 i hxpsoftwarelimits="on"                          
2022-06-20T09:59:00.273 enu_sm3 i controllers=pdu,rexm,temps,biasha,slit                         
2022-06-20T09:59:00.273 enu_sm3 i slitfsm=LOADED,INITIALISING                                                                                                                                                            
2022-06-20T09:59:00.274 enu_sm3 i metafsm=LOADED,INITIALISING                                               
2022-06-20T09:59:00.412 enu_sm3 i hexapodmoved="59750.415975"                                                                                                                                                            
2022-06-20T09:59:00.412 enu_sm3 i text="initializing from saved position..."
2022-06-20T09:59:00.469 enu_sm3 i slitwork=54.41971,93.35771,467.07500,-0.02490,0.19150,-120.00000
2022-06-20T09:59:00.470 enu_sm3 i slittool=54.00000,93.53074,283.00000,0.00000,0.00000,-120.00000           
2022-06-20T09:59

more interestingly

Comment by arnaud.lefur [ 15/Nov/22 ]

the required scripts were not copied on the hexapod controller and causes the issue.
I've added the script and documentation to enuActor/hexapod

Generated at Wed Apr 16 21:28:25 JST 2025 using Jira 8.3.4#803005-sha1:1f96e09b3c60279a408a2ae47be3c745f571388b.