LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read value from multistring input

Solved!
Go to solution

Hello,

 

I have this multistring:

 

hiNI_0-1601915373683.png

 

How can I read the line with "channel[16]" to return just the number 3?

 

I have attached my attempt.  Not sure why its not working.  Any help will be sincerely appreciated!

0 Kudos
Message 1 of 3
(942 Views)

I would really make code to read the whole message and just pick that one line.  It's not that much more difficult (might even be easier), and there's a high probability that you'll need to read the other stuff as well.  Always code with scalablity in mind.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
Message 2 of 3
(920 Views)
Solution
Accepted by topic author hiNI

Here's an alternative using the Spreadsheet String To Array and then searching the array for the desired string.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 3 of 3
(904 Views)