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

100kHz Variable Digital Output Pulse Train

$
0
0

I have to output what amounts to a Finite Non-Repeating (Variable) Digital Output Pulse with 61 Million points at 100kHz. I imagine I can't use the Finite Samples timing method but rather have to use Continuous Timing and constantly read the data from a file and update the output buffer with DAQ Write.  Unfortunately I don't have any physical hardware at this point and am using simulated DAQ (through max) to experiment to see if any approach is viable. 

 

Digital Output Example.png

 

 

I was thinking of continuously reading the pulse train from a file and writing it to a Digital Output task 10k - points every 100ms to update the DAQ output on the fly (as shown in the attached VI).   This seems to work in the simulated device, but then I noticed the onboard digital output buffers of most of NI hardware are only around 2047 samples making me wonder if I can even send 10k+ points at a time to the hardware without data loss.

 

My questions at this point are:

Is this viable approach? or will the small (2047) output buffer mean that I will have to update much faster eg ~ every 20ms (prob not possible on windows)?

Should I consider using a counter output where I continuously write high/low times since I have a relatively small number of transitions in each 100ms chunk?

 

 


Viewing all articles
Browse latest Browse all 2177

Trending Articles



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