-
Notifications
You must be signed in to change notification settings - Fork 1
AD_Acquire, clarify the meaning of the path kwarg #293
Comments
@qzhang234 which branch should I use? |
@prjemian I just pushed today's change to |
Also I'm very confused about Currently |
The ``write_path_template`` must always be provided, only provide
``read_path_template`` if the writer and reader will not have the
same mount point. We satisfy this requirement: ipython-8idiuser/profile_bluesky/startup/instrument/devices/ad_lambda2M.py Lines 239 to 240 in 62b18ce
Since that use is located in the middle of the very long python file, and that use is very important to the instrument team to understand, these definitions are made near the top of the file: ipython-8idiuser/profile_bluesky/startup/instrument/devices/ad_lambda2M.py Lines 27 to 30 in 62b18ce
|
In #292 (comment),
|
This use: ipython-8idiuser/profile_bluesky/startup/instrument/devices/ad_lambda2M.py Lines 239 to 240 in 62b18ce
Later (in the
we use the same
and the DM workflow path: ipython-8idiuser/profile_bluesky/startup/instrument/plans/xpcs_acquire.py Lines 123 to 130 in 73d28f5
Note the code that adjusts the path for the DM workflow: ipython-8idiuser/profile_bluesky/startup/instrument/plans/xpcs_acquire.py Lines 125 to 126 in 73d28f5
But we have not anticipated the area detector write path would begin with |
My analysis: this code |
In
AD_Acquire
there is apath
kwarg that is used to set the path the detector uses to write image files and also the path that bluesky will write the DM workflow file. Can't do that since the Lambda2M does not have the same filesystems as the bluesky workstation. Execution fails here:ipython-8idiuser/profile_bluesky/startup/instrument/plans/xpcs_acquire.py
Lines 295 to 297 in 73d28f5
det.hdf1.read_path_template
anddet.hdf1.write_path_template
. Also, clarify the meaning of thepath
kwarg (IOC or Bluesky sense).Originally posted by @prjemian in #292 (comment)
The text was updated successfully, but these errors were encountered: