Quantcast
Channel: Digital I/O topics
Viewing all articles
Browse latest Browse all 2183

USB-6002 using Python to generate a pulse signal?

$
0
0

I am trying to use Python (with the nidaqmx module) to generate a PWM signal from a USB-6002 DAQ. I can read from and write to the analog and digital ports. However, I am not able to generate a pulsing signal. 

 

I am using the example code from the nidaqmx repository:

https://github.com/ni/nidaqmx-python/blob/master/nidaqmx_examples/co_pulse_time.py

 

Is there a way to do this with my 6002, or do I need to get a different DAQ? 

 

Thank you!


Viewing all articles
Browse latest Browse all 2183

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>