01-25-2011 11:51 AM
@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).
02-21-2011 11:52 AM - edited 02-21-2011 11:54 AM
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.
02-21-2011 12:28 PM - edited 02-21-2011 12:28 PM
Sorry, should have made current values default on FP
02-21-2011 04:25 PM - edited 02-21-2011 04:26 PM
Went the following route, please let me know if there is a better way.
02-21-2011 06:53 PM
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.