07-19-2012 10:41 PM
hi people, i'm currently doing a project , using sparkfun 9DOF to sense the motion of its roll pitch and yaw, displaying the figures in labview.
however, i don't know how the connection of the yaw pitch and roll would be.
can anyone guide me on how should i connect it in order to show its yaw pitch and roll ?
thanks alot 😃
Solved! Go to Solution.
07-24-2012 04:25 AM
Hi Sze,
You can have a look at this example code for a starters:
Taken from this community page
Br,
/Roger
07-24-2012 04:45 AM
i did smth like this , but when i run it, it doesnt seems to read the data from my imu sparkfun 9DOF =(
is there something wrong with this ?
07-24-2012 04:47 AM
Hi Sze,
You need to open the com port to read from the IMU. Check my example code and go from there.
Br,
/Roger
07-24-2012 08:52 PM
means i have to insert the visa serial into my block diagram ?
07-25-2012 02:20 AM
Hi Sze,
Download the example IMU program from this community page:
https://decibel.ni.com/content/docs/DOC-14911
Then open up the labview project called:
IMUexample.lvproj
And double click the VI called
TestVISerialIMU.vi
Then you can start experiment with the program/project that looks like this:
The "Mode Select" can you use to change between reading from a prerecorded text file or to read from the VISA serial.
Hope this helps? 🙂
Br,
/Roger
07-26-2012 10:15 PM
i tried doing the same thing for this, however, i cant get this control
can you explain to me how this control work and what is it ?
thanks so much !
you really helped me alot.
07-27-2012 04:28 AM
Hi again,
Those 'property nodes' will reset/remove/clear the values stored in the graph that display the IMU data. It does that by inputting an empty array, thus the graph buffer will be empty.
It is good practise to reset/remove/clear graphs when the program start to run,
Br,
/Roger
07-31-2012 02:27 AM
my supervisor wanted me to add a altitude indicator onto my project .
can i know how i should connect it ?
07-31-2012 12:13 PM
Hi again Sze,
Attached an example of a artificial horizon to your VI. See if it works for you.
Br,
/Roger