Jump to content
The simFlight Network Forums

Recommended Posts

19 minutes ago, yindengxie said:

The above-mentioned is the weather part of my program.

So you are setting Global weather mode and the same Metar 100 times a second, and then wondering why P3D doesn't get time to change?

Just set Global once and only set weather when it changes. There's no sense in simply looping forever setting the same thing and certainly not 100 times a second forever!

Pete

 

 

Link to post
Share on other sites

 uint16 TxValue = 0x0005; //NW_GLOBAL

FSUIPC_Write(0xC800, 2, (BYTE *)&TxValue, &dwResult);

FSUIPC_Process(&dwResult);

 while (1)
 {
  Sleep (10); 

  LatBig = (_int64) ((LatYin * 10001750.0 * 65536.0 * 65536.0)/90.0);
  if (!FSUIPC_Write(0x0560, 8, &LatBig, &dwResult))  printf("Latitude Write Error! \n");
 
  LonBig = (_int64) ((LonYin * 65536.0 * 65536.0 * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x0568, 8, &LonBig, &dwResult)) printf("Longitude Write Error! \n");
 
  AltBig = (_int64) (AltYin*65536*65536);
  if (!FSUIPC_Write(0x0570, 8, &AltBig, &dwResult)) printf("Altitude Write Error! \n");
 
  Pitch = long ((PitchYin * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x0578, 4, &Pitch, &dwResult)) printf("Pitch Write Error! \n");
 
  Bank = long ((BankYin * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x057C, 4, &Bank, &dwResult)) printf("Bank Write Error! \n");
 
  Heading = long ((HeadingYin * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x0580, 4, &Heading, &dwResult)) printf("Heading Write Error! \n");
 
  sprintf(TxBuffer, "GLOB METAR 101208Z 27055KT +VCTSRA"); 
  FSUIPC_Write(0xB000, strlen(TxBuffer)+1, (void *)TxBuffer, &dwResult);

  FSUIPC_Process(&dwResult);
}//while 
 

Link to post
Share on other sites

Hello Pete,

My program and the FSUIPC6.log are as follows.

But the weather has not any change.

THANKS!

Dengxie

===================================================

uint16 TxValue = 0x0005; //NW_GLOBAL

FSUIPC_Write(0xC800, 2, (BYTE *)&TxValue, &dwResult);

sprintf(TxBuffer, "GLOB METAR 101208Z 27055KT +VCTSRA"); 
FSUIPC_Write(0xB000, strlen(TxBuffer)+1, (void *)TxBuffer, &dwResult);

FSUIPC_Process(&dwResult);

 while (1)
 {
  Sleep (10); 

  LatBig = (_int64) ((LatYin * 10001750.0 * 65536.0 * 65536.0)/90.0);
  if (!FSUIPC_Write(0x0560, 8, &LatBig, &dwResult))  printf("Latitude Write Error! \n");
 
  LonBig = (_int64) ((LonYin * 65536.0 * 65536.0 * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x0568, 8, &LonBig, &dwResult)) printf("Longitude Write Error! \n");
 
  AltBig = (_int64) (AltYin*65536*65536);
  if (!FSUIPC_Write(0x0570, 8, &AltBig, &dwResult)) printf("Altitude Write Error! \n");
 
  Pitch = long ((PitchYin * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x0578, 4, &Pitch, &dwResult)) printf("Pitch Write Error! \n");
 
  Bank = long ((BankYin * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x057C, 4, &Bank, &dwResult)) printf("Bank Write Error! \n");
 
  Heading = long ((HeadingYin * 65536.0 * 65536.0)/360.0);
  if (!FSUIPC_Write(0x0580, 4, &Heading, &dwResult)) printf("Heading Write Error! \n");

  FSUIPC_Process(&dwResult);
}//while 


