LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Filling a Tank

 

Hello I am new to LabView software and got stuck in a simple problem (although confusing for me...). 

The filling of a graduated tank from 0 to 100 by a step of 20 in each 100 ms with a timing indicator.

 

I was able to fill the tank however could not think a way to time its increment "by a step of 20". Could you please help me out?

0 Kudos
Message 1 of 7
(1,783 Views)

Hi Jo,

 


@Jo0007 wrote:

I was able to fill the tank however could not think a way to time its increment "by a step of 20". Could you please help me out?


So why don't you attach your current VI? (Do you really think we will do your homework for free?)

 

Hint: when something (aka the same operation) is done be several steps (aka in a repeated way) then you should use a loop.

Hint: To remember a value from one iteration of a loop for the next iteration of that loop you should use shift registers…

Best regards,
GerdW


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

Please share the VIs you have created so far for the forum members to guide better.

 

P.S. - it is LabVIEW not LabView

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 3 of 7
(1,774 Views)

I am sure we can tell you what you are doing wrong once you attach your VI.

 

Time is a very important component of LabVIEW, and there is an entire timing palette. Try to find something that would help you.

 

Is this a real tank where you controls valves, etc. or a simulate tank on the front panel?

 

(Have you used any of the learning resources listed at the top of the forum?)

0 Kudos
Message 4 of 7
(1,773 Views)

attaching my VI here...

0 Kudos
Message 5 of 7
(1,765 Views)

Sorry, I don't have LabVIEW 2021 here. Consider "save for previous" before attaching.

0 Kudos
Message 6 of 7
(1,750 Views)

And one more thing, very few of the forum members have LV2021 on their machine to open the VI. You will cover a larger audience if you share the VI in 2016 version.

 

https://zone.ni.com/reference/en-XX/help/371361R-01/lvdialog/save_options/

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 7 of 7
(1,746 Views)