Hello Pete,
I am using the german version of FSX and FSUIPC 4.01.
Please take care: I have problem writing 3101 (not 3102).
While build the log file I got logging parts like the following.
It looks like the toggle 'command' is given on each write of '1' ?
99594 WRITE0 3103, 1 bytes: 01 .
99594 *** EVENT: Cntrl= 66293 (0x000102f5), Param= 0 (0x00000000) TOGGLE_AVIONICS_MASTER
99641 SimRead: 2E80="AVIONICS MASTER SWITCH", INT32=0, FLT32=0, FLT64=1.5215e-311, Other=[00, 00 00 00]
99641 SimRead: 3103="AVIONICS MASTER SWITCH", INT32=0, FLT32=0, FLT64=0, Other=[00, 00 00 00]
101516 WRITE0 3103, 1 bytes: 01 .
101531 *** EVENT: Cntrl= 66293 (0x000102f5), Param= 0 (0x00000000) TOGGLE_AVIONICS_MASTER
101578 SimRead: 2E80="AVIONICS MASTER SWITCH", INT32=1, FLT32=1.4013e-045, FLT64=1.5215e-311, Other=[01, 00 00 00]
101578 SimRead: 3103="AVIONICS MASTER SWITCH", INT32=1, FLT32=1.4013e-045, FLT64=4.9407e-324, Other=[01, 00 00 00]
103234 WRITE0 3103, 1 bytes: 01 .
103234 *** EVENT: Cntrl= 66293 (0x000102f5), Param= 0 (0x00000000) TOGGLE_AVIONICS_MASTER
103297 SimRead: 2E80="AVIONICS MASTER SWITCH", INT32=0, FLT32=0, FLT64=1.5215e-311, Other=[00, 00 00 00]
103297 SimRead: 3103="AVIONICS MASTER SWITCH", INT32=0, FLT32=0, FLT64=0, Other=[00, 00 00 00]
104859 WRITE0 3103, 1 bytes: 01 .
104875 *** EVENT: Cntrl= 66293 (0x000102f5), Param= 0 (0x00000000) TOGGLE_AVIONICS_MASTER
104922 SimRead: 2E80="AVIONICS MASTER SWITCH", INT32=1, FLT32=1.4013e-045, FLT64=1.5215e-311, Other=[01, 00 00 00]
104922 SimRead: 3103="AVIONICS MASTER SWITCH", INT32=1, FLT32=1.4013e-045, FLT64=4.9407e-324, Other=[01, 00 00 00]
108359 WRITE0 3101, 1 bytes: 01 .
108359 *** EVENT: Cntrl= 66363 (0x0001033b), Param= 0 (0x00000000) TOGGLE_ALTERNATOR1
108422 SimRead: 3101="GENERAL ENG MASTER ALTERNATOR:1", INT32=0, FLT32=0, FLT64=2.0392e-311, Other=[00, 00 00 00]
110031 WRITE0 3101, 1 bytes: 01 .
110047 *** EVENT: Cntrl= 66363 (0x0001033b), Param= 0 (0x00000000) TOGGLE_ALTERNATOR1
110094 SimRead: 3101="GENERAL ENG MASTER ALTERNATOR:1", INT32=1, FLT32=1.4013e-045, FLT64=2.0392e-311, Other=[01, 00 00 00]
111656 WRITE0 3101, 1 bytes: 01 .
111656 *** EVENT: Cntrl= 66363 (0x0001033b), Param= 0 (0x00000000) TOGGLE_ALTERNATOR1
111719 SimRead: 3101="GENERAL ENG MASTER ALTERNATOR:1", INT32=0, FLT32=0, FLT64=2.0392e-311, Other=[00, 00 00 00]
113375 WRITE0 3101, 1 bytes: 01 .
113391 *** EVENT: Cntrl= 66363 (0x0001033b), Param= 0 (0x00000000) TOGGLE_ALTERNATOR1
113438 SimRead: 3101="GENERAL ENG MASTER ALTERNATOR:1", INT32=1, FLT32=1.4013e-045, FLT64=2.0392e-311, Other=[01, 00 00 00]
I send the values (for this logfile above) using FS Interrogate; my hardware cyclic set the value (depending on status of hardware switches) a few times per second. In both cases I see the switches toggle in FSX.
Does it help you?
Regards
Uli