blob: dc08cbe91e528d7c1a2f44fe63e0bc69d14d7d8c (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
<?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/sensor_temperature:C} - 27315./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" write_verification="0" />
<transform path="/test/prop3" register="test_prop3" unit="C" script="test_prop3.py" description="test python script #2" />
<transform path="/test/prop_mt"
register="test_prop_mt"
unit="C"
script="test_prop_mt.py"
description="Example of thread safe python property"/>
</model>
|