Thank you for your answer. I tried to check follow your advice.That work with with Beech baron58 from fsx.I can get value from Gear status ,Nav Light, etc and control Gear Up and down , Nav Light on/off.
after that i check value from 737ngx. I can get value from offset 642F LTS_DomeWhiteSw yes!! that's work but i cannot send value to change switch position from 0=DIM to 1=OFF by code
private Offset<byte> DimLight = new Offset<byte>(0x642F,true);
....
private void btnlight_Click(object sender, EventArgs e)
{
try
{
DimLight.Value = 1;
FSUIPCConnection.Process();
}
catch (Exception ex)
{
MessageBox.Show(ex.Message, AppTitle, MessageBoxButtons.OK, MessageBoxIcon.Error);
}
}
I read offset mapping for pmdg 737ngx.pdf. and put
[sDK]
EnableDataBroadcast=1 in 737NGX_Options.ini already
1. in document wrote"All offsets are READ ONLY" that's mean I can't control back to "LTS_DomeWhiteSw"?
2.Can i use C# 2010 to control that?
3.I cannot find PMDG_NGX_SDK.h in sdk folder this folder have only NewWeather.h. find wrong folder?
thank you for your advice again.