========================================================

  0 System time = 25/04/2021 18:50:24
        0 FLT path = "C:\Users\Dengxie\Documents\Prepar3D v5 Files\"
        0 Using DialogMode
       16 FS path = "C:\Program Files\Lockheed Martin\Prepar3D v5\"
      125 Controllers are set to ON, using RawInput within P3D
      125 LogOptions=00000000 00000007
      125 -------------------------------------------------------------------
      125 SimConnect_Open succeeded: waiting to check version okay
      125 Opened separate AI Traffic client okay
     6407 Running in "Lockheed Martin® Prepar3D® v5", Version: 5.1.12.26829 (SimConnect: 5.1.0.0)
     6407 Initialising SimConnect data requests now
     6407 FSUIPC Menu entry added
     6422 ... Using Prepar3D with Professional License
     6438 C:\Users\Dengxie\Documents\Prepar3D v5 Files\Lockheed Martin F-35A Lightning II F35 - 2021-03-31 12-29-34.fxml
     6438 C:\Program Files\Lockheed Martin\Prepar3D v5\SimObjects\Airplanes\F-35A\F-35A.air
     6469 ### The user object is 'Lockheed Martin F-35A Lightning II'
     6469 ### Mode is NORMAL
     8422 ### Mode: PAUSE on
    30297 Loading Complete ...
    30313 ### Mode is NORMAL
    30891 Aircraft loaded: running normally now ...
    30938 User Aircraft ID 2 supplied, now being used
    31235 System time = 25/04/2021 18:50:55, Simulator time = 12:00:34 (17:00Z)
    36188 ### Mode: PAUSE on
    38188 -------------------- Starting everything now ----------------------
    39235 WRITE0[10156]  330A,   2 bytes: D2 07                                            ..
    39313 Weather Read request (Nr Station) to area 5: Lat=29.52, Lon=-98.28, Alt=0.0, Req=1
    39344 Weather Received (type 5 request, Nearest): "KRND&A232 000000Z 00000KT&D0NG 27020KT&A1999NG 27025KT&A5999NG 100KM&B-450&D3048 2CU057&CU001FNMN000N 6CI393&CI001FNMN000N 15/05 Q1013 @@@ 73 15 270 20 | 204 15 270 25 | "
    39344 WX Received in (31 mSecs), WX request type 5, Lat=29.5154, Lon=-98.2803, Alt=0.0m
    39344 ***ICAOset = KRND        
    39344 Advanced Weather Interface Enabled
    39375 WRITE0[10156]  8001,  12 bytes: 49 4B 42 33 42 49 36 37 54 43 48 45              IKB3BI67TCHE
    39375 WRITE0[10156]  05DC,   2 bytes: 01 00                                            ..
    39375 WRITE0[10156]  0BC8,   2 bytes: 00 00                                            ..
    39375 WRITE0[10156]  055C,   4 bytes: 00 00 00 00                                      ....
    39375 Setting Position: IAS=0k, OnGround=N, Lat=29.5154, Lon=-98.2803, Alt=769ft, Pitch=0.97, Bank=0.00, Hdg=330.00T
    39375 WRITE0[10156]  0238,   1 bytes: 0C                                               .
    39375 WRITE0[10156]  C800,   2 bytes: 05 00                                            ..
    39375 NW_GLOBAL command, setting weather to global mode
    39375 WRITE0[10156]  B000,  35 bytes: 47 4C 4F 42 20 4D 45 54 41 52 20 31 30 31 32 30  GLOB METAR 10120
    39375                           38 5A 20 32 37 30 35 35 4B 54 20 2B 56 43 54 53  8Z 27055KT +VCTS
    39375                           52 41 00                                         RA.
    39375 Setting Metar: "GLOB METAR 101208Z 27055KT +VCTSRA"
    39391 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    39391 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    39391 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    39391 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    39391 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    39391 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    39391 Weather Mode now = Global
    39391 ### Mode: SLEW on
    39485 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    39485 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    39485 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    39485 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    39485 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    39485 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    39579 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    39579 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    39579 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    39579 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    39579 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    39579 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    39579 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    39579 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    39579 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    39579 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    39579 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    39579 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    39813 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    39813 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    39813 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    39813 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    39813 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    39813 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    39891 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    39891 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    39891 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    39891 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    39891 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    39891 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40000 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40000 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40000 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40000 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40000 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40000 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40063 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40063 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40063 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40063 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40063 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40063 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40110 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40110 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40110 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40110 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40110 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40110 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40141 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40141 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40141 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40141 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40141 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40141 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40188 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40188 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40188 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40188 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40188 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40188 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40219 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40219 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40219 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40219 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40219 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40219 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40235 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40235 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40235 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40235 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40235 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40235 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40266 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40266 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40266 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40266 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40266 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40266 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40297 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40297 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40297 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40297 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40297 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40297 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40313 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40313 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40313 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40313 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40313 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40313 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40329 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40329 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40329 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40329 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40329 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40329 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40344 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40344 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40344 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40344 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40344 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40344 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40360 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40360 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40360 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40360 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40360 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40360 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40360 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40360 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40360 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40360 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40360 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40360 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40375 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40375 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40375 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40375 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40375 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40375 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40391 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40391 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40391 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40391 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40391 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40391 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40407 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40407 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40407 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40407 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40407 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40407 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40547 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40547 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40547 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40547 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40547 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40547 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40563 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40563 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40563 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40563 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40563 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40563 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40563 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40563 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40563 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40563 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40563 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40563 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40579 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40579 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40579 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40579 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40579 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40579 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40594 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40594 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40594 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40594 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40594 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40594 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40594 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40594 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40594 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40594 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40594 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40594 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40610 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40610 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40610 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40610 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40610 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40610 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40625 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40625 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40625 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40625 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40625 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40625 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40641 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40641 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40641 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40641 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40641 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40641 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40641 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40641 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40641 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40641 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40641 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40641 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40657 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40657 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40657 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40657 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40657 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40657 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40672 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40672 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40672 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40672 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40672 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40672 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40672 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40672 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40672 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40672 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40672 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40672 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40688 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40688 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40688 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40688 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40688 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40688 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40704 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40704 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40704 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40704 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40704 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40704 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40704 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40704 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40704 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40704 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40704 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40704 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40719 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40719 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40719 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40719 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40719 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40719 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40735 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40735 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40735 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40735 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40735 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40735 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40750 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40750 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40750 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40750 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40750 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40750 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61                                      '..a
    40750 WRITE0[10156]  0560,   8 bytes: F4 92 D8 3D 20 46 56 00                          ...= FV.
    40750 WRITE0[10156]  0568,   8 bytes: C0 0A D6 65 86 97 12 05                          ...e....
    40750 WRITE0[10156]  0570,   8 bytes: 33 33 4C A6 5E 00 00 00                          33L.^...
    40750 WRITE0[10156]  0578,   4 bytes: 9E 36 DE FE                                      .6..
    40750 WRITE0[10156]  057C,   4 bytes: 8C 08 00 00                                      ....
    40750 WRITE0[10156]  0580,   4 bytes: 27 FD 92 61    

 

 

