LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to increase the value of a certain constant by a constant amount during each iteration

Solved!
Go to solution

Hello everyone! 

I need to increase the value of the "Temperature" indicator by 5 units for 1 iteration of the cycle, that is, for each step the temperature should increase by 5 degrees. How can it be done? Any form of response would be greatly appreciated. Thank you)

0 Kudos
Message 1 of 4
(755 Views)
Solution
Accepted by topic author Vladyslav_Savchenko

This example show two ways to do this:

Update Count.png

--------------------------------------------------------------------------------------------------------------------------
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
--------------------------------------------------------------------------------------------------------------------------
Message 2 of 4
(714 Views)

Thank you very much. But what are names of this elements? 

0 Kudos
Message 3 of 4
(704 Views)

The function on the left is a Feedback Node:

Feedback Node.png

It will start out pointing to the left. Right click and select "Change Direction" to make it point to the right.

 

The second item is a numeric indicator. It shows I32 to tell you it's a long (32 bit) integer.

Blue wires are integers so you should use an integer indicator. Otherwise you will see a little red dot that

means the software has to convert the number. Try to avoid red dots.

You can change the data type of an indicator by right-clicking and selecting Representation.

--------------------------------------------------------------------------------------------------------------------------
Help the forum when you get help. Click the "Solution?" icon on the reply that answers your
question. Give "Kudos" to replies that help.
--------------------------------------------------------------------------------------------------------------------------
Message 4 of 4
(688 Views)