summaryrefslogtreecommitdiffstats
path: root/xml/test_pywrap/test_prop2.py
diff options
context:
space:
mode:
Diffstat (limited to 'xml/test_pywrap/test_prop2.py')
-rw-r--r--xml/test_pywrap/test_prop2.py7
1 files changed, 7 insertions, 0 deletions
diff --git a/xml/test_pywrap/test_prop2.py b/xml/test_pywrap/test_prop2.py
new file mode 100644
index 0000000..e9a3364
--- /dev/null
+++ b/xml/test_pywrap/test_prop2.py
@@ -0,0 +1,7 @@
+import pcipywrap
+import os
+
+def read_from_register():
+ reg1_val = pcipywrap.read_register('reg1');
+ test_prop1_val = pcipywrap.read_register('test_prop3');
+ return test_prop1_val - reg1_val;