Example Code

Plot vector in a 3D Graph using LabVIEW

Products and Environment

This section reflects the products and operating system used to create the example.

To download NI software, including the products shown below, visit ni.com/downloads.

    Software

  • LabVIEW

Code and Documents

Attachment

Overview

This VI plot a vector in a 3D space

 

Description

With 3D controls it is possible create multiple representations but is not possible create automatically XY, XZ and YZ planes. This controls use a static reference planes in the background. This example shows how to represent 3D objects in addition with XY, XZ and YZ panel, like in math geometric systems.

 

Requirements

  • LabVIEW 2012 (or compatible)

 
Steps to Implement or Execute Code

1. Selecet vector components (X,Y,Z)
2. Select 3D Axis range
3. Run VI
4. Press Update Planes to update reference planes

 

Additional Information or References

VI Block Diagram

 Plot a 3D vector LV2012 NI verifed.png

**This document has been updated to meet the current required format for the NI Code Exchange.**  

 

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