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

Using DIO as Arbitrary Waveform Gen but limited by loop iteration of 1ms

$
0
0

Hi, i tried using a FOR loop to read out a set of data (spaced out at 0.1ms interval) from a file and converting it to Boolean before sending them to a DIO card to generate a arbitrary waveform. But found out the each loop took 1ms to execute and ended up with a waveform that is 10x slower. I tried using pxie and USB DIO cards but the FOR loop still executes at 1 loop per ms.

 

How can i make each FOR loop execute faster? Should i use a Waveform Generator card instead or switch to LV CVI? 

 

 


Viewing all articles
Browse latest Browse all 2147

Trending Articles



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