diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-05 12:33:48 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-05 12:33:48 +0100 |
commit | 5349163e93a107fdfea2ad58760f6149a8d749b0 (patch) | |
tree | 84afe1008bac52a00785ba71f415ae51b1b9c768 /xml/test_pywrap/props.xml | |
parent | 99c165c078222c789d5fc90a79c756c8fffdafea (diff) | |
download | pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.tar.gz pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.tar.bz2 pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.tar.xz pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.zip |
Add support for python script properties. Correct pcilib python wrapping. Update examples. Update cmakelists for work in shadow build mode.
Diffstat (limited to 'xml/test_pywrap/props.xml')
-rw-r--r-- | xml/test_pywrap/props.xml | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/xml/test_pywrap/props.xml b/xml/test_pywrap/props.xml new file mode 100644 index 0000000..137ad04 --- /dev/null +++ b/xml/test_pywrap/props.xml @@ -0,0 +1,14 @@ +<?xml version="1.0"?> +<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> + <transform path="/test/prop1" register="test_prop1" unit="C" read_from_register="(503975./1024000)*${/registers/fpga/reg1} + 28715./100" description="formula to get real fpga temperature from the fpga_temperature register in decimal"/> + <script path="/test/prop2" + register="test_prop2" + unit="C" + script="test_prop2.py" + description="test python script #1"/> + <script path="/test/prop3" + register="test_prop3" + unit="C" + script="test_prop3.py" + description="test python script #2"/> +</model> |