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.

See AMC13ObsoletePyChipsSoftware if for some reason you want the no-longer-supported PyChips based software.

The python code is included as of v1.1.0

The python code is installed with the regular package. Check out the code from SVN, go to the top level directory and execute:

  $ source
  $ make

There 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:

<?xml version="1.0" encoding="UTF-8"?>
  <connection id="T1" uri="chtcp-2.0://localhost:10203?target=" address_table="file://amc13/AMC13XG_T1.xml" />
  <connection id="T2" uri="chtcp-2.0://localhost:10203?target=" address_table="file://amc13/AMC13XG_T2.xml" />

Finally you can run your script as follows:

  $ ./ connectionSN43_ch.xml
  Using AMC13 software ver:35051
  T1 firmware version 0x4016
  T2 firmware version 0x25

-- EricHazen - 12 Mar 2015

Edit | Attach | Watch | Print version | History: r39 < r38 < r37 < r36 < r35 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r39 - 04 Aug 2016 - SemirayGirgisChyla
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 2008-2023 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback