paparazzi-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Paparazzi-devel] Returning to Previous Block After Exception


From: Luke Ionno
Subject: [Paparazzi-devel] Returning to Previous Block After Exception
Date: Thu, 15 Mar 2012 07:32:21 -0400

Hello,

 

Question: Is there any way to automatically return to the previous block, after an exception event? 

 

Here’s my scenario:  Say I’m in Block 1, and an exception occurs, which sends me to Block 2…  Once Block 2 is completed, I want to go back to Block 1.  However, if I’m in Block 4, and the same exception occurs (i.e. sent to Block 2) I want to end up returning to Block 4, not Block 1.  (So, I can’t just hard-code the block name in a deroute at the end of Block 2.)  Basically, the flight plan looks for the block that was active at the time of the exception event, and goes back to that one, when the exception block is finished.

 

My thought was that if I declare a variable, and at the start of each block, assign that block name to the variable using a SET, I could then have a deroute at the end of the exception that points to the variable.  Unfortunately, I’m not sure of the syntax for replacing a block name with a variable name, or if it is even possible.  If it isn’t, is there some other way to achieve the desired effect?

 

Thanks!

 

-Luke


reply via email to

[Prev in Thread] Current Thread [Next in Thread]