Link to post
Share on other sites

Now you are constantly asking P3D5 to set its position the aircraft 100 times a second, not giving it any chance ot do anything with the weather in any case. Why are you setting the same position etc 100 times per seocnd?

Try without the rest. Just see if your METAR is accepted by P3D. Do nothing else!

I suspect it won't be regarded as a valid METAR string, so ignore it. But you'll need to check that with a Simconnect log. (You've got FSUIPC weather logging turned off?)

Please do refer back to my suggestions earlier today.

Pete

 

 

Link to post
Share on other sites

Hello Pete,

Just as I told you before, the P3D is used ONLY as VISUAL DISPLAY for 

our simulator. Now our program is CONSTANTLY sending Latitude, Longitude, 

Altitude, Pitch, Bank, Heading through your FSUIPC6 to  P3D !!!!!!!

The above attached log data are taking off for the aircraft.  Our simulator has 

been working  in this way for long time and it has been working very well. NO PROBLEM!

The weather setting of P3D has been a problem  for long time.

   THANKS for your help and supports!

    Dengxie

Link to post
Share on other sites

NOTE: Now our program is CONSTANTLY sending  DIFFERENT Latitude, Longitude, 

Altitude, Pitch, Bank, Heading through your FSUIPC6 to  P3D  100 times a second,

so that the aircraft is moving!

Link to post
Share on other sites
2 minutes ago, yindengxie said:

our simulator. Now our program is CONSTANTLY sending Latitude, Longitude, 

Altitude, Pitch, Bank, Heading through your FSUIPC6 to  P3D !!!!!!!

Maybe, but

1.  Where, in your 10 mSec loop, do the input values get changed?

2. You don't give P3D enough time to change the weather. Try sleeping for a couple or seconds after setting the weather.

I still don't think your METAR is sufficient. You aren't setting any clouds, nor QNH.

As a test of your META string I used this simple Lua plug-in :

ipc.writeUW(0xC800, 5)
ipc.writeSTR(0xB000,"GLOB METAR 101208Z 27055KT +VCTSRA")


At least the METAR was not rejected outright. The sky cleared (of course) and the surface wind was set. Here's the Weather log showing this:

   148188 NW_GLOBAL command, setting weather to global mode
   148188 Setting Metar: "GLOB METAR 101208Z 27055KT +VCTSRA"
   148188 Weather Mode now = Global
   148719 Weather Read request (Global set) to area 1: ICAO="GLOB", Req=0
   148719 Weather Read request (Nr Station) to area 5: Lat=51.47, Lon=-0.46, Alt=0.0, Req=1
   148735 Weather Received (type 1 request, AtStation): "GLOB&A0 101208Z 27055KT&D304NG 100KM&B-1500&D1957 CLR 15/12 Q1013 "
   148735 WX Received in (16 mSecs), WX request type 1, ICAO=GLOB
   148735 >Change:  Surface wind: to alt=1000ft, dir=270T, vel=55.0, gust=0.0, turb=0, shear=0, var=0.0
   148735 >Change:  Wind layer 1: remainder cleared
   148735 >Change:  Visibility[0]: range=62.1sm (100005m), from=-4920ft, to=1500ft
   148735 >Change:  Cloud[0]: remainder cleared
   148735 >Change:  Temperature[0]: alt=0ft, Day=15.0 C, NightVar=0.0 C, DewPt=12.0 C
   148735  Results: FS98 Wind0: ground (82ft) to 915ft AGL, dir 269M, vel 55, gust 0, turb 0
   148735  Results: FS98 Wind1: 0ft to 0ft AMSL, dir=0T, vel 0, gust 0, turb 0
   148735  Results: FS98 Wind2: 0ft to 0ft AMSL, dir=0T, vel 0, gust 0, turb 0
   148735  Results: FS98 AmbientWind at PlaneAlt=92: dir 270M, vel 55
   148735  Results: FS98 Cloud1: type=0, from 0ft to 0ft (+/- 0ft), cover 0, turb 0, ice 0
   148735  Results: FS98 Cloud2: type=0, from 0ft to 0ft (+/- 0ft), cover 0, turb 0, ice 0
   148735  Results: FS98 Temp0: to 80ft, Day 15.0C, NightVar 0.0C
   148735  Results: FS98 CurrTemp at PlaneAlt=92: 41C

Please ignore the label "FS98". that's referring to the setting of the old (since FS98) offsets in FSUIPC.

As I said earlier, I'm not sure what +VCTSRA means, but without clouds i cannot see how you expect thunder? However, the Sim is put into Global weather mode, and the surface wind you requested has been set.

6 minutes ago, yindengxie said:

NOTE: Now our program is CONSTANTLY sending  DIFFERENT Latitude, Longitude, 

Altitude, Pitch, Bank, Heading through your FSUIPC6 to  P3D  100 times a second,

But how, in that loop, are those variables being changed? In other threads?

I still think you may need to allow a little time for the chnge in weather. However, have you bothered to check the Wind afterwars. When you say "no change in weather", what are you starting with?

Pete


 

Link to post
Share on other sites

Hello Pete,

According to your suggestion, I do the following program test, the weather has not any change for

our required setting. 

===================================================

uint16 TxValue = 0x0005; //NW_GLOBAL

FSUIPC_Write(0xC800, 2, (BYTE *)&TxValue, &dwResult);

sprintf(TxBuffer, "GLOB METAR 101208Z 27055KT +VCTSRA"); 
FSUIPC_Write(0xB000, strlen(TxBuffer)+1, (void *)TxBuffer, &dwResult);

FSUIPC_Process(&dwResult);

 while (1)
 {
  Sleep (10);

}

Link to post
Share on other sites

 

5 minutes ago, yindengxie said:

Hello Pete,

The following setting of weather can work on P3D. 

 sprintf(TxBuffer, "GLOB 102308Z 27015KT 7SM +RA HZ TS FG DZ +UP BKN055CB 30/17 A2974");

but  the following setting of weather can NOT work on P3D. 

sprintf(TxBuffer, "GLOB METAR 101208Z 27055KT +VCTSRA"); 

 ==================================================

I do not know why?

THANKS!

Dengxie

 

 

Link to post
Share on other sites
8 minutes ago, yindengxie said:

According to your suggestion, I do the following program test, the weather has not any change for

our required setting. 

And you desire no clouds, something unexplained called +VCTSRA, and a surface wind of 55 knots at 270?

Because from your METAR that's what I get. Where's the log entries corresponding to those I showed you?

1 minute ago, yindengxie said:

The following setting of weather can work on P3D. 

 sprintf(TxBuffer, "GLOB 102308Z 27015KT 7SM +RA HZ TS FG DZ +UP BKN055CB 30/17 A2974");

but  the following setting of weather can NOT work on P3D. 

sprintf(TxBuffer, "GLOB METAR 101208Z 27055KT +VCTSRA"); 

 ==================================================

I do not know why?

See my previous replies. I get the clear sky and the wind you set. I don't get +VCTSRA whatever that is.

This is going around in circles. You are simply not help me to help you. I'm off-line now till tomorrow afternoon.

Pete

 

Link to post
Share on other sites

Pete: I still don't think your METAR is sufficient. You aren't setting any clouds, nor QNH.

Dengxie: Maybe METAR must be combined into some formats, P3D can ONLY  work in the combined weather way. 

Link to post
Share on other sites
3 minutes ago, yindengxie said:

Dengxie: Maybe METAR must be combined into some formats, P3D can ONLY  work in the combined weather way. 

Sorry, I don't understand what you mean there, at all. Why haven't you explained "+VCTSRA"?  Why haven't you checked whether your Wind value has been set, as it has here? Did you not see the sky clear?

Why do you not answer any questions?  I just cannot help you without some help from you!

I suggest you check the METAR formats acceptable to P3D's SimConnect.  FSUIPC has some fairly complex code it has to use to make the correct METAR strings from the NWI binary data interface. It was far from an easy job -- SimConnect has peculiar ways.  And the weather reading format is different from the weather setting format. Most annoying.

Try WeatherSet2 as I suggested a long time ago.  I think the logging of Weather (which you inexplicably haven't bothered to show me) might show the METAR strings FSUIPC generates from the data you set in that program. And it works.

Anyway, this is definitely all from my till tomorrow afternoon, earliest.

Pete

 

Link to post
Share on other sites

Hello Pete,

Thank you very much for your patient help and support.

1) "+VCTSRA means severe thunderstorm with rain in the vicinity."
   it is cited from METAR Data Format of P3D.

2) I do not know how to set WeatherSet2 without reference document.
   Can you give me a sample WeatherSet2 setting?

