Jump to content
The simFlight Network Forums

Recommended Posts

Posted

I have two Offsets,

Heading Dec 0x110B0

Heading Inc 0x110B1

How to send as normal axis to sim in vb.net ?

 

Thanks

 

Posted
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

 

Posted

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

Posted
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.

Posted

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

 

Posted

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....
 

Posted

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

Posted

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

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use. Guidelines Privacy Policy We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.