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

Help with time delay between subsequent DAQmx Write commands...Switching digital out high/low states throughout a task with NI 9401?

$
0
0

Hello, I am hoping someone can help point me in the right direction..

 

I have a 9401 module that I am using to write some high/low signals on each of the 8 lines. The VI creates a channel and writes a boolean array of high/low values out of the port0 of the module. This is inside of a "for" loop and can be stopped manually. The task continues on to the next Write command inside of another "for" loop.

 

I want to change from one boolean state to the next without having to click stop buttons on the previous "for" loop. I haven't found any DAQmx functions that allow me to insert a time delay between each Write command. My only thought is to use a Timed Sequence structure, but I don't have the experience to know if that's a step in the right direction.

 

Can anyone please provide their input here? Any help is greatly appreciated. I'm trying to learn the ropes of DAQmx.


Viewing all articles
Browse latest Browse all 2176

Trending Articles



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