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.

Using 'custom commands'

Featured Replies

I am trying to use 'customa commands' as of page 11 from the manual in combination with Teensy FlightsimControls.

But it does not work :-(

Q1: How is the "suffix" meant? Adding a _1 to the commad? e.g.: RXP/GNS/CFLP_1 ? or RXP/GNS_1/CFLP?

Q2: How do I use these commands?

This does not work so far :

FlightSimCommand GPS_R_outer;

setup()

{
GPS_R_outer= XPlaneRef("RXP/GNS_1/GPS/OUTR_CCW_1
}


loop()
{
GPS_R_outer=1;
}

I do not even see any communication happening in the communication windows

  • Author

Sorry , wrong forum. Sholud be the X-Plane forum ....

2 hours ago, drnicolas said:

RXP/GNS/CFLP_1

This is how they are defined indeed: just add _1 or _2 suffix (meaning at the end).

2 hours ago, drnicolas said:

XPlaneRef

I don't know the details of this interface, but from this name, I'd infer you are trying to bind a 'dataref'. However, the GNS commands are 'commands', not datarefs. You might want to review the interface documentation for such.

  • Author

I think "FlightSimCommand" is correct for Commands. You can also choose "FlightSimInt". That should be filled with an int value.

What should I assign to the Command ? 1? 0? something else?

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.