LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

String control and enter key

Solved!
Go to solution

Hi, I use a string control as the password input box, but I found the Enter key is a input to the control too. 

I want use the Enter key to inform the program password input is done, to trigger an event to handle the identify the password.

 

How can I do it? 

 

 

0 Kudos
Message 1 of 8
(8,393 Views)

right-click the string control and select "limit to single line".

Message 2 of 8
(8,390 Views)

Thanks, Can  I use a Click on enter key as an event? How can I use that?

0 Kudos
Message 3 of 8
(8,341 Views)
Solution
Accepted by topic author concorpoly

@concorpoly wrote:

Thanks, Can  I use a Click on enter key as an event? How can I use that?



Example_VI_BD.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 8
(8,329 Views)

This is awesome! So simple...

0 Kudos
Message 5 of 8
(7,648 Views)

What is the name of that search VI? How do I find VIs when all I have to go by is a screenshot? Chatgpt couldnt get it. 

0 Kudos
Message 6 of 8
(94 Views)

It's search 1D array 

0 Kudos
Message 7 of 8
(92 Views)

@crouxel  ha scritto:

What is the name of that search VI? How do I find VIs when all I have to go by is a screenshot? Chatgpt couldnt get it. 


It's not a screenshot, it's a VI snippet (remark the upper part with LV version and date), that is an image with a vi embedded as metadata.

To load a snippet, save the image to disk and then drag the file to a vi Block Diagram. And voilà!

To generate a VI snippet yourself, select a portion of your code and choose Edit -> Create VI Snippet from Selection.

Paolo
-------------------
LV 7.1, 2011, 2017, 2019, 2021
0 Kudos
Message 8 of 8
(60 Views)