Jump to content
The simFlight Network Forums

Recommended Posts

Posted

Hello,

with the implemented autopilot unit on my Bravo trottle quadrant from Honeycomb I can control the autopilot of the CRJ from Aerosoft. But unfortunatly the altitude selector doesn't work, the other selectors for NAV/HDG/SPEED/VS are working correct. From the Aerosoft forum I received the following LVAR script for the altitude selector:

INCREMENT : 
(L:ASCRJ_FCP_ALT_SEL,·Number)·10·+·(>L:ASCRJ_FCP_ALT_SEL,·Number)·(L:ASCRJ_FCP_ALT_CHANGE,·Number)·++·(>L:ASCRJ_FCP_ALT_CHANGE,·Number)
DECREMENT : 
(L:ASCRJ_FCP_ALT_SEL,·Number)·10·-·(>L:ASCRJ_FCP_ALT_SEL,·Number)·(L:ASCRJ_FCP_ALT_CHANGE,·Number)·--·(>L:ASCRJ_FCP_ALT_CHANGE,·Number)

But honestly I have absolute no clue how to implement these scripts in my FSUIPC so that my altitude selector is bound with these scripts.

Can someone be so friendly to help me out ?

Bernhard

Posted
On 4/3/2025 at 11:19 AM, BernhardS said:

INCREMENT : 
(L:ASCRJ_FCP_ALT_SEL,·Number)·10·+·(>L:ASCRJ_FCP_ALT_SEL,·Number)·(L:ASCRJ_FCP_ALT_CHANGE,·Number)·++·(>L:ASCRJ_FCP_ALT_CHANGE,·Number)
DECREMENT : 
(L:ASCRJ_FCP_ALT_SEL,·Number)·10·-·(>L:ASCRJ_FCP_ALT_SEL,·Number)·(L:ASCRJ_FCP_ALT_CHANGE,·Number)·--·(>L:ASCRJ_FCP_ALT_CHANGE,·Number)

But honestly I have absolute no clue how to implement these scripts in my FSUIPC so that my altitude selector is bound with these scripts.

Can someone be so friendly to help me out ?

The easiest way to do this is to define your own presets, using the myEvents,txt file (you need to create this file as it won't exist by default - see the section Using Calculator Code Presets
 on page 50 of the Advanced User guide). Add the following to this file (once created):

//Aerosoft/CRJ 550-700-1000/Autopilot
ASCRJ_AUTOPILOT_ALTITUDE_INC#(L:ASCRJ_FCP_ALT_SEL,·Number)·10·+·(>L:ASCRJ_FCP_ALT_SEL,·Number)·(L:ASCRJ_FCP_ALT_CHANGE,·Number)·++·(>L:ASCRJ_FCP_ALT_CHANGE,·Number)
ASCRJ_AUTOPILOT_ALTITUDE_DEC#(L:ASCRJ_FCP_ALT_SEL,·Number)·10·-·(>L:ASCRJ_FCP_ALT_SEL,·Number)·(L:ASCRJ_FCP_ALT_CHANGE,·Number)·--·(>L:ASCRJ_FCP_ALT_CHANGE,·Number)

Once added, you can use the File -> Reload Presets menu item to load them.

But looking at the provided presets, there are already some provided for altitude inc/dec:

ASCRJ_FCP_ALT_SEL_DEC#(L:ASCRJ_FCP_ALT_CHANGE, number) -- (>L:ASCRJ_FCP_ALT_CHANGE)
ASCRJ_FCP_ALT_SEL_INC#(L:ASCRJ_FCP_ALT_CHANGE, number) ++ (>L:ASCRJ_FCP_ALT_CHANGE)

Don't they work? If not, you should submit the working ones to Mobiflight (via the HubHop site).

John

Posted

John, thank you for your help. Indeed it works with the already provided presets. So it seems the scripts from Aerosoft are wrong. Just in case someone needs also help. One has to add the following lines to the fsuipc.ini for the working altitude selector with the Bravo:

[Profile.crj]
1=CRJ

[Buttons.crj]
0=CP(+F,20)F,12,CPASCRJ_FCP_ALT_SEL_INC,0     -{Preset Control}-
1=CP(+F,20)F,13,CPASCRJ_FCP_ALT_SEL_DEC,0     -{Preset Control}-

Bernhard

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
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.