clade / PyDAQmx

Interface to National Instrument NIDAQmx driver
Other
133 stars 55 forks source link

Allow Task to be used as a context manager #31

Closed eric-wieser closed 8 years ago

eric-wieser commented 8 years ago

For example

with Task() as t:
    t.DoSomething()

# t is cleared here
clade commented 8 years ago

Thanks. Merge to the dev branch

Pierre