LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Case structure and timeout

Solved!
Go to solution

Hello everyone. I need a case structure, which is controlled by a boolean button. I need to use my timeout by switching my button to "true", but it fails:

 

Untitled.png

Best regards

Oesen
0 Kudos
Message 1 of 7
(2,723 Views)
Solution
Accepted by topic author Oesen

In the false you can wire -1, can you explain why you are trying to do like this and what you want to achieve finally?

-----

The best solution is the one you find it by yourself
0 Kudos
Message 2 of 7
(2,721 Views)

Hi P@Anand

 

My PC is serial port communicated with a scale. The program makes auto measurement every "x" seconds, when i define the timeout to a number "x". But i don't want to use auto measuring sometimes, and will measure by self clicking on the measurement button. So therefore i want at boolean ON/OFF to the timeout value.

Best regards

Oesen
0 Kudos
Message 3 of 7
(2,717 Views)

But it works now.

 

Thanks a lot !

Best regards

Oesen
0 Kudos
Message 4 of 7
(2,711 Views)

You can use an event case to toggle using the timeout control. Check the attached code

-----

The best solution is the one you find it by yourself
0 Kudos
Message 5 of 7
(2,709 Views)

In these situations, I must prefer using the Select function.  Makes things a lot easier to read.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 6 of 7
(2,708 Views)

@crossrulz wrote:

In these situations, I must prefer using the Select function.  Makes things a lot easier to read.


We are on Page Smiley Wink

-----

The best solution is the one you find it by yourself
0 Kudos
Message 7 of 7
(2,704 Views)