[INSTRM-1678] SM3 enu bia: can't set duty cycle Created: 29/Jul/22  Updated: 04/Mar/23  Resolved: 04/Mar/23

Status: Won't Fix
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: Won't Fix Votes: 0
Labels: SPS
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Story Points: 2

 Description   

We cannot set duty cycle > 100

we should be able to go up to 255

 

 



 Comments   
Comment by arnaud.lefur [ 09/Aug/22 ]

Do you mean bia strobe duty cycle or the led power ?
power range is 1-255 indeed, but strobe duty cycle is 1-100, widely different logic.

Comment by arnaud.lefur [ 04/Mar/23 ]

Just to confirm that there were indeed a confusion :

(rubin3_ics) alefur@PFS-WS2:~$ oneCmd.py enu_sm2 biasha raw=set_power255
2023-03-03T21:43:34.380 sent enu_sm2 biasha raw=set_power255 (from alefur_PFS_WS2)
2023-03-03T21:43:34.393 enu_sm2 : text="returned: 255"

Power to the LED can be indeed driven to 255

(rubin3_ics) alefur@PFS-WS2:~$ oneCmd.py enu_sm2 biasha raw=set_duty255
2023-03-03T21:43:41.769 sent enu_sm2 biasha raw=set_duty255 (from alefur_PFS_WS2)
2023-03-03T21:43:41.786 enu_sm2 : text="returned: value out of range.n"

(rubin3_ics) alefur@PFS-WS2:~$ oneCmd.py enu_sm2 biasha raw=set_duty90
2023-03-03T21:46:20.111 sent enu_sm2 biasha raw=set_duty90 (from alefur_PFS_WS2)
2023-03-03T21:46:20.122 enu_sm2 : text="returned: 90"

but duty cycle of the strobe mode, can only be set between 1 and 100.

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