LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is there a better way to generate custom timed digital Signals

Solved!
Go to solution

OK you can look at what I helped someone do in the example that I am attching and you can also look at this discussion to see how it progressed.

 

http://forums.ni.com/t5/LabVIEW/Digital-Output-Sequence-variable-timing-NI-9472/m-p/1605436#M583011

Tim
GHSP
0 Kudos
Message 11 of 15
(767 Views)

Yes

0 Kudos
Message 12 of 15
(765 Views)

I don't understand the code. Can you provide a simple code that just trigger one line to high/low at random intervals?

0 Kudos
Message 13 of 15
(757 Views)
Solution
Accepted by topic author panoramarts

Hi,

 

This is an example that does exactly that.  It's software timed, so it's not perfect.  It cycles through an array using a for loop with auto indexing.  On each iteration, it changes the state of the digital output (as determined by the "boolean state" array), and sets a delay time (the "Time (ms)" array).  The "Actual Delay Times" calculates the actual loop iteration time.  This could be easily adapted to be used for multiple lines of output.

 

Jon S

Applications Engineer
National Instruments
0 Kudos
Message 14 of 15
(722 Views)

Thank you!!!

0 Kudos
Message 15 of 15
(708 Views)