Nach Posted March 15, 2021 Report Posted March 15, 2021 I have two Offsets, Heading Dec 0x110B0 Heading Inc 0x110B1 How to send as normal axis to sim in vb.net ? Thanks
Pete Dowson Posted March 15, 2021 Report Posted March 15, 2021 Just now, Nach said: I have two Offsets, Heading Dec 0x110B0 Heading Inc 0x110B1 They look like custom control numbers. FSUIPC offsets run from 0 to 0xFFFF only and they contain data, they are not actions. Pete
Nach Posted March 15, 2021 Author Report Posted March 15, 2021 They are the offsets provided by Milviz for the MFD of the T38C. He explain that send as normal axis but i don´t know how to send
John Dowson Posted March 15, 2021 Report Posted March 15, 2021 Just now, Nach said: They are the offsets provided by Milviz for the MFD of the T38C. But they are not FSUIPC offsets, as FSUIPC offsets are only up to 0xFFFF, as Pete has said. I think you need to go back to Milviz to clarify.
Pete Dowson Posted March 16, 2021 Report Posted March 16, 2021 Yes, EVENTS as described in the picture you sent! Same as "controls", not offsets as both John and I have already told you! Offsets are data repositories. Events or controls are instigators of actions in the Sim -- those actions you assign to in the Sim or in FSUIPC. You can assign them in FSUIPC as <custom controls>. Enter them as x110B0 and x110B1 (i.e drop the fist 0). Please do read the replies you get here properly. Otherwise we cannot help. Pete
John Dowson Posted March 16, 2021 Report Posted March 16, 2021 i am not sure why you are showing us documentation from another product... As Pete has said, they look like control numbers, and not offsets. I don't know what they mean by 'must be sent to the simulator as a normal axis' though. You can see if thats the case by assigning a button or key (in FSUIPC) to the <custom Control> menu item (in the FSUIPC assignments dialog, giving the control number that you want to use. Why don't you first try this to see if they work? Then, of you want to send them from your vb.net application, which is presumably an FSUIPC client (otherwise why ask here!), you can use the general control offset at 0x3110. I see Pete has also replied....
Nach Posted March 16, 2021 Author Report Posted March 16, 2021 I'm really sorry for not being an expert or explaining myself badly. Could you tell me how I can use the general offset control at 0x3110 with vb.net? Thanks
Paul Henty Posted March 18, 2021 Report Posted March 18, 2021 Hi Nach, You can just the the helper method below. This uses offset 0x3110 behind the scenes but is easier to use: FSUIPCConnection.SendControlToFS(c,p) where c is the control number and p is the parameter value you want to write to that control. If the control doesn't need a parameter just pass 0. Paul
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now