PDA

View Full Version : Program to retrieve named variables



verticallimit
09-22-2009, 11:19 AM
We are a group of people who work on a MD-80 simpit project.
Link to our Forum (http://www.md80project.dk/portal/forum_topic.asp?TOPIC_ID=45&FORUM_ID=6&CAT_ID=1&Forum_Title=%28UK%29+MD-80+%28Homebuild%29+Hardware&Topic_Title=Maddog+IOC+Server+draft+description)

We want to retrieve data from Leonardos Maddog to our simpit.

Does anyone have a server application or similar program that can retrieve the following data out of FS.

Some of the named variables

// CM2 altimeter
ID CM2_alt_needle1_id; // alt needle
ID CM2_alt_needle2_id; // bug bianca
ID CM2_alt_needle3_id; // bug gialla
ID CM2_alt_knob1_id; // baro knob
ID CM2_alt_adv1_id; // led off
ID CM2_alt_event_id; // baro setting
// variabili passate dal CM-1 al CM-2 in multicrew
register_var_by_name( &md_flight_mode, TYPE_UINT32, MD_FLIGHT_MODE );
register_var_by_name( &md_airspeed, TYPE_FLOAT64, MD_AIRSPEED );
register_var_by_name( &md_groundspeed, TYPE_FLOAT64, MD_GROUNDSPEED );

Thise data is normal used to control the Maddog Virtual cockpit.