From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Daq Assistant trigger by For Loop

Solved!
Go to solution

Hi,

 

I'm very new to Labview and have been tasked with writing a programme.  I've been through the academic tutorials, but they only cover basics.  What I'm trying to do is by using a For loop count 100 interations and turn the output of my Daq Assistant on/off at each interation.

 

Is this possible to do?

 

Kind regards,

 

Andy

0 Kudos
Message 1 of 2
(2,417 Views)
Solution
Accepted by andywileman

andywileman wrote:

Is this possible to do?


Yes...Oh, you want to know how?  Use a shift register to keep track of your current output state.  Use the Not to invert the value each iteration and write that value to your DAQ.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 2 of 2
(2,403 Views)