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

LabVIEW Core 1 v2015 Exercise 9-4B issue - noob needs help :)

$
0
0

Hello All,

Working my way through the self paced online training (Labview noob!). Unfortunately I am having issues with challenge 9-4B. I've attached my code and sample output file that its reading from, for some reason I cant get the search array to work properly, it always spits out -1 as if it didn't find anything. I've created a few indicators to see what the arrays looks like at different stages but cant figure out why its doing this. Also here is the initial problem statement.

"Goal

Create a VI that takes the property name as input and returns the associated property value.
Scenario
Your file header includes a variable number of property names and values. After reading the file, you want to programmatically access the property value
for a given property. For example, in this exercise, one of the properties was “UUT Serial Number”. You want to programmatically search for “UUT Serial
Number” and then return the serial number value (e.g., “A12345”).
Description
After reading the spreadsheet string into memory, use a modular approach to create a VI which finds the row index of a property name. Then use the row
index to return the property value. If the property name isn't found, the VI should return a descriptive error."

Any help would be much appreciated Smiley Happy


Viewing all articles
Browse latest Browse all 67066

Trending Articles



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