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
Original issue reported on code.google.com by
starcraf...@gmail.com
on 20 Nov 2013 at 12:12