LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Exit a Control & Simulation Loop prematurely

Hey all,

 

I am currently running a RT Simulation of a Throttle Valve on a RT Target (cRIO 9053). The RT VI, which contains the simulation, gets controlled by a Host VI.

I want to have some kind of button in my host VI to prematurely stop the RT VI (e.g. the simulation loop).

The simulation end time is set to infinite (inf).

Is there a possibility to prematurely exit that simulation loop with a boolean trigger?

 

I would attach my VI, but the VI itself has absolutelly nothing to do with the problem and sadly is confidential..

I hope this is okay!

 

Regards,

Peter

0 Kudos
Message 1 of 2
(138 Views)

I would attach my VI, but the VI itself has absolutelly nothing to do with the problem and sadly is confidential..

I hope this is okay!

Nope.  Recognize this?  "I can't make my code do what I want, but the problem has absolutely nothing to do with my code..."

 

Sorry, I have nothing concrete to contribute but am a little revved up about insufficient self-awareness.

 

I respect that code can indeed be considered confidential.  I've been in such environments and understand this, even while also recognizing that little of I was protecting would ever be wanted.

 

But the *main* point is that wise programmers rarely (if ever) express *certainty* that their code is not at fault.

 

I'll have to defer real help to those who are familiar and experienced with cRIO and the simulation toolkit.

 

 

-Kevin P

0 Kudos
Message 2 of 2
(104 Views)