3) Today I do the the following test: It is not necessary to set the following 
   two lines at initiation.

   uint16 TxValue = 0x0005; 
   FSUIPC_Write(0xC800, 2, (BYTE *)&TxValue, &dwResult);
   FSUIPC_Process(&dwResult);

   I only insert the following three lines on the my loop program, no problem. The weather 
   settings work very well on P3D. 

 
   sprintf(TxBuffer, "GLOB METAR 27015KT 7SM +RA HZ TS FG DZ +UP BKN055CB 30/17 A2974");
   FSUIPC_Write(0xB000, strlen(TxBuffer)+1, (void *)TxBuffer, &dwResult);
   FSUIPC_Process(&dwResult);

4) I feel that the METAR data format must follow certain weather sequences and combinations
   so that P3D can correctly recognize and decode the METAR data format to set the weather 
   conditions we expect.
   
Best Regards!

Dengxie 
 

Link to post
Share on other sites
1 hour ago, yindengxie said:

1) "+VCTSRA means severe thunderstorm with rain in the vicinity."
   it is cited from METAR Data Format of P3D.

I couldn't find it initially, but here it is:

IDDPP
 
where:
I - Intensity or vicinity flag:. -, + or VC. - means light, + means severe, and VC means vicinity. The + and - can be combined with VC. Leave out a + or - to mean moderate.
 
