AM Not Detecting the Position Until an Update

Discuss suspected bugs with other users and Sim Innovations Staff

Moderators: russ, Ralph

Message
Author
User avatar
BradyBrother100
Posts: 54
Joined: Tue Oct 13, 2020 4:21 pm
Location: United States MDT

AM Not Detecting the Position Until an Update

#1 Post by BradyBrother100 »

Hi! I have noticed that AM doesn't contently read the value of a dataref until it changes or gets updated. I am building the screen just above the battery switch in the Zibo 737 and the way I have written the code makes it so the changes only apply when the switch is moved. For example, I have it coded so when the battery is off, the text disappears but that only happens when the switch is being moved to that position. If I start the script when the battery is off, my text is still visible. But if I turn the battery on and then off, the text disappears as it should from the beginning. This happens other times too. If I start AM before I launch X-Plane, the switch in-game doesn't get updated until I move my physical switch ON then OFF or vise verse. Is there a way around this?





Thanks!
Brady

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: AM Not Detecting the Position Until an Update

#2 Post by JackZ »

That’s the way any Dataref/variable subscribe works, the plugin sends changes only.
So you’ll have to force read the current status of the Datarefs upon startup and set your displays accordingly.
I think that you might use for this in your code at initialization request_callback(your_callback)
Where your_callback is the name of the function to be called

Jacques
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

User avatar
BradyBrother100
Posts: 54
Joined: Tue Oct 13, 2020 4:21 pm
Location: United States MDT

Re: AM Not Detecting the Position Until an Update

#3 Post by BradyBrother100 »

Interesting. I have gotten two callbacks to be updated thanks to the request_callback but I can't seem to get request_callback(battery) to anything. The two I got working are inside functions which I don't think makes a difference. I have also tried moving request_callback(battery) to different lines to see if that makes a difference but to no avail.

Code: Select all

request_callback(battery)
canvas_add(0,0, 320, 170, function ()
    _rect(0, 0, 320, 170)
    _fill("black")
end)
dc_amps_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 35, 25, 50, 50)
dc_volts_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 35, 120, 50, 50)
ac_amps_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 137, 120, 50, 50)
ac_volts_txt = txt_add("888","font:digital-7-mono.ttf; size:28; color:green; halign:right;", 231, 120, 50, 50)
ac_freq_txt = txt_add("888","font:digital-7-mono.ttf; size:28; color:green; halign:right;", 231, 25, 50, 50)






--Knob Stuff
function battery(pos)
    if pos == 0 then
    visible(dc_amps_txt, false)
    visible(dc_volts_txt, false)
    visible(ac_amps_txt, false)
    visible(ac_volts_txt, false)
    visible(ac_freq_txt, false)
    elseif pos == 1 then
    request_callback(ac_knob)
    request_callback(dc_knob)
end
end 

function dc_knob(pos)
           if pos == 0 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, true)
           elseif pos == 1 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, true)
           elseif pos == 2 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 3 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 4 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 5 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 6 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, false)
end
end

    
function ac_knob(pos)
           if pos == 0 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 1 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 2 then
           visible(ac_amps_txt, true)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 3 then
           visible(ac_amps_txt, true)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 4 then
           visible(ac_amps_txt, true)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 5 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 6 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, false)
           visible(ac_freq_txt, false)
end
end
 
-------------------------------------------




--Text Set Functions
function ac_amp(value)
    txt_set(ac_amps_txt, string.format("%.0f", value))   
end

function dc_amp(value)
    txt_set(dc_amps_txt, string.format("%.0f", value))   
end

function ac_volt(value)
    txt_set(ac_volts_txt, string.format("%.0f", value))   
end

function dc_volt(value)
    txt_set(dc_volts_txt, string.format("%.0f", value))   
end

function ac_freq(value)
    txt_set(ac_freq_txt, string.format("%.0f", value))   
