summaryrefslogtreecommitdiffstats
path: root/xml/test_pywrap/props.xml
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-05 12:33:48 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-05 12:33:48 +0100
commit5349163e93a107fdfea2ad58760f6149a8d749b0 (patch)
tree84afe1008bac52a00785ba71f415ae51b1b9c768 /xml/test_pywrap/props.xml
parent99c165c078222c789d5fc90a79c756c8fffdafea (diff)
downloadpcitool-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.xml14
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>