Page 1 of 1

LabVIEW Position Data

Posted: Thu Jul 02, 2015 6:43 am
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

Re: LabVIEW Position Data

Posted: Wed Jul 08, 2015 10:53 am
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

Re: LabVIEW Position Data

Posted: Wed Aug 05, 2015 11:41 am
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.

Re: LabVIEW Position Data

Posted: Tue Jul 25, 2017 11:15 pm
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.