Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Axis potentiometer XY as a G1000 NXI joystick map

Featured Replies

Hello:

I have a XY two axis potentiometer that I want to attach to an Arduino. I'm planning to use it as a joystick map to move the map in the G1000 NXI MFD map. The connection will be on the analog connectors of the arduino. I already did it and is working ok. I think the pan joystick part of the MFD is done by the RANGE knob, by pushing it. Once pushed you can move the map up, down, left and right. My understanding is that there're AS1000 LVARS for doing this. I never did this before: use an axis signal to change a LVAR. Can you provide me some hints on how to do this: maybe a script...I dont really know.

As always.....Thanks for the help 

Carlos

  • Commercial Member

Those aren't LVars, they are HVars (HTML Variables).

Off the top of my head - to operate these HVars with axis you will have to create four scripts and then bind them to your axis as Events (second box from the top on the axis assignment dialog). 
You will need 4 axis assignments in total, two for each direction (X/Y). When you assign an event to an axis, a set of "Trigger" controls will appear. Set the direction accordingly for each assignment (=one "up only", the other "down only"). Maybe try "Repeat" (I don't know how that G1000 joytick operates, if it keep going if you are holding it down.).

The 4 scripts will look like this:
1·(>H:AS1000_MFD_JOYSTICK_UP,·Number)
1·(>H:AS1000_MFD_JOYSTICK_DOWN,·Number)
1·(>H:AS1000_MFD_JOYSTICK_LEFT,·Number)
1·(>H:AS1000_MFD_JOYSTICK_RIGHT,·Number)

and there is also
1·(>H:AS1000_MFD_JOYSTICK_PUSH,·Number)

But this is all in theory only. I've personally never tried to operate that G1000 joystick.

Edited by Lorby_SI

LORBY-SI

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.