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.

toggle Active radio between Com 1 to Com 2

Featured Replies

In the Longitude (Primary but all with 2 radios), I'm looking for something (key stroke, variable, ....) to put on my Stream deck, that will toggle the "Active" radio between Com 1 to Com 2.

thanks

  • Commercial Member

TMBK there is no unique event, the touchscreen triggers a series of items to configure the (non existent) audio panel. 

Try this script:

(A:COM·RECEIVE:1,·Bool)·if{·0·(>K:COM1_RECEIVE_SELECT)·1·(>K:COM2_RECEIVE_SELECT)·1·(>K:PILOT_TRANSMITTER_SET)·}·
els{·1·(>K:COM1_RECEIVE_SELECT)·0·(>K:COM2_RECEIVE_SELECT)·0·(>K:PILOT_TRANSMITTER_SET)·}·

 

Edited by Lorby_SI

LORBY-SI

  • Author

thanks

THAT WORKS GREAT.

Edited by rwilson881

  • Author

I created a event on my Stream Deck +. wonderful.

Can you tell me is there a way to return to my stream deck which radio is active, 1 or 2?

couldn't find any documentation that says what that would be.

would love to have the indication there so I don't need to look down in the cockpit.

thanks

  • Author
20 hours ago, Lorby_SI said:

TMBK there is no unique event, the touchscreen triggers a series of items to configure the (non existent) audio panel. 

Try this script:


(A:COM·RECEIVE:1,·Bool)·if{·0·(>K:COM1_RECEIVE_SELECT)·1·(>K:COM2_RECEIVE_SELECT)·1·(>K:PILOT_TRANSMITTER_SET)·}·
els{·1·(>K:COM1_RECEIVE_SELECT)·0·(>K:COM2_RECEIVE_SELECT)·0·(>K:PILOT_TRANSMITTER_SET)·}·

 

I created a event on my Stream Deck +. wonderful.

Can you tell me is there a way to return to my stream deck which radio is active, 1 or 2?

couldn't find any documentation that says what that would be.

would love to have the indication there so I don't need to look down in the cockpit.

thanks

  • Commercial Member
39 minutes ago, rwilson881 said:

Can you tell me is there a way to return to my stream deck which radio is active, 1 or 2?

That is actually in the script above - the A: variable queries the sim which receiver is active (receivers and transmitters are separate entities, the radio is not just "active" or "not active")

So the read variable is "A:" "COM RECEIVE:1, Bool"
A value of 1 tells you that the COM 1 Receiver is active, 0 that it is not active - and it is assumed that at this point the COM2 receiver is....
 

 

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.