Setting lightsI am looking through the SimConnect variables, and I see that all of the lights data is unsettable. Is there any way that can be controlled from a SimConnect client?<br><br>Thanks, © 2009 Microsoft Corporation. All rights reserved.Sun, 10 May 2009 08:16:30 Z6656f0ef-e6f6-45d4-83d3-05ac88e978cchttp://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#6656f0ef-e6f6-45d4-83d3-05ac88e978cchttp://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#6656f0ef-e6f6-45d4-83d3-05ac88e978ccPittsburghhttp://social.msdn.microsoft.com/Profile/en-US/?user=PittsburghSetting lightsI am looking through the SimConnect variables, and I see that all of the lights data is unsettable. Is there any way that can be controlled from a SimConnect client?<br><br>Thanks, Tue, 30 Sep 2008 18:20:30 Z2008-09-30T18:20:30Zhttp://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#afcc7279-0b74-43c6-a62c-d177df158503http://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#afcc7279-0b74-43c6-a62c-d177df158503Tim Gregson [MSFT]http://social.msdn.microsoft.com/Profile/en-US/?user=Tim%20Gregson%20%5bMSFT%5dSetting lights Hi Pittsburgh,<br><br>You have to use the <a href="http://msdn.microsoft.com/en-us/library/cc526983.aspx#SimConnect_TransmitClientEvent">SimConnect_TransmitClientEvent</a> function (with appropriate mapping and whatnot that the event system requires, check out the Event samples in the SDK).  And see the <a href="http://http://msdn.microsoft.com/en-us/library/cc526980.aspx#AircraftLightsIDs">Aircraft Lights</a> section of the Event IDs list.<br><br>Tim<hr size="1" align="left" width="25%">http://beatlesblog.spaces.live.com/Wed, 01 Oct 2008 04:41:47 Z2008-10-01T04:41:47Zhttp://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#f4ecf77f-6cf1-4eaa-b43e-7d4a375f29behttp://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#f4ecf77f-6cf1-4eaa-b43e-7d4a375f29beMOV_RShttp://social.msdn.microsoft.com/Profile/en-US/?user=MOV_RSSetting lights Hi.<br><br>We are also using the Light variables, and we are having some problems.<br><br>in fact we are using the SimConnect_AddToDataDefinition function.<br><font size=2> <p>hr = SimConnect_AddToDataDefinition(hSimConnect, DEFINITION_2, </font><font color="#800000" size=2><font color="#800000" size=2>&quot;Light Strobe&quot;</font></font><font size=2>,</font><font color="#800000" size=2><font color="#800000" size=2>&quot;Bool&quot;</font></font><font size=2>); </font><font color="#008000" size=2><font color="#008000" size=2>//<br><br><font color="#000000">and to set the variable to &quot;0&quot; or &quot;1&quot; as our hardware need we are using SimConnect_SetDataOnSimObject as in the next line.<br></font><br><font size=2></p> <p><font color="#000000">SimConnect_SetDataOnSimObject(hSimConnect, DEFINITION_2,SIMCONNECT_OBJECT_ID_USER,0,0,</font></font><font size=2><font color="#000000" size=2>sizeof</font></font><font size=2><font color="#000000">(EstructuraDeSalida),&amp;EstructuraDeSalida);</font></p> <p><font color="#000000">This are working well in most of the Light variables like in Strobe, Nav, Panel, Cabin etc, Less in the Taxi variable.<br><br>if I try to set the Taxi variable to any value I have also the same problem. Exception = 20<br><br>Do you know what coul be the problem??<br><br>Thanks<br>Manuel</font></font></p></font></font>Thu, 30 Oct 2008 11:58:15 Z2008-10-30T11:58:15Zhttp://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#d779d608-1d62-455c-9702-63821de0abd4http://social.msdn.microsoft.com/Forums/en-US/ESP/thread/6656f0ef-e6f6-45d4-83d3-05ac88e978cc#d779d608-1d62-455c-9702-63821de0abd4Pittsburghhttp://social.msdn.microsoft.com/Profile/en-US/?user=PittsburghSetting lightsProbably a little late, but I think that is because the taxi lights have toggle events only. I don't think you can specifically set them like you can the strobes, as an example.Sun, 10 May 2009 08:16:30 Z2009-05-10T08:16:30Z