My code should only illustrate, that i'm writing exactly what i'm reading.
I did not know about the logging feature, but this is brilliant :)
This should be the relevant part from the log:
Running inside FSX on Windows 8
Module base=0AA90000
1576625 Monitor IPC:311A (U16) = 0x2002
1576625 SimRead: 311A="COM STANDBY FREQUENCY:1"
INT32: 9986 (0x00002002)
1582937 Monitor IPC:311A (U16) = 0x2000
1582937 SimRead: 311A="COM STANDBY FREQUENCY:1"
INT32: 9984 (0x00002000)
1601844 Monitor IPC:311A (U16) = 0x0
To me this shows, that FSUIPC recieves the 0x0, which isn't the value i'm sending from the python code.
Also this point's out, that the problem isn't on the FSUIPC side. So sorry for bothering.
Just for information:
I debugged into the wrapper code, that provides the python interface to FSUIPC. Inside that code, c-strings
are used, to store the bytes that will later be handed over to the write function. My assumption is, that
somewere along the lines, the null-termination of the c-strings strikes, and only the 0x0 is handed over.
I've contacted the developer and will report back, if there is something new.
so long, thanks for your help,
Matthias