blob: 2310d78b0f1c3da1a3010b620677389ce8f57aa0 (
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/fpga_temperature} + 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" 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>
|