summaryrefslogtreecommitdiffstats
path: root/xml/test_pywrap/props.xml
diff options
context:
space:
mode:
authorVasilii Chernov <vchernov@inr.ru>2016-02-08 11:55:33 +0100
committerVasilii Chernov <vchernov@inr.ru>2016-02-08 11:55:33 +0100
commite10e102b8b0ff3bf35f16b5276d56059d242e1fd (patch)
treee5ae763aa808412523ee74d6c8cbdabf5b01695f /xml/test_pywrap/props.xml
parent5349163e93a107fdfea2ad58760f6149a8d749b0 (diff)
downloadpcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.tar.gz
pcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.tar.bz2
pcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.tar.xz
pcitool-e10e102b8b0ff3bf35f16b5276d56059d242e1fd.zip
Add support for setting register value to script transfrom. Add set_property and get_property functions to pcipywrap. Cleaning cmakelists from unused dependencies
Diffstat (limited to 'xml/test_pywrap/props.xml')
-rw-r--r--xml/test_pywrap/props.xml10
1 files changed, 7 insertions, 3 deletions
diff --git a/xml/test_pywrap/props.xml b/xml/test_pywrap/props.xml
index 137ad04..59d593c 100644
--- a/xml/test_pywrap/props.xml
+++ b/xml/test_pywrap/props.xml
@@ -1,12 +1,16 @@
<?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"
+ <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"/>
+ <transform path="/test/prop2"
register="test_prop2"
unit="C"
script="test_prop2.py"
description="test python script #1"/>
- <script path="/test/prop3"
+ <transform path="/test/prop3"
register="test_prop3"
unit="C"
script="test_prop3.py"