Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 66688

Prompting for password

$
0
0

Helloeveryone,

Thisismyfirstpostheresopleasebearwithme.

I'mdesigningmygraduationprojectusinglabview. Partofthisprojectinvolvesacoupleofmotionsensors, whichtriggerabuzzer, led, etc.

 

Iwouldliketoprogramtheoutputssothattheyaredisactivatedifapasswordhasbeeninserted (e.g. outputsaretrigerredonlyifthesensoristriggeredANDapasswordwasnotinserted...ormaybeinsertingapassworddeactivatesthesensorsalltogether).

Ihaveselftaughtmywaythroughoutthisprojectthroughthegettingstartedguideandalotofsearchingaroundtheforums. MostofmyworkiswithexpressVI,howeverI'veattachedasimpleprograminwhichinsertingacorrectpasswordwillenableabooleanusinga "MatchTrue/FalseString", butIstillhaventfulfilledsomerequirements.

1) Afterthecorrectpasswordisentered, thebooleanshouldremainon, stayingsountilitisdisabledbyenteringthecorrectpasswordanothertime. Thisshouldsimulateactivating/deactivatingthesecuritysystem

2) Thereshouldbeanindicationifanincorrectpasswordhasbeeninserted. Notsurehowtodoit.

3)Afterinsertingacorrectorincorrectpassword, theinputstringshouldautomaticallyreturntoitsdefaultvalue. I'vesetthisvaluetoanemptystring

Ibelievethatanyproblemswiththissoftwareareusuallyeasilyresolvable, sohopingthisoneisthesame. ItmightbethatI'minexperienvedwithregularVIs. IveattachedboththemainVIfileandthetestVIthatcontainsthepasswordprompt

Thanksinadvanceandsorryfortheterriblylongpost.

K.Sadek


Viewing all articles
Browse latest Browse all 66688

Trending Articles