Example Code

Drive a 3D Pirate Ship in 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

Download All

Overview
This project demonstrates 3D graphing, loading 3D models, transforming 3D pictures, and receiving sensor data over UDP. 


Description
In order to steer the ship, you need a UDP sensor streaming app for you phone or tablet . This VI used "Wireless IMU" on Android.

 
Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Open " 3D 2012 NIVerified.lvproj."
  2. Open " 3D2.vi."
  3. Run the program.

 

Additional Information or References
VI Block Diagram

 5-13.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.

Comments
orangerakesh
Member
Member
on

how can we control the ship direction or movement

please tell me

Ghost_Hunter
Member
Member
on

Hello, LaThos

Could you help me?

I would like to take the data from IMU Wireless app and use LabVIEW as you did, how do I do this?

LaThoS
Member
Member
on

Hi Ghost_Hunter, I'm afraid I have been off the site for a while and missed your comment. Are you still having issues? The data is published via UDP so you need to receive it and then decode it into the components.