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

Extract value from programmatically created text ring

$
0
0

Hello,

I have a spreadsheet from which I would like to extract a single row. The first column of the spreadsheet has non-evenly-spaced time values and I feed these time values into a property node that is fed into the Strings[] property node of a text ring indicator. The purpose of this is because I want the user to only select times for which data was collected and, conveniently, the zeroth time point on the list corresponds to the zeroth row.

However, when the user selects an item from the text ring, the control passes along the string selected, and not the associated value, despite using the "Value" property node. Do you have any idea why this might be happening? I know I could use the search 1D array VI to fix this, but I'm more interested in why this doesn't work. I've attached some example data as well as the VI in question for reference. Thank you very much for your assistance! 

 

EDIT: It appears that this may stem from the fact that the strings I am feeding into the Strings[] field are numbers. When I made I swapped out the times with random text strings, it worked just fine. Curiouser and curiouser...


Viewing all articles
Browse latest Browse all 66753

Trending Articles



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