LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to output sequence of analog signals in LabView

Solved!
Go to solution

I would use a for loop set with N = 3 with a case to select your waveform.  you will only need one delay.

 

Good Luck

Never mind looking at your VI again that won't work. Try to find a solution that does not envolve Express VI's.
Message Edited by arvin labrat on 06-14-2010 10:12 AM
0 Kudos
Message 11 of 18
(2,176 Views)
Solution
Accepted by topic author F11Raven
Haha I hate Mondays....
Cory K
Message 12 of 18
(2,175 Views)
hm i think i knwo how thsi works. every iteration of the while loop will shift the value of the attenuation type to whatever i want and output that wave. Its not working for some reason all the other waves work but not non uniform rain. It just hangs and doesnt output anything. If youd like to test all you have to do is delet the DAQ assistant and the wave sould come out the graph in the front panel. Where did you find the shift register peice in the pallete? and any idea as to why this wouldnt work? it makes sense to me 
0 Kudos
Message 13 of 18
(2,157 Views)
wait nvm i got it to work thanks cory. I just wasn't waiting the 10 seconds lol. but i would still liek to know where i can find those shift register you used theyre not popping up when i search
0 Kudos
Message 14 of 18
(2,150 Views)
also now iv enqoutnered the problem where it will output a bit of the signal for a split second and then just hang and do nothign for the time delay. is there a way to wait 10s without blocking the simulate signal? i want somehtign to spin for 10s hwile letting the simulate signal continue to operate.
0 Kudos
Message 15 of 18
(2,146 Views)

Attached is an example of how you can build your waveform so you will only need one case. 

 

you should use long delays when you are using DAQ.  It better to find ways to write pt by pt or write the whole waveform at once.  Look at the examples for Analog outputs.

Message 16 of 18
(2,135 Views)

The shift registers are not on the palette.

If you right-click on the border of either a While loop or a For loop, it will say Add Shift Register 

Cory K
Message 17 of 18
(2,121 Views)
great thanks!
0 Kudos
Message 18 of 18
(2,114 Views)