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

Forum for the OCP4777X driver that controls PMDG B777X
Post Reply
vpiragibe
Posts: 17
Joined: Mon Jul 21, 2014 4:14 am

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

Post by vpiragibe »

Hello Roark.

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

Regards

Vicente
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

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

Post 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
vpiragibe
Posts: 17
Joined: Mon Jul 21, 2014 4:14 am

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

Post 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
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

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

Post 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
vpiragibe
Posts: 17
Joined: Mon Jul 21, 2014 4:14 am

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

Post 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
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

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

Post 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
vpiragibe
Posts: 17
Joined: Mon Jul 21, 2014 4:14 am

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

Post 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
mvr1918
Site Admin
Posts: 1703
Joined: Thu Aug 30, 2012 3:35 pm

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

Post 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
vpiragibe
Posts: 17
Joined: Mon Jul 21, 2014 4:14 am

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

Post 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
Post Reply