You are correct in that I was treating the offsets as true memory locations! I guess writing to an offset is more like passing parameters to a function call.
A few questions please:
It looks like FSUIPC does some checking to make sure values, like a Com radio frequency, is valid when you attempt to write to the offset. Are invalid values just ignored?
What is the minimum delay ( using ipc.sleep, I assume) must there be between successive writes, or a read and a write, when updating a radio's displayed frequency ( e.g., at offset 0x311A for Com_1)? Is there a typical delay value to use for repeated access to most offsets?
Where can I find out which offsets require a delay after accessing them?
What is the size of the variable ipcPARAM, 32 bits?
On a control like the standby frequency swap for Com2, ipc.control(66444,1), where can I find out what the 1 does?
ADF frequencies involve 2 offsets. Can these be updated independently (i'm trying to update the displayed ADF freq digit by digit as each new digit is entered on the numpad). It seems sometimes writing to the 2nd (higher) offset, which should only effect the first and last ADF digits, also causes a change in the middle digits assocaited with the lower offset.
Finally, where could I have looked up the answers to these questions for myself?
I am new to FDUIPC and Lua scripts. I apoligize for these basic questions and appreciate your help and patience.
Al