LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

playback with a push button

Solved!
Go to solution
I am using a NI USB-6259 with LabView 8.0
 
My question is:  I want to play back  a graph when i push a button i have tried to do this in many ways but every time it plays back automatically and i don't want that i want to choose when to play it back.
 
 
If anyone can help me i would be much appreciative
 
Thank You,
Harold Timmis
harold.timmis@ge.com
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 1 of 4
(2,838 Views)

I would recommend posting the code you have so far.  Are you using a graph (XY or waveform) or a waveform chart?  How are you storing the data that you want to play back?

Let's say you've accumulated an array of data and upon playback, you just dump that to your graph or chart.  It will all be shown instantly.  What you need to do is create a mechanism where the data is picked out an item at a time and fed to the chart or graph with a time delay that matches whatever your sampling rate is.

Posting code will make it easier to modify and show what I'm talking about.

0 Kudos
Message 2 of 4
(2,829 Views)
here is my code i am using an xy graph and attempting to play it back
Harold Timmis
htimmis@fit.edu
Orlando,Fl
*Kudos always welcome:)
0 Kudos
Message 3 of 4
(2,824 Views)
Solution
Accepted by topic author Harold_Timmis
You do not have an XY graph, you have a waveform chart.
 
I did some code cleanup (and spelling fixes) and added something to demonstrate a record vs. playback feature  I can't test it because I don't have the hardware.  It may not work precisely how you want, but the concept should get you started.
Message 4 of 4
(2,810 Views)