Virgo Logbook
UTC--:--:--
GPS-
Reports
Electronics and Software›Basic software #15336

Alp Execution Problems

It seems that Alp does not always wait for macro execution as requested. During AlpMain::LOCK_INIT, AlpMain communicates with AlpAli as follows: #---- ALIGNMENT init (1) CMD_CM AlpAli AlMaLoadSet -handler AlMaTerminated /* stop any running macro */ OP rtn = -1 #OP WI_NI_offsets_changed = 0 /* used at Step12 */ OP LCA_STATUS = 0 /* used during LCA and at Step2 */ CMD_CM AlpAli AlMaLoadSet -t "Alignment_LockInit" -handler AlMaTerminated -i rtn WAIT 2 CMD_CM AlpAli AlMaLoadSet -t "Qoffsetcorrection" The expected result is that: any running macro on AlpAli is terminated, Alignment_LockInit is loaded and AlpMain waits for it to finish, Qoffsetcorrection is loaded and AlpMain continues without waiting. For some reason, these commands are not executed as expected. Instead, Alignment_LockInit is loaded and immediately aborted, then Qoffsetcorrection is loaded.
AlpAli Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Ali_Main aborted and unloaded - AlpMain Feb22,07-11:39:50>INFO...-AlMaMgrUnLoad> Send to AlpMain - type AlMaTerminated rtn 0 macro Ali_Main Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Load macro Ali_Main Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Macro Alignment_LockInit asked to be loaded by AlpMain Feb22,07-11:39:50>WARNING-> At GPS856175997-FR09279 - Macro Alignment_LockInit load aborted Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Macro Qoffsetcorrection asked to be loaded by AlpMain Feb22,07-11:39:50>INFO...-> At GPS856175997-FR09279 - Ali_Main aborted and unloaded - No Master Feb22,07-11:39:50>WARNING-GPS856175997-FR09279 - Elasped time 5.0263 Feb22,07-11:39:51>INFO...-> At GPS856175998-FR09280 - Load macro Qoffsetcorrection - Master is AlpMain
AlpMain Feb22,07-11:39:45>INFO...-> At GPS856175996-FR09278 - Cm send -to AlpAli -type AlMaLoadSet (OK) Feb22,07-11:39:46>INFO...-> At GPS856175997-FR09279 - Receives from AlpAli -handler AlMaTerminated(OK) Feb22,07-11:39:46>INFO...-> At GPS856175997-FR09279 - Cm send -to AlpAli -type AlMaLoadSet -text "Alignment_LockInit" (OK) Feb22,07-11:39:49>INFO...-> At GPS856176000-FR09282 - Receives from AlpAli -handler AlMaTerminated -int 0(OK) Feb22,07-11:39:51>INFO...-> At GPS856176002-FR09284 - Cm send -to AlpAli -type AlMaLoadSet -text "Qoffsetcorrection" (OK)

2 comments

masserot · 25 Feb 2007 · 11:00 #15361
The situation can be improved by using WAIT_TIME instead of WAIT. The problem appears during the period where 2 GCVSU were running and one consuming around 60% of the CPU time
masserot · 26 Feb 2007 · 09:50 #15363
This introduce a the same problem as Vb30: No interrupt received and unable to kill the process. We restore the previous configuration for Qr72 and Qr82: running at kernel level