Cockpitbuilders.com

Main => Builders Discussions => Topic started by: jmcmanna on April 13, 2017, 07:22:47 AM

Title: XML lvars & LEDs
Post by: jmcmanna on April 13, 2017, 07:22:47 AM
Here's my situation: I have a spreadsheet that has all the Lvars for a certain airplane in FSX, and I have 100+ annunciators wired to phidgets LED64 adv cards.  But, I have no idea how to put them together so my LEDs illuminate when they're supposed to.

Can somebody point me to a place where I can learn about xml lvars, etc...?  I have been doing google searches, but this is so new to me, I don't even know where to start. 

Thank you!
Title: Re: XML lvars & LEDs
Post by: Trevor Hale on April 13, 2017, 08:15:58 AM
Hi,

Either you are using a new term that I have never heard of, (XML LVARS) or maybe your a little confused...

The best thing for you to do if you are using Phidgets LED'64's is to download "Alan Dyer's" Fs2Phidgets software.  This will allow you to assign FSUIPC Offsets or internal Flightsim Actions to your LED's.

By using FSUIPC and fs2phidgets You can specify (your LED's for Fuel Pumps) etc, and they will follow the use of your fuel pumps when you turn them on and off..

Hope this make a little more sense.

Title: Re: XML lvars & LEDs
Post by: jmcmanna on April 13, 2017, 08:34:25 AM
I am currently using FS2Phidgets.  I am using a complex add-on aircraft (Coolsky DC-9) which has a lot of annunciators that have complex logic to them and am stuck beyond some of the basic function to which there are native FSUIPC offsets. 

The Czech DC-9 guys and the aircraft developer have both sent me a list of Lvars that they say can be programmed with XML to illuminate my LEDs at the same time that the annunciator is illuminated in the 'virtual' cockpit (I think I am explaining the correctly".  I have no experience with this route, though, and am having a tough time figuring out where to start.
Title: Re: XML lvars & LEDs
Post by: Trevor Hale on April 13, 2017, 10:29:05 AM
As so becomes the issue with using these aircraft LOL.

Eish...  Well, this is where your going to have to get into some software writing skills.  I am guessing you would need to write yourself a program in "LUA" that would be able to read those XML Values. and transfer them to "FSUIPC or standard FS OFFSETS"

This is exactly the problem that for many years, people were trying to use a $65.00 PMDG 737 and didn't want to spend the $ to purchase Project magenta or the other software(s) on the market for the 737.

Problem is getting the data out of the "XML = Gauges" and into something that you can use to turn on your LED's.

Sorry I can't be of much help, your going waaaay outside of my league.
Title: Re: XML lvars & LEDs
Post by: jmcmanna on April 14, 2017, 06:03:48 AM
Ha, I am way out of my league, too!  This project has broadened my horizons drastically already; this is the final push (for now).  I think I might have to learn how to do some lua programming.  I do miss my Prosim build; that was a piece of cake compared to this!  I have the DC-9 FCOM which details the systems very deeply.  Maybe I can figure out how to make the logic variables work in FS2Phidgets for now.