Example Code

Artificial Horizon with 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
To demonstrate how to make artificial horizon with LabVIEW

Description:
This example code uses 3D picture controls to build up an artificial Horizon. Four items are created; a base image to work from, a rotating drum, a viewing glass, and a rotating compass dial. These items are manipulated depending on the values passed in to the relevant controls. By enabling the camera fixed position switch you can force the location of the camera, and block a user from interacting with the 3D objects.

Instructions:

To implement this example:

  1. Run VI
  2. Adjust the pitch, roll, and heading to play with it.

To execute this example:

  1. Install the required software.
  2. Open the VI and refer the Implement Steps


Requirements
Software
LabVIEW 2012 or compatible

Hardware
-

2017-11-03_11-00-04.jpg2017-11-03_11-00-13.jpg

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

Richard S
Applications Engineer
Certified LabVIEW Associate Developer
National Instruments UK&Ireland

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

Comments
jayanthi
Member
Member
on
Hi - With reference to the above artificial horizon application , we want to add the arrow mark that needs to points the heading value. If we create the arrow mark in .jpg / .stl file and when we add the same into the above horizon 3d object, the inner roll and pitch image has vanished. We couldn't able to add the more pictures into that as per our customized requirement. It would be very great , if you can guide us to accomplish this task. Please do the needful.
 
With Regards,
Jayanthi K
NIOT