Versions Compared

Key

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

...

Code Block
Options:
  -h, --help              show this help message and exit
  -i INSSTA, --ins=INSSTA the name of an instrument and station <INS>[:<station-number>]
  -e EXP, --exp=EXP       the name of some specific experiment
  -w URL, --url=URL       the base URL of the LogBook web service
  -u USR, --usr=USR       the user name to connect to the web service
  -p PAS, --pas=PAS       the password to connect to the web service
  -c CMD, --cmd=CMD       the command for child message
  -f CFNAME, --cfg=CFNAME the file name with configuration parameters

option "-i <INSTRUMENT><station>"

This parameter contains the name of instrument and optional station number, for example AMO, AMO:0, etc.

option "-e <experiment-name>"

The experiment name where messages will be submitted, for example amodaq09.

option "-u <user-name>"

The name of the user, for example amoopr. User should have a permission to submit messages in the experimental and instrumental ELogs.

option "-p <password>"

User password. User need to pass two authorizations for submission of messages in the experimental and instrumental ELogs, respectively.

option "-w <web-service>"

Currently use <web-service> = https://pswww.slac.stanford.edu/ws-authImage Added

option "-c <child-message-command>"

At click on Submit button, the regular message is submitted and its ID number is returned.
If this option is specified, the second message is submitted as an attachment to the first message with text produced by the command, specified in this option. For example, <child-message-command> = "ls -l".

option "-f <configuration-file>"

If this parameter is missing, the default configuration file name confpars-grabber.txt is used. If file is missing, the default parameters will be used. At click on "Exit" button, current parameters will be saved in configuration file, all open windows will be closed. Click on "x" button in the top right corner of the main window does the same operations, but does not save configuration file.