LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

time problem in build waveform

I am having the problem in displaying the waveform. let me first tell you about my vi. I  am running a while loop and in this while loop there is an if that is true when a button is pressed. now when my if button is pressed than my wave form displaying should start. I have an array of data along with an array of time. i used build array function wired the y with my data array and start time with the start time of my time array i.e just a single element at index 0. i assigned 1 to the dt terminal. then i wired the out put of buid array to the waveform vi.now what is happenening is that when the graph is plotted than on X axis which is my time axis it does not display the time correctly for example if my start time is say 28/08/05 15:01:01 the start time on graph plate would be different than this. what should i do to make the start time correct in the wave form.i also have unchecked ignore   time stamp in the properties of waveform graph.would u kindle spare time to shed some light what should i do ?
Regards
0 Kudos
Message 1 of 4
(3,083 Views)
You can't use the build array function to create a waveform. There is a separate function (build waveform) for this in the waveform palette.
Just have a look at the example.
 
Hope this helps.
 
Thomas
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
Message 2 of 4
(3,080 Views)
In fact iam using build waveform form vi  and i make array (of all these waveforms  created separtely from buildwaveform function ) using build array function then i wire this in to waveform graph.btw i solved the problem by using auto scale x. thank you very much for your kind suggestion .
Regards
Message 3 of 4
(3,071 Views)
If you have multiple waveforms built to an array, you could have problems if they do not have the same value for x0. There is a function called align waveforms in the waveform palette which can be helpful in such a situation.
Using LV8.0
--------------------------------------------------------------------
Don't be afraid to rate a good answer... 😉
--------------------------------------------------------------------
0 Kudos
Message 4 of 4
(3,067 Views)