From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

How to Continuously generate random numbers and display them in dialog box?

Hi,everyone

I want to achieve the following functions:

when I press a button,then continuously generate random numbers and display in the edit box;when I press another button,then stop generating random numbers

what should I do ,this problem has been bothering me for a long time

0 Kudos
Message 1 of 2
(2,044 Views)

Try the MsgBoxDisp command with the non-modal flag set to true.  

 

http://zone.ni.com/reference/en-XX/help/370858M-01/comoff/msgboxdisp/

 

0 Kudos
Message 2 of 2
(2,023 Views)