Line: 1 to 1 | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
Changed: | ||||||||
< < | WARNING!!!! PyChips is no longer supported for IPbus v2.0 devices and higher. This, unfortunately, removes Python as a valid software interface to
Releases
| |||||||
> > | This page describes new (as of early 2015) python bindings to the AMC13 software. This is very much a work in progress, but at least one demo program now works. | |||||||
Changed: | ||||||||
< < | InstallationIn order to use the Python software, you will need to have PyChips installed on your Scientific Linux machine. For instructions on how to obtain the PyChips libraries, visit the CACTUS Installation page. | |||||||
> > | See AMC13ObsoletePyChipsSoftware if for some reason you want the no-longer-supported PyChips based software. | |||||||
Changed: | ||||||||
< < | On a Scientific Linux system with PyChips installed: | |||||||
> > | The python code is included as of v1.1.0
$ source env.sh $ makeThere are some sample scripts in ...dev_tools/python . You'll need a connection file,
which needs to reference the address table files distributed with the software.
The way I handle this is to create a symbolic link to the ...etc/amc13 directory:
$ cd .../dev_tools/python $ ln -s ../../amc13/etc/amc13 .Then the connection file can use the symlink to find the address tables. Sample connection file: | |||||||
Deleted: | ||||||||
< < |
| |||||||
Changed: | ||||||||
< < | $ cd amc13_python_2013-01-31/src_amc13 $ python p_flash.py | |||||||
> > |
| |||||||
Changed: | ||||||||
< < | AMC13 Python Software Links
![]() | |||||||
> > | Finally you can run your script as follows:
$ ./printversion.py connectionSN43_ch.xml Using AMC13 software ver:35051 T1 firmware version 0x4016 T2 firmware version 0x25 | |||||||
Changed: | ||||||||
< < | -- EricHazen - 24 Jan 2012 | |||||||
> > | -- EricHazen - 12 Mar 2015 |