LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Save me from my rube

Solved!
Go to solution

@Darin.K wrote:

To add an extra layer of protection against collision, when I concatenate strings to form an attribute tag I will add a separator (tab,pipe,etc.) that I do not expect to appear in the names themselves.  What comes in handy in many cases is my old friend Join Strings.vi.


Certainly. Also helps with readability and parsing (if you want to deconstruct or probe the attribute name).

0 Kudos
Message 11 of 15
(659 Views)

Back using this method again...because I love it. However, I'm using it for something different now. It's pretty obvious I'm going to be getting all names associated with a specific remote device and module. I was wondering how I use variant to data when my data is an array? I'm still fairly variant illiterate so thanks for bearing with me.

 

0 Kudos
Message 12 of 15
(581 Views)

Sorry, should have made current values default on FP

0 Kudos
Message 13 of 15
(564 Views)

Went the following route, please let me know if there is a better way.

 

 

 

0 Kudos
Message 14 of 15
(539 Views)

That is one way to do it, especially if you do not mind all of the arrays being the same length.  With string arrays I usually don't mind a few empty strings.  Other times I'll drop a Bundle in there and build an array of clusters of an array.

0 Kudos
Message 15 of 15
(526 Views)