For example: +VCTSRA means severe thunderstorm with rain in the vicinity.

 
However, won't that also need some cloud?

1 hour ago, yindengxie said:

2) I do not know how to set WeatherSet2 without reference document.
   Can you give me a sample WeatherSet2 setting?

Run it and it will display the weather data. Click on fields to change them. What it can do is described in the Text document also included in the ZIP.  No one else has ever needed more help.

1 hour ago, yindengxie said:

4) I feel that the METAR data format must follow certain weather sequences and combinations
   so that P3D can correctly recognize and decode the METAR data format to set the weather 
   conditions we expect.

All FSUIPC does is call the SetObservation function is SimConnect, passing on the string you provide. It does not process that META itself. It will receive back the METAR as understood and implemented by SimConnect. For example, in the log extract I showed you, using my simple Lua plug-in test:

   148188 NW_GLOBAL command, setting weather to global mode
   148188 Setting Metar: "GLOB METAR 101208Z 27055KT +VCTSRA"
   148188 Weather Mode now = Global
   148719 Weather Read request (Global set) to area 1: ICAO="GLOB", Req=0
   148719 Weather Read request (Nr Station) to area 5: Lat=51.47, Lon=-0.46, Alt=0.0, Req=1
   148735 Weather Received (type 1 request, AtStation): "GLOB&A0 101208Z 27055KT&D304NG 100KM&B-1500&D1957 CLR 15/12 Q1013 "
 

