03-02-2006, 02:06 AM #1lukerGuest
Glass Cockpit Display Setting via Offset
I have a question about setting an offset in the Project Magenta glass cockpit software using fs2phidgets.
What I want to do is change the way the glass cockpit for the captain side displays. The default is to have the PFD on the left and the ND on the right.
This can be changed by using offset 04F4. However I'm not sure how to do it.
From the project magenta offset documents I found the following:
Glass Cockpit ND Modes (Write Only) (*was* Read as well)
Sending 100+(value) controls First Officer Display (e.g. 170 enables weather on Copilot ND)
Only last three digits are used, you can use the thousands to indicate the key has been pressed again (state change), i.e. 2150 and 5150 do the same
(Values, not bits!)
10 PFD/ND -> PFD -> ND (like pressing F4,F1,F2 in GC)
12 EICAS with Standby
So it would seem I have to set the value to 10. But how???
I know how to create the variable in fs2phidgets but I do not know how to assign the value to it do I define it as a "Raw Value" or a "Bitmap" or a "Range" variable etc ???? and how do I pass 10 to this ??? or 11 or 12 if I needed.
Any help would be appreciated
03-04-2006, 11:57 AM #2alandyerGuest
When you create variable set type to Digital.
Set the the On Value to 10 and the Off Value to 0.
03-06-2006, 01:51 AM #3lukerGuest
Thank you for your speedy reply Alan.
Can I test this by using a dummy tab (Ctrl-T) or do I need to be physically connected to a phidget interface card ?
03-07-2006, 03:42 AM #4alandyerGuest
Use the Phidget Emulator (ePhidgets).
Select an Interfacekit and press on-screen momentary or toggle switches.
Press "Maintain Card List" button.
On the Card List screen press "List Card Emulators".
Add Interfacekit 8/8/8 to your card list.
Pressing "Detect Phidgets" from the main screen will display ePhidget.
03-12-2006, 02:27 AM #5lukerGuest
Thank you for your help. I managed to do some testing this weekend. After updating to version 3.2.2 I tried to use ePhidgets as suggested. It did not work. However I hooked up to the physical 8/8/8 and it worked ! after I had set up the variable the way you suggested.
On the ePhidgets side of things, I tried to assign the variable I had set up (which worked with the physical card). I assigned it on input 1 and then flicked the virtual switch and nothing happened. I then tried a simpler FS switch (pitot heat) which is pre-defined in FS2Phidgets and again I could not get it to work using ePhidgets but using my 8/8/8 physical card it worked as advertised.
Maybe I'm doing something wrong in ePhidgets? Anyhow thanks for your help as I did manage to get everything working on the physical card.
By TobiBS in forum Cockpit Parts and Motion PlatformsReplies: 7Last Post: 07-02-2011, 04:26 AM
By ddschumm in forum I/O Interfacing and HardwareReplies: 0Last Post: 11-19-2010, 01:00 PM
By cesarfsim in forum OpenCockpits General DiscussionReplies: 0Last Post: 08-18-2009, 10:12 PM
By cesarfsim in forum PM Boeing GCReplies: 2Last Post: 08-03-2009, 09:27 PM
By Matt Olieman in forum General Builder Questions All Aircraft TypesReplies: 0Last Post: 08-31-2007, 07:20 PM