10-10-2008 04:02 PM - edited 10-10-2008 04:03 PM
10-10-2008 04:02 PM
10-10-2008 04:06 PM
I moved the buttons inside their respective events, but to no avail.
I attached my (or shall I say mostly smercurio's) vi if anyone would like to take a look.
10-10-2008 04:22 PM - edited 10-10-2008 04:23 PM
Where are the O2 and N2 buttons? Also, what does your datafile look like? I'm trying to wrap my head around your array gymnastics.
I'm guessing you're trying to peel off one column for X and another column for Y. You can use Index Array to do this directly in one operation instead of using 4 different array functions for each column.
10-10-2008 04:28 PM
My data looks basically like a sine curve.
All the maximum peaks signify O2, and minimums N2.
The buttons should be right on the front panel. In the block diagram, they are inside the event structure.
As far as getting the x and y values into arrays.....don't worry about it, I taught myself LabVIEW so my methods are a little unorthodox 😉
I'll use your method next time.
I'll attach my updated VI and a sample file so you can run this bad boy.
10-10-2008 04:41 PM
You know what, I attached the incorrect VI, sorry.
Give me a minute to attach the correct one
10-10-2008 04:50 PM - edited 10-10-2008 04:58 PM
10-10-2008 05:36 PM
10-13-2008 02:53 PM
Well I don't want the absolute relative peak (if that makes any sense at all) because the noise makes the peak slightly higher than it should be. This is why I would like to go through and pick out the peak myself.
That is the point of the VI (whenever I finally get it working).
I have the VI so each time I click, the value of the cursor will change, however it does not append to the table,
it just replaces the first value over and over.
Any thoughts as to why that is?
10-13-2008 04:00 PM
Hi Cory,
I have slightly modified your VI, please let me know if this solves your problem.