Hi Pete,
we have once some some problems with setting weahter in FS2004 using the new Weather Interface.
We Have 3 Buttons (Clear-WX-Button, Set-WX1, Set-WX2).
The Clear-Button works very fine. We send the command NW_CLEAR, set uDynamics to Zero and chICAO to "GLOB".
The Buttons Set-WX1 and Set-WX2 should put som clouds on the sky and should change the visibility. Therefore we set uDynamics to 0, chICAO to "GLOB" and as uCommand is used NW_SETEXACT. We use this command because we first read out a valid weather and do our changes there. So NW_SETEXACT should be no problem.
Now the misterious situation:
If we first click the Clear-WX-Button, the weather is cleared. If we then click within 10 seconds later one of the WX-Set-Buttons, the weather is set as we wanted to.
But if we first click one of the Set_WX-Buttons, the weather does not change. But if we take a look in the FS2004 Weather config page, then we can see that our weather is in there. If we leave the config page by clicking OK, our new weather is set.
Do you know why the Weather-setting works when we cleared the weather a few seconds before, but it not works without clearing the weather via fsuipc? There must be a simple reason why our new weather is not yet activated.
Hope you can give us a hint...
Best regards
Andi