Examples and IP for Software-Designed Instruments and NI FlexRIO

Showing results for 
Search instead for 
Did you mean: 

Python Daqmx for creating a fixed number of pulses with a given frequency


I am trying to write Python code using the nidaqmx library to do the following. I need to output a sequence of fixed number of pulses on a digital-output channel on a NI USB-6210 device. This needs to be timing accurate and at a fairly high frequency, therefore I cannot use task.write() function. I would be glad if someone can point me to any example code for doing this.


I believe this can be done on the NI USB-6210 since I already have the corresponding Labview code.

Many Thanks!!