LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How do I plot data that is larger than 1 among the data I collect with DAQ separately?

Solved!
Go to solution

I guess my explanation was not enough.

 

I have attached a temperature sensor in the room and I want to save the time and value whenever the value of this sensor exceeds a certain value.

 

In order to do that, I am creating code that plots data when I exceed 1 as a simple example.

0 Kudos
Message 11 of 18
(600 Views)

But what do you want to do with the data when it is not above the value?  What do you want to plot in it's place?

When you are working with waveforms, that means the data is evenly spaced.

 

Perhaps you want to use an XY graph?

Message 12 of 18
(590 Views)

Hi Yoon-soo,

 

please don't create duplicate threads on the very same topic, when you don't get an instant answer over the weekend! (I merged your threads.)

 

All you need to do is to implement my snippet before your case structure. You don't need that case sturcture…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 13 of 18
(575 Views)

Thank you GerdW and all the friendly guys.Smiley LOL

I succeeded in this way.

I failed on the weekend but succeeded when I did it again today.

I have not yet understood why this is happening, but I will study hard.

I will share my successful code.↓↓↓↓

0 Kudos
Message 14 of 18
(560 Views)

Hi Yoon-soo,

 

move the "y" control outside of the loop…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 15 of 18
(553 Views)

Thank you for the end.

I will write additional code based on this.

Please help me when I have another question 🙂

0 Kudos
Message 16 of 18
(546 Views)

Hi RavensFan, Thanks for your interest in my writing.

What I want to do is write code like 'If the data received from the temperature sensor is higher than a certain temperature, turn on the air conditioner'.

To do that, I'm working on filtering the data I want from all the real-time data.

0 Kudos
Message 17 of 18
(540 Views)

Hi Yoon-soo,

 

What I want to do is write code like 'If the data received from the temperature sensor is higher than a certain temperature, turn on the air conditioner'.

To do that,

you need tro follow the suggestion given in message #7!

 

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 18 of 18
(537 Views)