[INSTRM-1561] Unable to use detector throughfocus iic cmd on SM3 Created: 28/Mar/22  Updated: 30/Mar/22  Resolved: 30/Mar/22

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

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

Reviewers: Romain Philippe Lhoussaine ben brahim

 Description   

Got that error

 

 
2022-03-28 11:14:40 iic i subcommand=920,26,"dcb sources prepare",1,"" 
2022-03-28 11:14:40 iic i subcommand=920,27,"sps expose arc visit={visit} doLamps cams={cams}",1,"" 
2022-03-28 11:14:40 iic i subcommand=920,28,"sps ccdMotors move a=253.0 b=253.0 c=253.0 microns abs cams=b3",1,"" 
2022-03-28 11:14:40 iic i subcommand=920,29,"dcb sources prepare",1,"" 
2022-03-28 11:14:40 iic i subcommand=920,30,"sps expose arc visit={visit} doLamps cams={cams}",1,"" 
2022-03-28 11:14:40 iic i subcommand=920,31,"sps ccdMotors move a=280.0 b=280.0 c=280.0 microns abs cams=b3",1,"" 
2022-03-28 11:14:40 iic i subcommand=920,32,"dcb sources prepare",1,"" 
2022-03-28 11:14:40 iic i subcommand=920,33,"sps expose arc visit={visit} doLamps cams={cams}",1,"" 
2022-03-28 11:14:40 iic w text="Unmatched command: sources prepare (exception: Invalid cmd: sources prepare)" 
2022-03-28 11:14:40 iic i seq920="SpectroJob(lightSource=dcb2 resources=dcb2,b3,rsh_sm3,bsh_sm3 visitRange=None,None startedAt(2022-03-28T11:14:27.802570) status=text=\"Unmatched command: sources prepare (exception: Invalid cmd: sources prepare)\"" 
2022-03-28 11:14:40 iic i sequence=920,detThroughFocus,failed,"iic detector throughfocus position=10,280,11 cam=b3 head='sps declareLightSource sm3=dcb2'","","" 
2022-03-28 11:14:40 iic f text="command failed: RuntimeError('Sub-command has failed.. sequence stopping now !!!') in genProperOutput() at /software/mhs/products/Linux64/ics_iicActor/1.3.3/python/ics/iicActor/utils/sequencing.py:152"
 

 

also got error mentioning ccd_r2 wipe failed while I am using B3...

 



 Comments   
Comment by fmadec [ 28/Mar/22 ]

I am stlll trying different things:

 

iic detector throughfocus position=10,270,20 exptime=15 duplicate=1 cam=b3 switchOn=hgar switchOff=hgar head='sps declareLightSource sm3=dcb2'

 

I don't see the cmd dcb sources prepare but dcb arc on=hgar (why not)

but then the error is

2022-03-28 11:39:59 iic w notarget="the target named ccd_r2 is not connected" 
2022-03-28 11:39:59 iic w text="WipeFailed(ccd_r2 with actor is not connected)

 

don't understand why r2 is mentioned here while it is b3

Comment by arnaud.lefur [ 30/Mar/22 ]

I have it working based on 1.4.1 with various hacks.

if you want to use lamp-based exposure time, you have to use is hgar=15 argument.

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