Post Reply 
(41) JETLOG Program
02-25-2022, 04:33 PM (This post was last modified: 02-25-2022 04:35 PM by WrongWay.)
Post: #21
RE: (41) JETLOG Program
(02-25-2022 10:14 AM)Ángel Martin Wrote:  
(02-20-2022 12:15 AM)WrongWay Wrote:  Yes, this should be GTO "C"

I wouldn't think so, that would mean that the following two program steps are never executed:

SF 03
GTO "C"
FS? 00
GTO 01

LBL 00
...

It's probably more likely to be this, changing SF 03 with FS? 03:

FS? 03
GTO C
FS? 00
GTO 01
LBL 00
...

right?

Looking at the listing right now on my 41CV
Code:

11 X=0?
12 GTO 00
13 SF 03
14 GTO C
15 FS? 00
16 GTO 01

It could be a typo but im not sure how changing it would affect the program. and looking more into the code, Flag 3 is set but never checked, there is never a FS? 03 instruction
Find all posts by this user
Quote this message in a reply
02-26-2022, 08:56 AM
Post: #22
RE: (41) JETLOG Program
(02-25-2022 04:33 PM)WrongWay Wrote:  
(02-25-2022 10:14 AM)Ángel Martin Wrote:  I wouldn't think so, that would mean that the following two program steps are never executed:

SF 03
GTO "C"
FS? 00
GTO 01

LBL 00
...

It's probably more likely to be this, changing SF 03 with FS? 03:

FS? 03
GTO C
FS? 00
GTO 01
LBL 00
...

right?


Looking at the listing right now on my 41CV
Code:

11 X=0?
12 GTO 00
13 SF 03
14 GTO C
15 FS? 00
16 GTO 01

It could be a typo but im not sure how changing it would affect the program. and looking more into the code, Flag 3 is set but never checked, there is never a FS? 03 instruction


So do you see how lines 15 and 16 in your code are never executed, right?
Maybe F03 was meant to be set by the user before running the program, to denote cruising flight condition.... but I guess we'll never really know.

"To live or die by your own sword one must first learn to wield it aptly."
Find all posts by this user
Quote this message in a reply
02-26-2022, 08:04 PM
Post: #23
RE: (41) JETLOG Program
(02-26-2022 08:56 AM)Ángel Martin Wrote:  So do you see how lines 15 and 16 in your code are never executed, right?
Maybe F03 was meant to be set by the user before running the program, to denote cruising flight condition.... but I guess we'll never really know.

Oh I totally agree and it maybe worth a test to see the results if flag 3 is set prior to execution.
Find all posts by this user
Quote this message in a reply
Post Reply 




User(s) browsing this thread: 2 Guest(s)