end
----------------------------------------------------------
xpl_dataref_subscribe("laminar/B738/electric/battery_pos", "FLOAT", battery)
xpl_dataref_subscribe("laminar/B738/knob/ac_power", "FLOAT", ac_knob)
xpl_dataref_subscribe("laminar/B738/knob/dc_power", "FLOAT", dc_knob)
xpl_dataref_subscribe("laminar/B738/ac_amp_value", "FLOAT", ac_amp)
xpl_dataref_subscribe("laminar/B738/dc_amp_value", "FLOAT", dc_amp)
xpl_dataref_subscribe("laminar/B738/dc_volt_value", "FLOAT", dc_volt)
xpl_dataref_subscribe("laminar/B738/ac_volt_value", "FLOAT", ac_volt)
xpl_dataref_subscribe("laminar/B738/ac_freq_value", "FLOAT", ac_freq)

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: AM Not Detecting the Position Until an Update

#4 Post by JackZ »

Try this code instead.

My advice is to regroup all the datarefs subscribe of ever changing values in a single dataref_subscribe()
like this, only one function handles all the displays at once, and only a change of one of the AC or DC switch position changes what is displayed.
Note also that a txt_add() is displayed by default at creation.
So if you want it to reflect the battery state in the displays, it's best to turn their visibility off at startup, and update the visibility afterwards

Code: Select all

canvas_add(0,0, 320, 170, function ()
    _rect(0, 0, 320, 170,25)
    _fill("black")
end)
dc_amps_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 35, 25, 50, 50)
dc_volts_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 35, 120, 50, 50)
ac_amps_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 137, 120, 50, 50)
ac_volts_txt = txt_add("888","font:digital-7-mono.ttf; size:28; color:green; halign:right;", 231, 120, 50, 50)
ac_freq_txt = txt_add("888","font:digital-7-mono.ttf; size:28; color:green; halign:right;", 231, 25, 50, 50)

----------- initialization section --------------------
visible(dc_amps_txt, false)
visible(dc_volts_txt, false)
visible(ac_amps_txt, false)
visible(ac_volts_txt, false)
visible(ac_freq_txt, false)
request_callback(battery)
request_callback(ac_knob)
request_callback(dc_knob)

----------- end of initialization section -----------

--Knob Stuff
function battery(pos)
    if pos == 0 then
    visible(dc_amps_txt, false)
    visible(dc_volts_txt, false)
    visible(ac_amps_txt, false)
    visible(ac_volts_txt, false)
    visible(ac_freq_txt, false)
    else
    visible(dc_amps_txt, true)
    visible(dc_volts_txt, true)
    visible(ac_amps_txt, true)
    visible(ac_volts_txt, true)
    visible(ac_freq_txt, true)
end
end 

function dc_knob(pos)
           if pos == 0 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, true)
           elseif pos == 1 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, true)
           elseif pos == 2 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 3 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 4 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 5 then
           visible(dc_amps_txt, true)
           visible(dc_volts_txt, true)
           elseif pos == 6 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, false)
end
end

    
function ac_knob(pos)
           if pos == 0 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 1 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 2 then
           visible(ac_amps_txt, true)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 3 then
           visible(ac_amps_txt, true)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 4 then
           visible(ac_amps_txt, true)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 5 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, true)
           visible(ac_freq_txt, true)
           elseif pos == 6 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, false)
           visible(ac_freq_txt, false)
end
end
 
-------------------------------------------

--Text Set Functions
function update_elec_data(dc_volt,dc_amp,ac_volt,ac_amp,ac_freq)
    txt_set(ac_amps_txt, string.format("%.0f", dc_amp))   
    txt_set(dc_amps_txt, string.format("%.0f", dc_amp))   
    txt_set(ac_volts_txt, string.format("%.0f", ac_volt))  
    txt_set(dc_volts_txt, string.format("%.0f", ac_amp))   
    txt_set(ac_freq_txt, string.format("%.0f", ac_freq))   
