diff options
author | Vasilii Chernov <vchernov@inr.ru> | 2016-02-05 12:33:48 +0100 |
---|---|---|
committer | Vasilii Chernov <vchernov@inr.ru> | 2016-02-05 12:33:48 +0100 |
commit | 5349163e93a107fdfea2ad58760f6149a8d749b0 (patch) | |
tree | 84afe1008bac52a00785ba71f415ae51b1b9c768 /xml/test_pywrap/test_prop2.py | |
parent | 99c165c078222c789d5fc90a79c756c8fffdafea (diff) | |
download | pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.tar.gz pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.tar.bz2 pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.tar.xz pcitool-5349163e93a107fdfea2ad58760f6149a8d749b0.zip |
Add support for python script properties. Correct pcilib python wrapping. Update examples. Update cmakelists for work in shadow build mode.
Diffstat (limited to 'xml/test_pywrap/test_prop2.py')
-rw-r--r-- | xml/test_pywrap/test_prop2.py | 7 |
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; |