stefan789 / pylibnidaqmx

Automatically exported from code.google.com/p/pylibnidaqmx
Other
0 stars 0 forks source link

enhancement: add read_scalar method to AnalogInputTask #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I find it inconvenient to do something like read().flatten()[0] when I want a 
sample from a task with a single channel, so I added a read_scalar() method.  
Patch attached.

Original issue reported on code.google.com by jpko...@gmail.com on 8 Mar 2012 at 11:45

Attachments:

GoogleCodeExporter commented 9 years ago
Thanks for the patch! It is committed to repo.

Original comment by pearu.peterson on 9 Mar 2012 at 7:14