end
----------------------------------------------------------
xpl_dataref_subscribe("laminar/B738/electric/battery_pos", "FLOAT",battery)
xpl_dataref_subscribe("laminar/B738/knob/ac_power", "FLOAT", ac_knob)
xpl_dataref_subscribe("laminar/B738/knob/dc_power", "FLOAT", dc_knob)
xpl_dataref_subscribe( "laminar/B738/dc_volt_value", "FLOAT", 
                                      "laminar/B738/dc_amp_value", "FLOAT", 
                                      "laminar/B738/ac_volt_value", "FLOAT",
                                      "laminar/B738/ac_amp_value", "FLOAT", 
                                      "laminar/B738/ac_freq_value", "FLOAT", update_elec_data)
Not really tested, as I don't have the Zibo on my PC

Jacques
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

User avatar
BradyBrother100
Posts: 54
Joined: Tue Oct 13, 2020 4:21 pm
Location: United States MDT

Re: AM Not Detecting the Position Until an Update

#5 Post by BradyBrother100 »

Thanks for code. All of the text disappears only when the switch came from the On position but on launch of the script, the function battery section of the script is completely ignored and the visibility of the text is determined by the knobs.

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: AM Not Detecting the Position Until an Update

#6 Post by JackZ »

Hmm. I figured that the datarefs were standard ones, so i just fired up the stock B737 from Laminar, and could test the code.
I will publish an updated code soon.
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: AM Not Detecting the Position Until an Update

#7 Post by JackZ »

This one works with the Zibo, you made me download the mod eventually aha :D
The code is commented out, for you to understand the way it works.
One of the tricks is to replace visible(xxx,true) by visible(xxxx, is_powered) where is_powered is a Boolean variable tied to the battery state. This variable is set by the battery switch.

Code: Select all


canvas_add(0,0, 320, 170, function ()
    _rect(0, 0, 320, 170,25)
    _fill("black")
end)
dc_amps_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 35, 25, 50, 50)
dc_volts_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 35, 120, 50, 50)
ac_amps_txt = txt_add("88","font:digital-7-mono.ttf; size:28; color:green; halign:right", 137, 120, 50, 50)
ac_volts_txt = txt_add("888","font:digital-7-mono.ttf; size:28; color:green; halign:right;", 231, 120, 50, 50)
ac_freq_txt = txt_add("888","font:digital-7-mono.ttf; size:28; color:green; halign:right;", 231, 25, 50, 50)

--------- initialization
visible(dc_amps_txt, false)
visible(dc_volts_txt, false)
visible(ac_amps_txt, false)
visible(ac_volts_txt, false)
visible(ac_freq_txt, false)

request_callback(battery)
request_callback(ac_knob)
request_callback(dc_knob)
request_callback(update_elec_data)

local is_powered=false — Boolean variable of the battery state

--Knob Stuff
function battery(pos)
--  we update the status
    if pos == 0 then
        is_powered=false
    else
        is_powered=true
    end
-- and we modifiy the display accordingly
        request_callback(update_elec_data)
end 


function dc_knob(pos)
           if pos == 0 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, is_powered) — Visible only if the battery is ON
           elseif pos == 1 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, is_powered)
           elseif pos == 2 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 3 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 4 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 5 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 6 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, false)
end
end

    
function ac_knob(pos)
           if pos == 0 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 1 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 2 then
           visible(ac_amps_txt, is_powered)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 3 then
           visible(ac_amps_txt, is_powered)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 4 then
           visible(ac_amps_txt, is_powered)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 5 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 6 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, false)
           visible(ac_freq_txt, false)
end
end
 
-------------------------------------------

--Text Set Functions
function update_elec_data(dc_volt,dc_amp,ac_volt,ac_amp,ac_freq)
-- displays the current values according to the battery state
if  is_powered==true then
   -- we set the visibility of each text string
    request_callback(ac_knob)
    request_callback(dc_knob)
    -- fill in the values
    txt_set(dc_volts_txt, string.format("%.0f", dc_volt))   
    txt_set(dc_amps_txt, string.format("%.0f", dc_amp))   
    txt_set(ac_volts_txt, string.format("%.0f", ac_volt))  
    txt_set(ac_amps_txt, string.format("%.0f", ac_amp))   
    txt_set(ac_freq_txt, string.format("%.0f", ac_freq))   

    else
    visible(dc_amps_txt, false)
    visible(dc_volts_txt, false)
    visible(ac_amps_txt, false)
    visible(ac_volts_txt, false)
    visible(ac_freq_txt, false)
