IcepPAP console application

IcePAP scripts, base on ethernet communication Version: 3.0.0.

usage: icepap [-h] [--version] {save,check,update,autofix,send} ...

Named Arguments

--version

show program’s version number and exit

Sub-commands:

save

Save the configuration to a file

icepap save [-h] [-p PORT] [-t TIMEOUT] [--bkpfile BKPFILE] [-d]
            host [axes [axes ...]]

Positional Arguments

host

IcePAP Host

axes

Axes to save, default all

Default: []

Named Arguments

-p, --port

IcePAP port

Default: 5000

-t, --timeout

Socket timeout

Default: 3

--bkpfile

Output backup filename

Default: “”

-d, --debug

Activate log level DEBUG

Default: False

check

Check the IcePAP configuration for a backup file

icepap check [-h] [-d] [--host HOST] filename [axes [axes ...]]

Positional Arguments

filename

Backup file

axes

Axes to save, default all

Default: []

Named Arguments

-d, --debug

Activate log level DEBUG

Default: False

--host

Use another IcePAP host instead of the backup saved.

Default: “”

update

Change the firmware version. It creates a backup before to change the FW

icepap update [-h] [-p PORT] [-t TIMEOUT] [--bkpfile BKPFILE]
              [--no-check NOCHECK] [-d]
              host fwfile

Positional Arguments

host

IcePAP Host

fwfile

Firmware binary file

Named Arguments

-p, --port

IcePAP port

Default: 5000

-t, --timeout

Socket timeout

Default: 3

--bkpfile

Output backup filename

Default: “”

--no-check

Avoid the checking procedure after the update

-d, --debug

Activate log level DEBUG

Default: False

autofix

Autofix a driver configuration

icepap autofix [-h] [-p PORT] [-t TIMEOUT] [--bkpfile BKPFILE]
               [--no-check NOCHECK] [-d]
               host loadfile

Positional Arguments

host

IcePAP Host

loadfile

backup to load

Named Arguments

-p, --port

IcePAP port

Default: 5000

-t, --timeout

Socket timeout

Default: 3

--bkpfile

Output backup filename

Default: “”

--no-check

Avoid the checking procedure after the update

-d, --debug

Activate log level DEBUG

Default: False

send

Send IcePAP raw commands

icepap send [-h] [-p PORT] [-t TIMEOUT] [-d] host command

Positional Arguments

host

IcePAP Host

command

Raw command

Named Arguments

-p, --port

IcePAP port

Default: 5000

-t, --timeout

Socket timeout

Default: 3

-d, --debug

Activate log level DEBUG

Default: False

Documentation: https://alba-synchrotron.github.io/pyIcePAP-doc/ Copyright 2008-2017 CELLS / ALBA Synchrotron, Bellaterra, Spain.