/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to xml/test_pywrap/props.xml

  • Committer: Vasilii Chernov
  • Date: 2016-02-08 10:55:33 UTC
  • mto: This revision was merged to the branch mainline in revision 353.
  • Revision ID: vchernov@inr.ru-20160208105533-fl0uue3ukv6di13b
Add support for setting register value to script transfrom. Add set_property and get_property functions to pcipywrap. Cleaning cmakelists from unused dependencies

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<?xml version="1.0"?>
2
2
<model xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
3
 
  <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"/>
4
 
  <script path="/test/prop2"
 
3
  <transform path="/test/prop1" 
 
4
      register="test_prop1"
 
5
      unit="C" 
 
6
      read_from_register="(503975./1024000)*${/registers/fpga/reg1} + 28715./100" 
 
7
      description="formula to get real fpga temperature from the fpga_temperature register in decimal"/>
 
8
  <transform path="/test/prop2"
5
9
          register="test_prop2"
6
10
          unit="C"
7
11
          script="test_prop2.py"
8
12
          description="test python script #1"/>
9
 
  <script path="/test/prop3"
 
13
  <transform path="/test/prop3"
10
14
          register="test_prop3"
11
15
          unit="C"
12
16
          script="test_prop3.py"