LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to perform realtime multiplot on a waveform graph outside a for loop?

Hi everyone,
 
 
I know it might seem a very easy thing to do, but am new to LabView. I'm measuring voltage from two channels of BNC. my sampling rate is 500 and the for loop is going 13 itteration for 2500 samples. I want to show a waveform graph of the whole duration (60 seconds) but both signals should be on the same waveform graph. I tried using append waveform or shift registers with build array but it just got complicated with no solution. Can someone help me with that Please?
 
 
Please help this is very urgent
 
Attached is my vi.
 
 
0 Kudos
Message 1 of 2
(2,702 Views)

This is still related to your othere thread, so you should keep it all in one place: http://forums.ni.com/ni/board/message?board.id=170&message.id=249585&jump=true

I no longer have LabVIEW 7.1, but it seems to me that all you need is to remove the waveform code and place your graph terminal inside the FOR loop, right after the "built array" node.

A lot of your code is overly complicated. For example the lower WHILE loop spins at full rate basically doing nothing and you have all these individual case structures scattered all over the place. All you need is a small loop with a single event structure with a case for each situation.

You should also do something about the FP color. It's hideous! 😉

Message 2 of 2
(2,690 Views)