I've highlighted the METAR sent, and the one it resulted in within P3D.  Your original METAR generated the surface wind of 55k at 270, as I said but the rest was obtained from the general GLOB default.

I think you really just need to get a METAR together which is meaningful. Without clouds at specific altitudes I can't see how you can get severe thunderstorms and rain. You need some CB surely?

Pete

 

Link to post
Share on other sites

Oh, one other thing. I'm guessing also that "VC" for "vicinity" is a bit meaningless for GLOBal weather. Global means the weather everywhere in the world, there's no localisation.

For local weather changes you need to look at setting weather for specific weather stations, those around you as you travel. The specific weather at the aircraft will be derived from those by interpolation. The GLOBAL mode is primarily used for exact control at the aircraft for flight training purposes.

Also, you might want to consider setting the DYNAMICS value so there's no delay with changes you make.

Pete

 

Link to post
Share on other sites

One clarification in my reply about WeatherSet2: to make changes on an entry, or to add more layers, click on the field to be entered or changed and press ENTER. You'll get a little window in which you can enter all the details for that element of weather.

Note also that if you select GLOB as the ICAO in the top right field, and the File menu mode is set to autorefresh, then the display will alternate between the weather at your current position and the GLOB weather.  This won't happen in GLOBal mode.

GLOBal mode will be set automatically if you make a change after setting GLOB. (And I think there's a bug in that it won't switch out of GLOBal mode once you do that -- you'd need to change out of that in P3D by selecting a theme or real weather).

Pete

 

 

Link to post
Share on other sites

Hello Pete,

Thank you very much for your detailed explanation.

It seems that MEATAR weather settings are a bit complicated in FSUIPC6. We cannot individually

set rain, snow, and thunder, and we must have a combination of rain or snow or thunder to meet their

corresponding weather conditions.  Only in this way can P3D recognize and decode correctly, to change

weather. For examples:

sprintf(TxBuffer, "GLOB METAR RA"); // Rail does not work

sprintf(TxBuffer, "GLOB METAR SN"); //Snow does not work 

sprintf(TxBuffer, "GLOB METAR 27015KT 7SM +RA HZ TS FG DZ +UP BKN055CB 30/17 A2974");  // Rain work well

---------------------------------------------------------------------------------------------------------------

THANKS and Best Regards!

Dengxie

Link to post
Share on other sites
3 minutes ago, yindengxie said:

t seems that MEATAR weather settings are a bit complicated in FSUIPC6.

It isn't FSUIPC6. Your METAR is merely sent to P3D.

It was complicated to implement the biary structure interface for FSUIPC as well. A proper METAR string has to be formed every time. To change only parts of the weather it has to read the current METAR, make the change in that, and send it back. In normal localised weather modes that involves realing with up to 9 weather stations around the aircraft!

Ask folks like HiFi Simulations, authors of the best weather setting program out there (ActiveSky) how "easy" it is!

7 minutes ago, yindengxie said:

sprintf(TxBuffer, "GLOB METAR RA"); // Rail does not work

sprintf(TxBuffer, "GLOB METAR SN"); //Snow does not work 

sprintf(TxBuffer, "GLOB METAR 27015KT 7SM +RA HZ TS FG DZ +UP BKN055CB 30/17 A2974");  // Rain work well

Of course. Rain and Snow need cloud!!! I keep telling oyu this. you must add a cloud layer if you want precipitation etc.  Sorry, but I would have thought that was obvious1

Pete

Link to post
Share on other sites

It must have some good ways to set the METAR weather in your FSUIPC6.
OpusFSI Flight Simulator Interface for P3D may be to use your FSUIPC to

set various weather conditions for P3D. It works very well!

Link to post
Share on other sites
27 minutes ago, yindengxie said:

It must have some good ways to set the METAR weather in your FSUIPC6.
OpusFSI Flight Simulator Interface for P3D

Well, yes -- a lot of complicated work, indeed.

51 minutes ago, yindengxie said:

THANKS for your help and support!

Okay. Hope you can move on with your project now.

Pete

 

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.