Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • Default GUI
  • Extended GUI
  • Internal logger

Functionality

LogBookGrabber contains

Buttons

Buttons in the short (default) GUI:

  • Grab – click on this button activates cursor to select the window or grab any rectangular area on monitor.
  • Load – activates the file selection menu to load the image from file. Image will appear in the Attachement window.
  • Reset – clears the graphical Attachement window.
  • ELog – submits entire message in ELog
  • Save (bottom bar) – saves current configuration in the file confpars-grabber.txt
  • Close – closes the window and exit application.
  • Select tag – activates the drop-down menu to select the tag from the list of known in the DB.

Buttons in the extended GUI:

  • Save (top bar) – saves the image in file. Image is saved in full format in limits as displayed in Attachement window.
  • Logger – open the internal logger window.
  • Help – displays in the Logger help message about navigation in graphical window.

Check boxes

  • More options on/off extended GUI fields.
  • Lock fields switch between info and edit field for Experiment.

Edit fields

  • Message: – window for message which will be sent to ELog.
  • Run number: – run number, which will be associated with this message (the Resp. to ID: should be empty).
  • Resp. to ID: – previous message ID number, which will be used for response(the Run number: should be empty).
  • Description: – unknown
  • Tag – tag associated with message, which can be used in ELog for filtering.

Information filds

  • Author – user ID, who is an author of this message.
  • Experiment – experiment name, for example amodaq09
  • Instrument – instrument name, one of the list AMO, XPP, SXR, XCS, CXI, MEC
  • Last submitted message ID: the last successfully submitted message ID number.

Image viewer/editor

  • Attachement – graphical window for image which will be attached to the message and will show-up in ELog. This window has a simple graphical editor, which allows to crop the significant part of the image.
    To crop - press left/right mouse button on image, grag, and release in other point of the image. During mouse dragging, the rectangular with dashed-line boarder will show the selected region for zoom-in. Click on middle mouse button undo zoom-in. Up to 10 zoommed-in images can be undo.

How to run application

Code Block
setenv PYTHONPATH ${PYTHONPATH}:/reg/g/pcds/pds/grabber/lib/python2.7/site-packages

/reg/g/pcds/pds/grabber/bin/LogBookGrabber_qt.py -i <INSTRUMENT> -e <experiment-name> -u <user-name> -p <password> -w <web-service>

...