RHJAX3 / pylibnidaqmx

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

Bug in create_channel_count_edges #37

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. from nidaqmx import *
2. t3 = CounterInputTask()
3. t3.create_channel_count_edges("Dev0/ctr1")

The create_channel_count_edges method of CounterInputTask() will not create a 
channel as is does not pass the init counts value to the underlying NI-DAQmx 
function. In libnidaqmx.py, replace 

        return CALL ('CreateCICountEdgesChan', self, counter, name, edge_val, direction_val)==0

with

        return CALL ('CreateCICountEdgesChan', self, counter, name, edge_val, init, direction_val)==0

Original issue reported on code.google.com by starcraf...@gmail.com on 20 Nov 2013 at 12:12

GoogleCodeExporter commented 9 years ago
This issue was closed by revision r51.

Original comment by richard.hoechenberger on 22 Jan 2014 at 7:35