11-10-2004, 03:11 PM #1rangepigGuest
Question for Alan re: offset trigger ranges
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
11-14-2004, 05:41 PM #2alandyerGuest
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.
11-16-2004, 03:24 PM #3rangepigGuest
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!
11-22-2004, 09:46 AM #4alandyerGuest
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.
By Daveanne in forum General Microsoft Flight Simulator 2004 (FS9)Replies: 3Last Post: 01-02-2010, 12:54 PM
By rottenlungs in forum General Builder Questions All Aircraft TypesReplies: 3Last Post: 12-10-2008, 05:18 AM
By cpeckinpaugh in forum FS2Phidget UsersReplies: 5Last Post: 04-18-2005, 06:37 PM
By project717 in forum Phidgets & Cockpit Simulator BuilderReplies: 1Last Post: 04-04-2005, 12:45 PM
By imported_737nut in forum FS2Phidget UsersReplies: 0Last Post: 11-01-2004, 11:50 PM