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.

Hydraulics pressure gauge and pump switch interdependen...

Featured Replies

Hi again.Would one you of guys be good enough to show me what code is required to make a hydraulics pressure gauge dependent on a hydraulics pump switch. I've developed the pressure gauge okay and a dummy hydraulic pump switch for the job, but I've got no idea how to link them up. I'm guessing that most of the code would be placed in the hydraulics pressure gauge, so I've included that below.Any ideas are appreciated.Cheers,Matthew. (A:Suction pressure,inHg)

Hi,You could make the needle rotation dependant of the hydraulic switch like:(L:Hydraulic Switch,bool) if{ (A:Suction pressure,inHg) }Hope it helps,Jan"Beatus Ille Procul Negotiis"

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Hi Jan.Thanks for that. Did the trick just nicely. I've included the final code for the gauge and the switch below for anyone else who might be interested.Cheers,Matthew.(L:Hydraulic Switch,bool) if{ (A:Suction pressure,inHg) }(L:Hydraulic Switch,bool)Hydraulics Pump(L:Hydraulic Switch,bool) ! (>L:Hydraulic Switch,bool)

Create an account or sign in to comment

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.