To download NI software, including the products shown below, visit ni.com/downloads.
Overview
This example demonstrates how to set the visible index of an array using a property node.
Description
The Visible Index slider control is connected to a property node for each array (X, Y, and Z). The property nodes correspond to the Index Values property of each array. This property node can be created by right-clicking on the array in question and navigating to: Create » Property Node » Index Values. This functionality is encased inside of an event structure that fires every time the Visible Index control's value changes.
Notice that the timeout is wired to -1 after the first iteration; therefore, the event structure will wait until the value changes before progressing through the code. Finally, there is a While Loop to allow the event structure to fire multiple times.
Requirements
Software
Hardware
Steps to Implement or Execute Code
Additional Information or References
**The code for this example has been edited to meet the new Community Example Style Guidelines. The edited copy is marked with the text ‘NIVerified’. Read here for more information about the new Example Guidelines and Community Platform.**
Regards,
Dan King
Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.
Could you please add a sceenshot of your Block Diagram
Thanks