Page 1 of 1

events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/V/S

Posted: Fri Dec 12, 2014 6:02 am
by vpiragibe
Hello Roark.

By any chance do you have, or can get the referred events-controls numbers?

Regards

Vicente

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Fri Dec 12, 2014 10:01 am
by mvr1918
Hi,

The lists of PMDG SDK Events and Variablables where parts of the OC4BA setup programs. They should be in your SIOC folder after you runned the Setups.

Roar

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Fri Dec 12, 2014 11:53 am
by vpiragibe
Hello Roark.

What I am looking for is the offset for the MCP "HDG annun..xxx" , the "TRK annun ..xx " and so on..

I am looking for the annun that goes inside the Speed window, heading window and Vertical speed window.

I had a look at the offset list , however did not find it.

Let me know if you need more info, OK?

Regards

Vicente

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Fri Dec 12, 2014 3:54 pm
by mvr1918
Hi


// MCP - Variables
1369 float MCP_IASMach; // Mach if < 10.0
1370 bool MCP_IASBlank;
1371 unsigned short MCP_Heading;
1372 unsigned short MCP_Altitude;
1373 short MCP_VertSpeed;
1374 float MCP_FPA;
1375 bool MCP_VertSpeedBlank;

They should all be in your SIOC/SIOC offsets for VARS.txt file.

Reading these SIOC variables will give you the values for IAS, ALT, etc.

It was these you where looking for?

Roar

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Sat Dec 13, 2014 11:54 am
by vpiragibe
Hello Roark.

As I have a self made MCP, I am looking for the little simbols ( IAS or MACH ) Speed or Mach that goes on the left side of the Speed window signaling which type of digit number is shown.

The same applies for the Heading-track window ( HDG or TRK )

As well for the Vertical speed window ( V/S or FPA )

Regards

Vicente

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Sat Dec 13, 2014 4:39 pm
by mvr1918
Hi,

There are no specific variables for these states.

There are these Events to toggle switches
2542 EVENT MCP_HDG_TRK_SWITCH
2546 EVENT MCP_IAS_MACH_SWITCH
2557 EVENT MCP_VS_FPA_SWITCH

and these Variables telling it has been pushed

1409 IAS_MACH_Toggle_Sw_Pushed;
1410 HDG_TRK_Toggle_Sw_Pushed;
1411 VS_FPA_Toggle_Sw_Pushed;

AS the MCP always start up with IAS, HDG and VS
you can make a script that handles the real time status and show that status to an annunciator.

E.g.

Define a SIOC variable Flag for each symbol. It start with an 0 and are toggled for each Event.
Roar

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Fri Dec 26, 2014 12:13 pm
by vpiragibe
Hello Roar

My knowledge is very limited in this field. I have tried some versions, but no avail.

Do you mind to write one little script for me? For the Heading only, so I can use for the others too.

Thank you

Vicente

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Tue Jan 06, 2015 6:40 pm
by mvr1918
Hi,

Sorry for not answering this before, but I have been to busy with too many things lately.

At this time I really do not have time .

Maybe someone else here at the forum could help you out.

Roar

Re: events- controls for MCP digits HDG/TRK, IAS/MACH, FPA/

Posted: Sun Jan 11, 2015 12:54 pm
by vpiragibe
Hello Fellow simmers.

Does anybody knows how to write this small script? I've tried several ones, however no joy...

Any help is very much appreciated.

Safe Flight

Vicente