Results 1 to 4 of 4
  1. #1
    rangepig
    Guest

    Question Question for Alan re: offset trigger ranges

    Alan:

    I'm building a generic cockpit (I don't want to be stuck flying one type of aircraft) loosely based on a regional jet. I have a custom annunciator panel driven by an LED64 board. I have some fuel warning lights that I want to glow amber when I'm into my reserve and red when I'm dangerously low.

    Is there a way to do this within FS2Phidget? Can I set a range within which the amber LED would be on and then a range below that where the red LED would be on but the amber off? For example (and these numbers are simplified for sake of discussion):

    Fuel qty is >500 = amber off, red off
    Fuel qty is < 500 and >100 = amber on, red off
    Fuel qty <100 = amber off, red on

    I know I can write my own program to do this but if there's a way to do it in FS2Phidget then I'd like to avoid reinventing the wheel

    Jim Titus

  2. #2
    alandyer
    Guest
    By adding or modifying an entry to ini file in forthcoming release you will be able to do this.
    This is currently possible with Access database in current release.
    I developed this functionality to support landing gear lights.
    What you would need to do is:
    - look in FSUIPC documentation for range of values for fuel.
    - set threshold value in INI file where you would want LEDs to illuminate or extinguish.

  3. #3
    rangepig
    Guest

    Thanks!

    Thanks, Alan. Any hint of an ETA for the new version? I understand there's a bug with the LED64 in the current version anyway...

    I haven't started with my Phidgets yet...still soldering and building panels!

    --Jim

  4. #4
    alandyer
    Guest
    The latest version is available for download.

    I have added facility that will allow you to set threshold for "on" and "off" states for digital output.

    You can play with settings while FS is running.
    Tried it out with gear lights - works real well.

Similar Threads

  1. Offset question
    By rottenlungs in forum General Builder Questions All Aircraft Types
    Replies: 3
    Last Post: 12-10-2008, 06:18 AM
  2. Offset Question
    By cpeckinpaugh in forum FS2Phidget Users
    Replies: 5
    Last Post: 04-18-2005, 06:37 PM
  3. Question for Alan
    By project717 in forum Phidgets & Cockpit Simulator Builder
    Replies: 1
    Last Post: 04-04-2005, 12:45 PM
  4. Question for Alan D. APU offsets
    By imported_737nut in forum FS2Phidget Users
    Replies: 0
    Last Post: 11-02-2004, 12:50 AM