andycruce Posted October 6, 2016 at 10:59 PM Share Posted October 6, 2016 at 10:59 PM I am new to C# and can't get any of the examples to work. I have copied both the simple access example and the Quaternion Call Back example. Neither of these work for what appears to be different issues. The simple Quaternion access example generates a NotSupportedException when I execute imu.GetQuaternion(out w, out x, out y, out z) All the code is copied from the TinkerForge example, there are no compile errors. The ipcon is properly initialized and the imu object is properly initialized with the proper UID. I've check the IMU UID on using the BrickView app. I also tried the Quaternion Call Back example. This program also complies and shows no errors during execution. However, it appears the QuaternionCB function is never executed. A breakpoint there is never reached and there nothing is printed. The program gets to the Console.ReadLine statement and will exit if a return is entered. In both cases I am using System and Using Tinkerforge. I got the Tinkerforge dll from NuGet. Programs are being run under VS2015 as a console application. Any Suggestions? Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.