Example Code

2D array control containing 1x1 colorbox

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 presents a custom control of a 2D array control containing a 1x1 size colorbox as its element.
Description
This control cannot be built in the LabVIEW editor because the minimum size bounds of the colorbox are normally 5x5. This custom control was created by LabVIEW R&D at customer request to facilitate drawing graph data arbitrarily. It is saved in LV 8.0 and should work in all versions of LabVIEW from there forward.
Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

Run the VI and check the colorful array.

Additional Information or References
VI Block Diagram

 

 code.png

 

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

 

 

Matt
NI Community Team
National Instruments

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

Comments
flarn2006
Member
Member
on

I'm really curious about the tools that were used to make this. Not that there aren't public tools that can do the same thing.