LabVIEW Position Data

NatNet, VRPN, TrackD, and Plugins
Post Reply
saverill24
Posts: 5
Joined: Wed May 20, 2015 5:28 am

LabVIEW Position Data

Post by saverill24 »

Hey,

I have been able to get data streaming from Motive into LabVIEW finally and I can see things like whether or not its recording, how many markers can be seen, and how many rigid bodies, all using the "NatNetClientML" constructor node followed by the appropriate property nodes. I am wondering what nodes I need to set up to get the position data for the markers. I have the "Marker" node set up and when followed by a property node I see fields for "ID", "Size", "X", "Y", and "Z" but no data populates and the ID is "-1" which seems incorrect from what I have found. Does anyone have any advice for how to specifically get the locations of each of the markers with this setup?

P.S. Also most of the time when I follow a constructor with an invoke node it gives me the same 4 useless options of obj, get type, get string (it might be "To string") and Get Hash. This was not the case with NatNetClientML as that is how I was able to connect to the Motive Server (on the same system)

Thank you,
Sean
NaturalPoint-Dustin
Posts: 609
Joined: Tue Mar 19, 2013 5:03 pm

Re: LabVIEW Position Data

Post by NaturalPoint-Dustin »

You might try checking out the old third party TrackingTools LabView project. It uses the TT/Motive API. This would need to be updated for Motive, but might provide insight:

https://decibel.ni.com/content/docs/DOC-9171
Dustin
Technical Support Engineer
OptiTrack | TrackIR | SmartNav
saverill24
Posts: 5
Joined: Wed May 20, 2015 5:28 am

Re: LabVIEW Position Data

Post by saverill24 »

I have updated the file on https://decibel.ni.com/content/docs/DOC-9171 to now have instructions compatible with the new Motive software so people using even the most up-to-date system can now use the method described. Following the instructions I gave, I got the process running on a system with the newest (2014) LabVIEW running in the 2015 NI Development Suite, and the newest version of Optitrack's Motive as well. The software streams marker locations, rigid bodies, frame rate, number of markers, and trackable markers through an easily modifiable program in LabVIEW. From there you can use the data to analyze or even control in real-time whatever system you are developing.
renzo92
Posts: 1
Joined: Wed Jul 12, 2017 9:35 pm

Re: LabVIEW Position Data

Post by renzo92 »

Hi,
I have followed whole steps on https://decibel.ni.com/content/docs/DOC-9171 but still didn't work. The problem is i couldn't successfully import the shared library. Anyone can help me to solve this problem?Or any other suggestions to stream position data to labview?

Thank you.
Post Reply