LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Execute when case is true and stop when time is up

I don't really know if I understood your code.
But for me, it looks like the timer starts, no matter if the particle has reached size.
I want it to start the moment, the particle has the right size.

 

The problem I'm seeing is, that the counter starts counting down, before there's a particle to measure anyway.

 

0 Kudos
Message 11 of 19
(1,541 Views)
I think that will work
Download All
0 Kudos
Message 12 of 19
(1,529 Views)

Sorry. I don't really get it. :mansad:

What's the outer while-loop? the one I already have for acquiring from the camera?
And how does your code work?
"When your case is false, and the time is up, it should execute the code"?

 

Sorry, I'm not really good in LabView so far.

0 Kudos
Message 13 of 19
(1,488 Views)

"What's the outer while-loop? the one I already have for acquiring from the camera?"  Yes.

 

Use the highlight execution to see how the code works

0 Kudos
Message 14 of 19
(1,471 Views)

ok, I understand what it's trying to do.

But it just won't work. 😞

Isn't there another way to check one condition, start something based on that and stop checking the condition, which is already true?

 

0 Kudos
Message 15 of 19
(1,456 Views)
Why don't you post your vi ?
0 Kudos
Message 16 of 19
(1,451 Views)
I can't do that.. it's somehow 'confidential'. 😉
0 Kudos
Message 17 of 19
(1,438 Views)

We don't need the vi as it is. Remove almost everything, inside case structure, and every else.

Make a simple vi as an example, and we will see why it does not work, that part

0 Kudos
Message 18 of 19
(1,435 Views)

Thanks.

I've managed to solve the problem with some case structuring.

0 Kudos
Message 19 of 19
(1,398 Views)