end
end
----------------------------------------------------------
xpl_dataref_subscribe("laminar/B738/electric/battery_pos", "FLOAT",battery)
xpl_dataref_subscribe("laminar/B738/knob/ac_power", "FLOAT", ac_knob)
xpl_dataref_subscribe("laminar/B738/knob/dc_power", "FLOAT", dc_knob)
-- a global callback for all the values
xpl_dataref_subscribe( "laminar/B738/dc_volt_value", "FLOAT", 
                                      "laminar/B738/dc_amp_value", "FLOAT", 
                                      "laminar/B738/ac_volt_value", "FLOAT",
                                      "laminar/B738/ac_amp_value", "FLOAT", 
                                      "laminar/B738/ac_freq_value", "FLOAT", update_elec_data)

Jacques
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: AM Not Detecting the Position Until an Update

#8 Post by JackZ »

I figured that it would be much nicer to have the proper font as well for the display. It appears there is no B737 font available on the Net for this, as some of the digits of the available dotmatrix fonts are incorrectly represented for our purposes, so I ended up by slightly modifying an existing free font with FontForge in order to have the 0 and 2 digits correct as per the real display.
image.png
image.png (5.82 KiB) Viewed 3569 times
So here's the modified font, and once the font put into the resource folder, the code has to be changed as follows:

Code: Select all

canvas_add(0,0, 320, 170, function ()
    _rect(0, 0, 320, 170,25)
    _fill("black")
end)
dc_amps_txt = txt_add("88","font:JZDotMatrixB737.ttf; size:28; color:green; halign:right", 35, 25, 50, 50)
dc_volts_txt = txt_add("88","font:JZDotMatrixB737.ttf; size:28; color:green; halign:right", 35, 120, 50, 50)
ac_amps_txt = txt_add("88","font:JZDotMatrixB737.ttf; size:28; color:green; halign:right", 137, 120, 50, 50)
ac_volts_txt = txt_add("888","font:JZDotMatrixB737.ttf; size:28; color:green; halign:right;", 181, 120, 100, 50)
ac_freq_txt = txt_add("888","font:JZDotMatrixB737.ttf; size:28; color:green; halign:right;", 181, 25, 100, 50)
--------- initialization
visible(dc_amps_txt, false)
visible(dc_volts_txt, false)
visible(ac_amps_txt, false)
visible(ac_volts_txt, false)
visible(ac_freq_txt, false)

visible(dc_amps_txt, true)
visible(dc_volts_txt, true)
visible(ac_amps_txt, true)
visible(ac_volts_txt, true)
visible(ac_freq_txt, true)

request_callback(battery)
request_callback(ac_knob)
request_callback(dc_knob)
request_callback(update_elec_data)

local is_powered=false

--Knob Stuff
function battery(pos)
--  we update the status
    if pos == 0 then
        is_powered=false
    else
        is_powered=true
    end
-- and we modifiy the display accordingly
        request_callback(update_elec_data)
end 


function dc_knob(pos)
           if pos == 0 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, is_powered)
           elseif pos == 1 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, is_powered)
           elseif pos == 2 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 3 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 4 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 5 then
           visible(dc_amps_txt, is_powered)
           visible(dc_volts_txt, is_powered)
           elseif pos == 6 then
           visible(dc_amps_txt, false)
           visible(dc_volts_txt, false)
end
end

    
function ac_knob(pos)
           if pos == 0 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 1 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 2 then
           visible(ac_amps_txt, is_powered)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 3 then
           visible(ac_amps_txt, is_powered)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 4 then
           visible(ac_amps_txt, is_powered)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 5 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, is_powered)
           visible(ac_freq_txt, is_powered)
           elseif pos == 6 then
           visible(ac_amps_txt, false)
           visible(ac_volts_txt, false)
           visible(ac_freq_txt, false)
end
end
 
-------------------------------------------

