These are the Support Forums for FSUIPC and related products.
These forums replace the old support forums which have been running for 20+ years. The old forums contain a wealth of information on all FSUIPC products, but are now no longer available.
Please note that you will need to Register and Login to post for support, and also to download attachments. You can view these forums without registering.
Support is also available via Discord. Please use the following invite link to join the FSUIPC Discord server:
https://discord.gg/zjwUTrxmmE
PMDG event ID not working with SIOC script
Offset 3110 an d 3114 are each 4 bytes long and should be logged as U32 / S32, not S8. This is why you are not seeing the correct value logged. When offset 0x3110 was updated, the corresponding event should have been sent, which you will also see in the log if you set logging for Events.
However, this control was only sent once, as offset 3110 was only updated once. This looks to be an issue with your SIOC script, which I cannot help with.
Later I will check that repeatedly writing the same control number to offset 0x3110 triggers the same event repeatedly. If this is the case, which I am pretty sure is, then the issue is certainly with your SIOC script not updating/writing to offset 3110.
I have checked this here now, without SIOC though. If I assign some buttons on press to set the parameter in 3114, and send the control on release to update offset 3110 with the control number (69967), then the buttons change the display as expected.
BUT, you won't see further logging of offset 3110 as the value hasn't changed (logging only logs changes), but I can confirm that writing to the offset with the same value does trigger the event with the new (or even same) parameter.
Therefore I think your issue is with your SIOC script, not with FSUIPC. Sorry, but I cannot help with this - try SIOC support.
Here's the log when assigned to buttons to change offset 3114 on press and 3110 on release, with one button setting a param of 1 on press (in offset 3114) and custom control 69967 (x1114F) to offset 3110 on release, and the second with a parameter of 2 on press (offset 3114) and the same value (69967) to offset 3110 on release - all of the press/releases change the CDU screens (but note I am using the 737-700 as I don't have the 737-800):
498828 Button changed: bRef=0, Joy=175, Btn=0, Pressed
498828 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 15=P175,0,Cx03003114,x00000001
498828 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3114, Param=x1
498860 Monitor IPC:3114 (S32) = 1
498985 Button changed: bRef=0, Joy=175, Btn=0, Released
498985 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 38=U175,0,Cx03003110,x0001114F
498985 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3110, Param=x1114F
498985 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000000}
499000 Monitor IPC:3110 (U32) = 69967
518938 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000001}
518938 Button changed: bRef=0, Joy=175, Btn=0, Pressed
518938 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 15=P175,0,Cx03003114,x00000001
518938 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3114, Param=x1
519110 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000000}
519110 Button changed: bRef=0, Joy=175, Btn=0, Released
519110 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 38=U175,0,Cx03003110,x0001114F
519110 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3110, Param=x1114F
523313 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000002}
523313 Button changed: bRef=0, Joy=175, Btn=1, Pressed
523328 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 16=P175,1,Cx03003114,x00000002
523328 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3114, Param=x2
523344 Monitor IPC:3114 (S32) = 2
523516 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000000}
523516 Button changed: bRef=0, Joy=175, Btn=1, Released
523516 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 37=U175,1,Cx03003110,x0001114F
523516 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3110, Param=x1114F
525469 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000001}
525469 Button changed: bRef=0, Joy=175, Btn=0, Pressed
525469 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 15=P175,0,Cx03003114,x00000001
525469 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3114, Param=x1
525469 Monitor IPC:3114 (S32) = 1
525688 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000000}
525688 Button changed: bRef=0, Joy=175, Btn=0, Released
525688 [Buttons.PMDG 737-700 PMDG House (N737BW | 2021)] 38=U175,0,Cx03003110,x0001114F
525688 IPC Offsets Control: Ctrl=x0300, Length=4, Offset=3110, Param=x1114F
531219 JoystickValues PCnum=0, dwCount=1, data[2]={000000af 00000002}Also, from your log, there does seem to be an issue:
101328 Monitor IPC:3114 (S8) = 1 102657 Monitor IPC:3114 (S8) = 2 103250 Monitor IPC:3114 (S8) = 3 104063 Monitor IPC:3114 (S8) = 4 105110 Monitor IPC:3114 (S8) = 3 105422 Monitor IPC:3114 (S8) = 2 105657 Monitor IPC:3114 (S8) = 1 418110 Monitor IPC:3110 (S8) = 79
Why is offset 3110 only updated after many changes to offset 3114? They should go together, i.e. offset 3114 updated then offset 3110 to trigger the event. So I would expect something like the following (with your current incorrect logging):
101328 Monitor IPC:3114 (S8) = 1 101428 Monitor IPC:3110 (S8) = 79 102657 Monitor IPC:3114 (S8) = 2 103250 Monitor IPC:3114 (S8) = 3 104063 Monitor IPC:3114 (S8) = 4 105110 Monitor IPC:3114 (S8) = 3 105422 Monitor IPC:3114 (S8) = 2 105657 Monitor IPC:3114 (S8) = 1
When the first write to offset 3110 is done, this will be logged. Subsequent writes should trigger the sending of the event, but will not be logged as offset changes as the value is the same.
You can also set logging for IPC Writes and show me / attach a log file - this will tell me what SIOC is sending to FSUIPC to confirm this. But I am pretty sure this is either an issue in your script or with SIOC.
John, Many thanks for your input. I will try again, logging IPC writes & Events, and attached the file.
