Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69497

Setting Array Index

$
0
0

Short: I want to dynamically set an array element to 0.

I have a UI, one control is an array of data.  The user may select any of the elements in the array and that element will be displayed in a separate indicator.  The user may select other operations which will change the array elements and sort out certain types of data.  This reloads the data array.  When this happens I want to set the array element back to 0 and display that element.  However, once the user clicks on an array element that element becomes the active element and when ever I try to reset/reload/reinitialize the array the element value is always the last clicked element.  All these functions are done dynamically using the array reference in sub VIs. I know that setting the array index is not possible.  Does anyone have an idea of how to accomplish this?  

Thanks in advance.


Viewing all articles
Browse latest Browse all 69497

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>