Jump to content
Sign in to follow this  
roliflight

feelthere Phenom 100

Recommended Posts

Hello,

 

i have a little problem, my Vrinsight combo doesn’t work with the airplane feelthere  Phenom 100.

May be, that my LVAR-Funktions are not correct, here an example I wrote.

-- ## Lights ###############

 

function Nav_Logo_on ()

    LVarSet = "L:EmbNavLt"

    ipc.writeLvar(LVarSet, 1)

--    LightSwitch ()

    DspShow ("Nav", "on")

end

 

function Nav_Logo_off ()

    LVarSet = "L:EmbNavLt"

    ipc.writeLvar(LVarSet, 0)

--    LightSwitch ()

    DspShow ("Nav", "off")

end

 

function Nav_Logo_toggle ()

    if _t("L:EmbNavLt", 0) then

        Nav_Logo_on ()

    else

        Nav_Logo_off ()

    end

 

end

 

There are much more LVars example PhLdgTaxi, EmbPanelLt

I don’t know why the Lvars wont not to work, maybe, there is a Configurator-Tool which allows to assign Lvars and Offsets to keyboard-presses. I think it blocked this functions.

 

LUA.0: [5] Watching new LVar: AUTOTAXI = 0
LUA.0:    flight not saved!
LUA.0:    flight not saved!
LUA.0: All LVars watching request. Preparing...
LUA.0: [5] All LVars watching started...
LUA.0: [1] LVar: EmbNavLt = 0
LUA.O    flight not saved!
LUA.0: [L] LVar. EmbStrobeLt = 0
LUA.0: [L] LVar: EmbStrobeLt = 1
LUA.0:    flight not saved!
LUA.0:    flight not saved!
LUA.Or [L] LVar: EmbPanelLt = 1
LUA.0: [L] LVar. EmbPanelLt = 0
LUA.0:    flight not saved!
LUA.0: [L] LVar: PhLdgTaxi = 1
LUA.0:    flight not saved!
LUA.0: [L] LVar. PhLdgTaxi = 2
LUA.0:    flight not saved!
LUA.0: [L] LVaru PhLdgTaxi = 1
LUA.0:    flight not saved!
LUA.0: [L] LVar: PhLdgTaxi = 0
LUA.0:    flight not saved!
LUA.Or    flight not saved!
LUA.0: [L] LVar. EmbNavLt = 1
LUA.0: [1] LVar. EmbNavLt = 0
LUA.0:    flight not saved!
LUA.0: [L] 'Mar: ErjThrottlelLever = 85
LUA.0: [L] LVar: ErjThrottle2Lever = 85
Sim stopped: average frame rate for last 548 secs = 27.3
 

 

Another problem is, there are combinations off two or three offsets as shown . How can I convert this for Linda. (If I pressed the AP-button)

 

86339 LogOptions changed, now 20000000 00000001
792470 *** EUENT: Cntrl= 65561 (0x00010019), Param= 0 (0x00000000) PAUSE_TOGGLE
799896 *** EUENT: Cntrl= 65808 (0x00010110), Param= 0 (0x00000000) AP_ALT_HOLD_ON
799896 *** EUENT: Cntrl= 66036 {0x000101f4}, Param= 1441 <0x000005a1) AP_US_UAR_SET_ENGLISH
799896 *** EUENT: Cntrl= 65792 (0x00010100), Param= 1 (0x00000001) AUTOPILOT_ON
799958 *** EUENT: Cntrl= 66036 {0x000101f4}, Param= 1442 <0x000005a2) AP_US_UAR_SETENGLISH
799958 *** EUENT: Cntrl= 65817 (0x00010119), Param= 0 (0x00000000) AP_WING_LEUELER_OFF
800005 *** EUENT: Cntrl= 66036 {0x000101f4}, Param= 1442 <0x000005a2) AP_US_VAR_SETENGLISH
800067 *** EUENT: Cntrl= 66036 <0x000101f4), Param= 1443 <0x000005a3) AP_US_VAR_SET_ENGLISH
800130 *** EUENT: Cntrl= 66036 <0x000101f4), Param= 1443 <0x000005a3) AP_US_VAR_SETENGLISH
800208 *** EUENT: Cntrl= 66036 <0x000101f4), Param= 1444 (0x000005a4) AP_US_VAR_SET_ENGLISH
800254 *** EUENT: Cntrl= 66036 (0x000101f4), Param= 1444 <0x000005a4) AP_US_VAR_SETENGLISH
800379 *** EUENT: Cntrl= 66036 <0x000101f4), Param= 1445 <0x000005a5) AP_US_VAR_SET_ENGLISH
800442 *** EUENT: Cntrl= 66036 <0x000101f4), Param= 1445 <0x000005a5) AP_US_VAR_SETENGLISH
800504 *** EUENT: Cntrl= 66036 <0x000101f4), Param= 1446 (0x000005a6) AP_US_VAR_SET_ENGLISH
800598 *** EUENT: Cntrl= 66036 (0x000101f4), Param= 1446 <0x000005a6) AP_US_VAR_SETENGLISH
800644 *** EUENT: Cntrl= 66036 <0x000101f4), Param= 1447 <0x000005a7) AP_US_VAR_SET_ENGLISH
800691 *** EUENT: Cntrl= 66036 (0x000101f4), Param= 1448 <0x000005a8) AP_US_VAR_SETENGLISH

 

Have somebody an idea

 

Many thanks

 

Roliflight

Share this post


Link to post
Share on other sites

Hello Roli,

 

it is difficult to give an answer if I have not the addon.

But I try ...

 

 

Do you see that the functions are executed?

I think you'll get no error in the LINDA console as your code seems to be correct as far as I can see.

Then, you have to see as minimum the Display "Nav on" in the MCP Combo.

 

Is that the case?

If not, there must be a much more difficult problem.

 

 

 

For the second part: my first sentence is much more valid here.

Does the normal FSX autopilot not work?

 

Making a LINDA module is always trial and error as every addon is different


Guenter Steiner
--------------------------------------------------------------------------------------

Betatester for: A2A, LORBY, FSR-Pillow Tester
--------------------------------------------------------------------------------------

Share this post


Link to post
Share on other sites

Hi Guenseli,

 

thank you for answer,

on the display I see “Nav on” and “Nav off” but wen I traced, there is no Lvar function.

The normal autopilot is workimg.

I think it is a problem with the phenom-configuration-tool. This tool allows to map a keyboard-key to such a Lvar-function.

I will try it again if I have more time. For the first step i was gone the easy way and have programmed some fsuipc-mouse-macros. They are working fine.

Thank you for helping

 

Roli

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...