07-07-2015 04:26 AM
Hello Everybody.
My name's Chompool. I'm new in here.
I'm interested in LabVIEW Programming (Ver.2010).
I try to simulate input to display on Waveform Chart/ Waveform Graph in real time
X-Axis: Time
Y-Axis: Input
I try to simulate data as detailed below.
X 0 1 2 3 4 5 6 7 8 9 10 [Time (seconds)]
Y 1 1 1 2 2 2 3 3 3 3 3 [Input]
at the time 0 - 2 seconds, input = 1
at the time 3 - 5 seconds, input = 2
at the time 6 - 10 seconds, input = 3
I try to use paint program from Windows OS for draft a graph.
(as attached file)
Please advice me, how to use the funection on LabVIEW.
The data is displayed in real time.
For Example.
at 0 seconds Value on Y-Axis displayed 1
at 1 seconds Value on Y-Axis displayed 1
at 2 seconds Value on Y-Axis displayed 1
at 3 seconds Value on Y-Axis displayed 3
It will gradually show the information in real time.
As I try to simulate, All data is simultaneously displayed on the waveform. Which I did not want this.
I am a rookie.
Thank you
07-07-2015 04:33 AM
07-07-2015 04:38 AM
Thank you GerdW.
I will try again and report to you later.
What's a function at left side of XY-Graph.
07-07-2015 04:48 AM - edited 07-07-2015 04:48 AM
07-07-2015 05:22 AM
I try.
I would like the results as shown in XY Graph and Wave Form Graph.
But All data show in graph at the same time.
If I need ro collect data step by step in real time.
at 0 seconds Value on Y-Axis display 1
at 1 seconds later Value on Y-Axis display 1
at 2 seconds later Value on Y-Axis display 1
at 3 seconds later Value on Y-Axis display 2
What should I do ?
I think maybe use dalay value.
07-07-2015 05:29 AM
I would like the result same this VI.
But I do not to show zero value of next step.
07-07-2015 05:37 AM
Hi Choompoo,
when you need to collect data in arrays you should do so!
This is a very basic LabVIEW exercise so I recommend to take the free online courses offered by NI on their website.
Learn about using shift registers…
07-07-2015 05:54 AM
07-07-2015 06:06 AM
Thank you GerdW & Dennis_Knutson
I can do it.