Getting TestStand Error: Cannot Index an Empty Array

Updated Aug 24, 2018

Reported In

Software

  • TestStand

Issue Details

I have a TestStand sequence file that makes call to sequences in another sequence file. When I run the program, one of the LabVIEW VI calls in the other sequence file returns an error, saying "Cannot index an empty array." Why am I getting this error?

Solution

This error often occurs when a step's parameters include File Global variables that are populated in the original sequence file. Because File Global variables are only local to a specific file, the other sequence file does not have access to them.

There are two solutions: either pass the data to the other file as a parameter, or make the variable a Station Global variable instead.

WAS THIS ARTICLE HELPFUL?

Not Helpful