Pat Dotson Posted October 5, 2006 Report Posted October 5, 2006 Working in VB .NET... After calling a read function and a process function in FSUIPC Shell, where is the read offset value stored? I worked with the VB .NET example in the FSUIPC SDK last night. The app seemed to be talking properly with FSUIPC, but I couldn't figure out how to retreive the offset value after doing the read. Also, what's the proper method for passing the offset variables to the read function? Example code is appreciated! Thanks, Pat Dotson
cknipe Posted October 6, 2006 Report Posted October 6, 2006 You have to call Process()... FSUIPCConnection.Open() Dim airSpeed As Offset(Of Integer) = New FSUIPC.Offset(Of Integer)(&H2BC) FSUIPCConnection.Process() Me.txtIAS.Text = airpeedKnots.ToString() FSUIPCConnection.Close() Something to that effect...
Pat Dotson Posted October 9, 2006 Author Report Posted October 9, 2006 I was able to do what I needed using FSUIPC and the FSUIPC VB .NET library created by Paul Henty. Coding using the VB .NET library and example is a piece of cake. You can even download an "Express" version of Visual Studio VB from Microsoft for free! I was able to get FS9 talking to my motion control hardware within an hour or two. After about six hours of work total I had everything working satisfactorily. Thanks Paul and Pete for all your work! Pat Dotson
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