diff options
Diffstat (limited to 'xml/test_pywrap/test_prop2.py')
-rw-r--r-- | xml/test_pywrap/test_prop2.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/xml/test_pywrap/test_prop2.py b/xml/test_pywrap/test_prop2.py index 69a2190..d7e10bc 100644 --- a/xml/test_pywrap/test_prop2.py +++ b/xml/test_pywrap/test_prop2.py @@ -1,8 +1,8 @@ import pcipywrap + +def read_from_register(value): + return pcipywrap.get_property('/test/prop3') / 2 -def read_from_register(): - return pcipywrap.get_property('/registers/fpga/reg1') / 2 - -def write_to_register(value): - pcipywrap.set_property(value*3, '/registers/fpga/reg1') +def write_to_register(value): + pcipywrap.set_property(value*2, '/test/prop3') |