You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I saw that but read it as "BlueAPI should give cleaner errors if the device doesn't exist". This was that the devices do exist but blueAPI can't find them. In your case was there a pmac object that blueAPI failed to pick up? Did you manage to fix the issue?
Yes the device was there, and could be found by running blueapi -c config.yaml controller devices, but wasn't picked up. The issue is still there, I just worked around it by explicitly passing the devices from the command line instead of relying on inject. This is not a great solution for plans that require multiple devices though...
From previous beamline testing, inject worked fine up to pre-release 0.4.5a1
inject only ever really worked by co-incidence, I've been trying to get dodal #597 over the line so that inject("foo") can be replaced with ixx.foo(connect=False), which would allow the device to be created, and yield from ensure_connected(foo, ...) at the start of the plan to ensure it's connected.
Activity
noemifrisina commentedon Sep 24, 2024
Run into something similar, is this related to #633 or a new one?
DominicOram commentedon Sep 24, 2024
I saw that but read it as "BlueAPI should give cleaner errors if the device doesn't exist". This was that the devices do exist but blueAPI can't find them. In your case was there a
pmacobject that blueAPI failed to pick up? Did you manage to fix the issue?noemifrisina commentedon Sep 24, 2024
Yes the device was there, and could be found by running
blueapi -c config.yaml controller devices, but wasn't picked up. The issue is still there, I just worked around it by explicitly passing the devices from the command line instead of relying on inject. This is not a great solution for plans that require multiple devices though...From previous beamline testing, inject worked fine up to pre-release
0.4.5a1DiamondJoseph commentedon Oct 14, 2024
injectonly ever really worked by co-incidence, I've been trying to get dodal #597 over the line so thatinject("foo")can be replaced withixx.foo(connect=False), which would allow the device to be created, andyield from ensure_connected(foo, ...)at the start of the plan to ensure it's connected.