alsterane / pylibnidaqmx

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

add call for DAQmxResetDevice #28

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
I propose adding the call to DAQmxResetDevice to the Device class in 
libnidaqmx.py

class Device(str):

    """
    Exposes NI-DACmx device to Python.
    """

    def reset(self):
        """
        Stops and deletes all tasks on a device and rests outputs to their defaults
        calls  int32 DAQmxResetDevice (const char deviceName[]);
        """
        return CALL('ResetDevice',self)

Original issue reported on code.google.com by chris.le...@gmail.com on 19 Jun 2012 at 5:20

GoogleCodeExporter commented 9 years ago
Done in svn.
Thanks!

Original comment by pearu.peterson on 20 Jun 2012 at 11:25