From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

Example Code

3D Trilateration Algorithm VI

Code and Documents

Attachment

Description

https://en.wikipedia.org/wiki/Trilateration

Calculates position of a point in 3D space which is at known distances from three points. Does not have the restriction of the wikipedia method, works for any three points in 3D space.

Video Demonstration


Steps to Implement or Execute Code

  1. Download the attached project.
  2. Open the project.
  3. Run Trilateration.vi, or add it to your project with necessary SubVIs.

Requirements

Software

LabVIEW 2012 or later.

Additional Info

This code is used in Project ALAN for kinematics calculations

https://decibel.ni.com/content/docs/DOC-46580

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Comments
clos242003
Member
Member
on

This file has a tracking cookie.  ".doubleclick.net"

jackbrookes
Member
Member
on

Where?

clos242003
Member
Member
on

I'm not sure exactly.  I just received a secured thumb drive from IT and this vi is the first thing I put on it.  Ran a scan on the folder and the tracking cookie popped up. 

clos242003
Member
Member
on

Great vi, btw.  Thanks.

hariuk
Member
Member
on

Hi, That is really nice. I am newly on this, Could you please help me to increase dimension from 10 to 20 or 30?

Contributors