ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Controlling sequence with ok button

Solved!
Go to solution

 Hi everyone,

I am trying to develop the attached structure. My aim is to see the "given location" which is randomly chosen with a python code then ask user to write an integer as an input and get log of this data. In the current situation given location is generated with time dependence. I want the structure to wait until the user gives an input and clicks to the ok button, after the clicking generate a new random "given location". I tried using flat sequence, shift register and more but I couldn't achieve my goal. Do you have any advise? Thanks in advance.

 

sequence.png

0 Kudos
Message 1 of 4
(1,537 Views)
Solution
Accepted by topic author Demettangolar

I solved my problem

0 Kudos
Message 2 of 4
(1,521 Views)

@Demettangolar wrote:

I solved my problem


Do you mind sharing your solution so that others who come later with similar problems may benefit? 

 

Also, I would recommend that you learn about state machines. A state machine architecture would definitely be your friend in this type of application.

0 Kudos
Message 3 of 4
(1,509 Views)
Solution
Accepted by topic author Demettangolar

I uploaded the VI

0 Kudos
Message 4 of 4
(1,438 Views)