Example Code

Programmatically Change Cell Colors of a Table

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
The example is to demonstrate how to manipulate the property of the table in the front panel

Description:
This simple VI would show you what is the property node and how it would affect the component of the front panel. The node would access the color property of the table and with that, we could programmatically manipulate the color

Steps to Implement or Execute Code:
To implement this example:

  1. Set the active cell (selected by the box of highlighter)
  2. Run the VI
  3. (Optional) Turn on the Highlight Execution to see the flow of the VI
  4. Manipulate and move the selection to see another changes


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
-

fp.PNG

 

bd.PNG

 

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

Vivek Nath
National Instruments
Applications Engineer

Machine Vision

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

Comments
syrpimp
Member
Member
on

precise and usefull. Thank you!



Thank you & Best regards
syrpimp

=======================================================
“You must continue to gain expertise, but avoid thinking like an expert." -Denis Waitley