03-22-2012 01:37 PM
Hey all,
I am trying to take inputs from hardware (Lakeshore 336 and a MCC PMD-1208LS if it matters...) and graph them in real time. I am having trouble getting the waveform chart I am currently using to show the data at the correct time, and cannot simply modify the delta_t or offset because sometimes the calculation takes longer than other iterations. What I WANT to do is take a timestamp on the X-axis and my data for each input on the Y, and plot those, but I am having an incredibly hard time making that happen. Could someone please point me in the right direction? I have basically no labview experience prior to this project, but still have deadlines. (The sooner we can monitor our system, the sooner we can put it in action, so sooner the better...)
Thanks, and I apologize if this is too simple a question - I've tried searching around a bit but nothing has been what I've needed as I understand.
03-22-2012 04:23 PM - edited 03-22-2012 04:23 PM
As you have discovered you can't use a chart. You will have to use an XY graph to display the data you have. This on the whole isn't incredibly difficult. The tricky part is that you will need to create code that does the buffering so your XY graph will look like a scrolling chart. How much LV experience total do you have? Have you taken any courses - even the online tutorials?
Mike...
03-23-2012 09:18 AM
I have taken an Intro to labview class, an intro to FGPA, and looked at a few online tutorials. I've been working with labview for about a month now...Not especially great, I understand, but if you point me in the right direction, I can go through whatever tutorials I need to. This won't be my only Labview task it appears, so the more I learn the better. My guess is I need to create an array, with it moving the elements up one index every iteration while putting the newest data at the bottom, and then feed that into the XY Graph?
03-23-2012 09:18 AM - edited 03-23-2012 09:19 AM
(accidental doublepost)
03-23-2012 09:25 AM
Can you post what you have so far so that we can see what you are up to?
03-23-2012 09:28 AM