Search found 1852 matches

by JackZ
Tue May 25, 2021 5:21 am
Forum: Under development and finished work
Topic: Help for Carenado Saab 340B instruments
Replies: 25
Views: 1366

Re: Help for Carenado Saab 340B instruments

Have you tried: sim/cockpit2/transmissions/indicators/oil_temperature float Transmission oil temperature. Units are the same as the max oil temperature in acf sim/cockpit2/transmissions/indicators/oil_pressure float Transmission oil_pressure I have the feeling that these two values should yield some...
by JackZ
Tue May 25, 2021 5:00 am
Forum: Under development and finished work
Topic: Help for Carenado Saab 340B instruments
Replies: 25
Views: 1366

Re: Help for Carenado Saab 340B instruments

Hi I don’t own the Saab 340 but from my experience with others Carenado planes, they are more than often poorly developed systemwise, although they are very nice looking aircrafts externally and internally. Some of their planes are crappy enough and rely simply on standard Laminar Datarefs for most ...
by JackZ
Mon May 24, 2021 8:50 pm
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

Glad to know that. You will notice that I used the same technique as Tony suggested, ie the use of a variable that contains the battery state. hence the visibility of each text is not set to true, but to the status of this variable instead, like this if the plane is not powered by the battery, the d...
by JackZ
Mon May 24, 2021 8:39 pm
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

I moved the request_callback further down past the txt_adds but to no avail. Hmmm. it is obviously more complicated than moving a simple line. Sounds like you're trying to get your own code working no matter what. Sorry to sound harsh, but I will not debug your original code, as it has some flaws, ...
by JackZ
Mon May 24, 2021 8:00 pm
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

I modified slightly the code again so I moved the callback into the battery() function which makes more sense.
And I also removed the unneeded lines
JZZibo B737 Batt Panelv103.siff
(189.47 KiB) Downloaded 18 times
This will be my last version :D
by JackZ
Mon May 24, 2021 7:36 pm
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

Yeah I figured you probably used an older version. Your request callback as the first line in your code was waaaay too early in your code to be of any use, since you called it even BEFORE the text items to be displayed were declared via txt_add()! Lua scripts are executed sequentially from top to bo...
by JackZ
Mon May 24, 2021 6:44 pm
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

I don't know about you, but my version works flawlessly on the latest Zibo version, with Am 3.7.10


Here's the gauge attached, that includes the new font.

Jacques
JZZibo B737 Batt Panelv102.siff
(189.69 KiB) Downloaded 20 times
by JackZ
Mon May 24, 2021 11:36 am
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

Problem is, AFAIK there is not a message port() equivalent for the RAspi Pico in Air Manager. So how do you interface non supported hardware such as this screen in AM? Jacques PS: jph Once again we are on a verge of polluting the thread of the OP about screens sinterfacing which is unrelated to the ...
by JackZ
Mon May 24, 2021 4:44 am
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

Hi, the initialization section is still getting ignored until I flick the battery On then Off. Do you know why that is? Thanks for finding the new font! I will be sure to use that when I get my screen. Speaking of screens, how would I connect and LCD screen to an Arduino Mega? Thanks! Brady BradyBr...
by JackZ
Mon May 24, 2021 3:58 am
Forum: Air Manager Bug Reports
Topic: AM Not Detecting the Position Until an Update
Replies: 31
Views: 1610

Re: AM Not Detecting the Position Until an Update

Hi, the initialization section is still getting ignored until I flick the battery On then Off. Do you know why that is? Thanks for finding the new font! I will be sure to use that when I get my screen. Speaking of screens, how would I connect and LCD screen to an Arduino Mega? Thanks! Brady I tried...