ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Simple Gradient algorithm

Hello All,

 

I am trying to design a simple Gradient algorithm.

I have a constantly changing Temperature value and i need to store the values in a buffer (or array  - max 8 immediate values).

Then i need to check if the values are increasing by comparison, and if they do then alert.

________________________

I am having problems holding the values to even start to compare them.

 

Please Advise 

Atif

0 Kudos
Message 1 of 4
(2,816 Views)

Hi Atif,

 

to store values in a loop to use them in the next iteration you need to use a shift register.

 

This is pretty basic LabVIEW stuff: did you notice the "beginner" (aka "LabVIEW Training Resources") section on top of the LabVIEW board?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 4
(2,813 Views)

Hi Atif

Have a look at some of the examples. On the menu go to Help > Find Examples and search for "thermocouple". This will give you some simple examples of capturing and storing temperature data.

0 Kudos
Message 3 of 4
(2,807 Views)

Thank you 

Will check that and get back , sorry its been some time that i have used Lab View 

0 Kudos
Message 4 of 4
(2,795 Views)