06-23-2026 01:34 PM
I am trying to use a dynamic array (empty array) as an input to a second sequence that will use elements as individual inputs for LabVIEW VI's being called. The size of the array will change depending on how many inputs the LabVIEW VI being called requires.
For example: I want to send two numeric values for a VI that sets the amplitude and frequency of my generator and then use the same array to send a single value to select an input channel on my Analyzer.
My main sequence is calling a second sequence that will then call the appropriate VI. I am able to set the array value in the main sequence but when I try to use an individual element as the input for the LabVIEW VI call, it crashes because the array is empty.
Is there a way to do this without having to create temporary variables or changing the VI inputs to an array? Some of my VI's have up to 5 numeric inputs and they are all dynamic dispatch VI's belonging to various classes in LabVIEW. It is not an easy task to change the VI inputs.
07-08-2026 06:20 AM
Hi Leonard,
@Leonard33 wrote:
My main sequence is calling a second sequence that will then call the appropriate VI. I am able to set the array value in the main sequence but when I try to use an individual element as the input for the LabVIEW VI call, it crashes because the array is empty.
How do you send the filled array from your MainSequence to your SubSequence?
Do you see an empty array when using breakpoints in the SubSequence?
07-13-2026 09:51 AM
Hello GerdW,
Should have started with "I'm a NOOB to TestStand".
I got it working. I was making it more complex than it needed to be by trying to use "Evaluate". My confusion started because of string vs. numeric data types for the indices of the arrays when using variables.