ophyd.commands.log_pos

ophyd.commands.log_pos(positioners=None, extra_msg=None)

Get the current position of Positioners and make a logbook entry.

Print to the screen the position of the positioners and make a logbook text entry. This routine also creates session information in the logbook so positions can be recovered.

Parameters:

positioners : Positioner, list of Positioners or None

Returns:

int

The ID of the logbook entry returned by the logbook.log method.