Quantcast
Channel: Counter/Timer topics
Viewing all articles
Browse latest Browse all 1271

pulse generation with python API

$
0
0

Hey, I'm using a USB 6212 device and am just trying to make a simple pulse generator using the python API, I've tried using the example here https://github.com/ni/nidaqmx-python/blob/master/nidaqmx_examples/ci_pulse_freq.py but this produces the error 

nidaqmx.errors.DaqError: The task is not buffered or has no channels.  If the task is not buffered, use the scalar version of this function. If the task has no channels, add one to the task.
Task Name: _unnamedTask<0>

 I also need to count pulses for a set amount of time and I can't find any resources on this. If anyone knows how to help me with these specific problems or where I can find good learning resources for this I would appreciate it.


Viewing all articles
Browse latest Browse all 1271

Trending Articles