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
(864 Views)
Solution
Accepted by topic author Demettangolar

I solved my problem

0 Kudos
Message 2 of 4
(848 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
(836 Views)
Solution
Accepted by topic author Demettangolar

I uploaded the VI

0 Kudos
Message 4 of 4
(765 Views)