Not fully understand what you need, but you can get reference to array element by according property node:
but you will be not able to get array of refences of the elemenths, because you have only one.
For example: this code looks the same but will not work:
If the array processing has to be done in a sub-vi, then why not wire the string array directly to the corresponding string array control in the connector pane? no need for references, no need for locals..
Also, that's why I asked if a sub-vi is even needed.
I would like to use the same subVI to modify a single string. Is there a way to create an array reference to a string.
Does the sub-vi already allos to modify a single element? or do you need to modify it?
Did you write the sub-vi or did you inherit it? Does it appear in other code?
Without considering thew sub-vi, can you describe what you would like to do with the string array, the element and the string that you'd like to change?
This "Index Vals" approach ONLY works if there is only one array element visibly on the Array control / Indicator.
Otherwise clicking on any array element besides the first one before running the VI will return false values.
I tryed to get the reference of my arrays elements, but if i want to set the "IndexVal" property of my "(strict)array reference" i get the
"Error 1082 occurred at Property Node (arg 2) in recursiveTypecastToU08.vi:2->Conv_ArrU08ToCluster.vi->conv_ClusterToCluster.vi->DUT_Battery_SetShipmentmode.vi
LabVIEW: Operation not valid for strict type definition instance.
Property Name: Index Values"
Class name: Array
Control label: Data
Refnum (in hex): 0xC2A00088
Owning VI: Test.vi
Get a "MoreSpecific Class"-cast to array-class and then the error apears.
If i use it directly there is no "IndexValues"-conector.
Thanks for your help.