Page 1 of 1

NatNet and LabVIEW

Posted: Fri Jul 24, 2020 3:28 am
by leon42
I have managed to create a NatNet LabVIEW application using the .NET NatNetML libraries and callbacks. I am streaming the data from Motive.

In motive I have one asset with ID 1. In LabVIEW callback I receive exactly 1048 frames of the asset of ID 1. After that I receive frames of asset with ID 0 (non-existent) and all the data is 0. The number is always the same, regardless of camera frame rate (30 to 240 FPS).

I would like to receive frames via callbacks in order to have all frames available. Polling is out of the question.

Did anyone experience similar problems? Do I need to configure something else in NatNet that I missed? The application WinFormTestApp works perfectly fine all the time.

Re: NatNet and LabVIEW

Posted: Sun Jul 26, 2020 10:05 pm
by leon42
After some debugging I actually found a solution.

LabVIEW has a different way of handling the .NET functions. It opens a reference to the object and after an object has been opened, it needs to be closed programmatically. Now I fixed it and it seems to work.