12-16-2009 08:59 AM
Hi,
i'm currently working on a project for improving compliance in children with Cystic Fibrosis. I'm quite new to Labview but i've already developed a VI that can measure my signal data (from a CB-68LPR). I've filtered this signal and everyting is looking good right now.
My question is: since this is for children, i want to enhance the results. Not a simple graph but something like the 'gauge' that i found would be a better output. Only problem is, i can't connect this gauge to my filtered data. How do i do this? Or does someone know even nicer outputs?
Greetings,
Erik tW
Student at University of Twente
Solved! Go to Solution.
12-17-2009 08:49 AM
Hello Erik,
You probably are trying to display an array of data, which the gauge cannot show. What do you exactly want to do/show? The last value or a mean?
Regards,
Casper
12-17-2009 10:50 AM
Hi Casper,
i have the graph of my (real time) voltage, but since it's for children, i don't want to show the graph but rather something like the gauge. Maybe a speed indicator like in a car that continuesly gives the value of my signal. So that when you breath out, you will "drive" faster (the meter goes up) and when you stop and breath in (that's when the voltage of my signal goes down), the meter goes down too. Can this be made in a real-time way?
Greetings,
Erik
12-17-2009 10:53 AM
So i mean, i'm getting all my data and it's realtime plotted in a graph. Can i also display it in something like the gauge? How?
12-18-2009 06:49 AM
Hello Eriktw,
I'm not sure that I know what you mean. Are you reading N samples and getting a 1D array from the DAQmx read function? You can use the mean function to get the mean from the array you are getting from the DAQmx function. The gauge (on the controls palette under numeric)display only accepts a single value. So each time you are reading N samples the gauge display shows you the mean of that read.
Have a great weekend in advance,
Best regards,
12-18-2009 07:10 AM
Hi,
yes i'm getting a 1D-array with N samples. Can't I just show the last value on a gauge or something? (or is the gauge too slow to process that)
Greetings,
Eriktw
12-18-2009 07:28 AM
Hello Erik,
That is indeed possible, see the attached LV 2009 VI.
Regards,
Casper
12-18-2009 07:32 AM
Hello Casper,
i can't open your file because i'm working in LV 8.6.1 and not version 9.
Can you make it so, that i can open it?
Greetings,
Eriktw
12-18-2009 07:43 AM
No problem
12-18-2009 08:00 AM
Hi Casper,
thank you very very much. It's working great right now.
Wish you have a great weekend and in advance a happy new year.
Eriktw