/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to xml/test/test_prop3.py

  • Committer: Suren A. Chilingaryan
  • Date: 2016-02-23 06:20:33 UTC
  • mfrom: (346.1.18 pcitool)
  • Revision ID: csa@suren.me-20160223062033-mz8qkpm1a2oioveb
Merge Python scripting support from Vasiliy Chernov

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
def read_from_register(ctx, value):
 
2
   return ctx.get_property('/registers/fpga/reg1')
 
3
    
 
4
def write_to_register(ctx, value):
 
5
   ctx.set_property(value, '/registers/fpga/reg1')