Real-Time Measurement and Control

cancel
Showing results for 
Search instead for 
Did you mean: 

Decorating measurements

Solved!
Go to solution

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

0 Kudos
Message 1 of 10
(4,566 Views)

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

0 Kudos
Message 2 of 10
(4,552 Views)

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

0 Kudos
Message 3 of 10
(4,544 Views)

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?

0 Kudos
Message 4 of 10
(4,543 Views)

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,

Martijn S
Applications Engineer
NI Netherlands
0 Kudos
Message 5 of 10
(4,522 Views)

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

0 Kudos
Message 6 of 10
(4,519 Views)

Hello Erik,

 

That is indeed possible, see the attached LV 2009 VI.

 

Regards,

 

Casper

0 Kudos
Message 7 of 10
(4,516 Views)

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

0 Kudos
Message 8 of 10
(4,512 Views)
Solution
Accepted by topic author Eriktw

No problem

0 Kudos
Message 9 of 10
(4,504 Views)

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

0 Kudos
Message 10 of 10
(4,501 Views)