--Text Set Functions
function update_elec_data(dc_volt,dc_amp,ac_volt,ac_amp,ac_freq)
-- displays the current values according to the battery state
if  is_powered==true then
    request_callback(ac_knob)
    request_callback(dc_knob)
    txt_set(dc_volts_txt, string.format("%.0f", dc_volt))   
    txt_set(dc_amps_txt, string.format("%.0f", dc_amp))   
    txt_set(ac_volts_txt, string.format("%.0f", ac_volt))  
    txt_set(ac_amps_txt, string.format("%.0f", ac_amp))   
    txt_set(ac_freq_txt, string.format("%.0f", ac_freq))   

    else
    visible(dc_amps_txt, false)
    visible(dc_volts_txt, false)
    visible(ac_amps_txt, false)
    visible(ac_volts_txt, false)
    visible(ac_freq_txt, false)
end
end
----------------------------------------------------------
xpl_dataref_subscribe("laminar/B738/electric/battery_pos", "FLOAT",battery)
xpl_dataref_subscribe("laminar/B738/knob/ac_power", "FLOAT", ac_knob)
xpl_dataref_subscribe("laminar/B738/knob/dc_power", "FLOAT", dc_knob)
xpl_dataref_subscribe( "laminar/B738/dc_volt_value", "FLOAT", 
                                      "laminar/B738/dc_amp_value", "FLOAT", 
                                      "laminar/B738/ac_volt_value", "FLOAT",
                                      "laminar/B738/ac_amp_value", "FLOAT", 
                                      "laminar/B738/ac_freq_value", "FLOAT", update_elec_data)
Enjoy

Jacques
JZDotMatrixB737.zip
(9.14 KiB) Downloaded 169 times
The display colors can be also slightly changed as follows IMHO:

Code: Select all

dc_amps_txt = txt_add("-88","font:JZDotMatrixB737.ttf; size:28; color:#bbe415; halign:left",35, 25, 80, 50)
dc_volts_txt = txt_add("-88","font:JZDotMatrixB737.ttf; size:28; color:#bbe415; halign:left", 35, 120, 80, 50)
ac_amps_txt = txt_add("88","font:JZDotMatrixB737.ttf; size:28; color:#bbe415; halign:left", 160, 120, 50, 50)
ac_volts_txt = txt_add("888","font:JZDotMatrixB737.ttf; size:28; color:#bbe415; halign:left;", 231, 120, 100, 50)
ac_freq_txt = txt_add("888","font:JZDotMatrixB737.ttf; size:28; color:#bbe415; halign:left;", 231, 25, 100, 50))
to have a display like this one:
image.png
image.png (7.25 KiB) Viewed 3559 times
JZDotMatrixB737.zip
(9.14 KiB) Downloaded 169 times
that is much closer to the real thing (Devil IS in the details)
Attachments
image.png
Last edited by JackZ on Sun May 23, 2021 5:09 pm, edited 1 time in total.
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

JackZ
Posts: 2262
Joined: Mon Feb 22, 2016 1:02 pm

Re: AM Not Detecting the Position Until an Update

#9 Post by JackZ »

@Ralph
The above mentioned font could be used as a replacement for the Zibo premium panel as well, for a more accurate display.
Feel free to reuse it if you want
image.png
image.png (41.45 KiB) Viewed 3558 times
image.png
image.png (7.61 KiB) Viewed 3558 times
My YouTube Chanel on the A320 (Real SOPs by an Airline Pilot IRL):
https://www.youtube.com/playlist?list=P ... 0Q6SBASRqJ

User avatar
Keith Baxter
Posts: 4671
Joined: Wed Dec 20, 2017 11:00 am
Location: Botswana

Re: AM Not Detecting the Position Until an Update

#10 Post by Keith Baxter »

Interesting Jacques,

I Love it.

What LED or LCD display do i use??

What have i just done :shock: :shock:

Keith
AMD RYZEN 9 5950X CPU, Corsair H80I cooler, ASUS TUF GAMING B550-PLUS AMD Ryzen Mother Board,  32Gb ram Corsair Vengeance 3000Mh, MSI GTX960 4G graphics card 

Post Reply