From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

programproblem

 I have to make a project in labvieuw. Its going about a pasword: you have three chances to fill in the pasword. if, after the thrid time you filled in the pasword and the pasword is again not correct then the program return false. If you filled in the correct pasword then the program return true. So you have three changes to fill in the pasword.

0 Kudos
Message 1 of 3
(2,083 Views)

Hi labvieuwer,

 

ok, that's a nice description! You only need to start your project… 😄

 

When you are new to LabVIEW (which seems as you write its name wrong) you should take the free beginner courses offered by NI!

Hint: it often helps to sketch an algorithm on a sheet of paper before you start to code (in any programming language)!

Best regards,
GerdW


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

A FOR loop with an Event Structure can do the job easily.  Use the Conditional Terminal to stop the loop is the correct password was used.

 

If you want more help, show us what you have done and tell us where you are stuck. We are willing to help, but we are not here to do your homework.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
0 Kudos
Message 3 of 3
(2,042 Views)