Status: New
Owner: ----
Labels: Type-Defect Priority-Medium
New issue 42 by
theknigh...@gmail.com: Problems Performing Digital Input
and Output Tasks
http://code.google.com/p/pylibnidaqmx/issues/detail?id=42
What steps will reproduce the problem?
from nidaqmx import DigitalInputTask
import numpy as np
task = DigitalInputTask
task.create_channel('Dev1/port0/line0:7', name='', grouping = 'per_line')
task.configure_timing_sample_clock(rate = 1000.0)
data = task.read(2000, fill_mode='group_by_channel')
del task
from pylab import plot, show
plot (data)
show ()
What is the expected output? What do you see instead?
I want to read/write Digital Signal and I receive this error for the
reading:
"""
TypeError: unbound method create_channel() must be called with
DigitalInputTask instance as first argument (got str instance instead)
What version of the product are you using? On what operating system?
I am using the latest version
"""
Please provide any additional information below.
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings