NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

need lvParamEle.item ref for element of 2d cluster array

Need:
I need a reference to a single element of a 2d array.
 
Have:
Using the LV adapter API we can get refs to items inside of clusters and 1d arrays (or any nasty combination of those) but not items inside 2d arrays.
 
Please see attached image. 
Thanks,
Albert DeWeese
 
More info:
Our app atempts to dynamically create a sequence file, load a series of LV modules (and prototypes) and then dynamically populate the value expressions for all inputs.  The data types and desired input values for each VI are defined in an XML file.  This architechture will hopefully allow an engineer to create a VI with any imaginable datatype (supported by LV) and leverage the XML file to populate the VI inputs with different inital values in TestStand.

Message Edited by Ab_DeWeese on 07-24-2007 11:48 AM

Message Edited by Ab_DeWeese on 07-24-2007 11:49 AM

Download All
0 Kudos
Message 1 of 2
(2,819 Views)
Hi Ab,

There isn't an API function to access an element from a 2D array from a LabVIEW parameter.  The only way to tell if a LabVIEW parameter is a 2D array is by the DisplayType parameter under the step properties.  The best way to do this would be to retrieve the whole array, then insert the element and place the 2D array back as the LabVIEW parameter.
0 Kudos
Message 2 of 2
(2,779 Views)