NI TestStand

cancel
Showing results for 
Search instead for 
Did you mean: 

Do not know why Run Time Error is comig. Error code is -17324.

Hi,

I am running my sequence file.
We are running one customised step called Set Engine Speed which sets Engine Speed.
But, when I am executing my sequence, I am getting Run Time Error -17324 at this step.
I am using some array in my sequence, but I am still not able to understand why I am getting Array of Bounds Error on Set Engine Speed step.

Please help me on resolving this issue.

The snapshot of error is attached in the mail.

0 Kudos
Message 1 of 4
(3,531 Views)
Are you able to put a breakpoint before that step, step through it, and make sure your array and array index always have what you are expecting? 
Kristen
National Instruments
0 Kudos
Message 2 of 4
(3,498 Views)
Hi Kristen,
 
In the sequence file wherever I was using steps related to Array, I was putting breakpints before that.
I was monitoring the values of each array in this way and I realised that arrays are getting properly updated.
While these steps were I did not get any error message.
Once it comes to SetEngine Speed step, that error is occuring.
 
All these stuff I am running in for loop ( 144 times ).
For initial few iterations the error is not coming i.e Set Engine Speed is working properly.
But the error usually comes after half of the iterations are done.
 
 
0 Kudos
Message 3 of 4
(3,491 Views)

Hi,

Where is the array held, is it part of the custom step SetEngine Speed or is it in your Sequence / Sequence File as a Local/Parameter/FileGlobal.

If it part of the custom step, what step properties do you have to define?

Does the Array start empty or is it set to a fix size?

Regards

Ray Farmer

Regards
Ray Farmer
0 Kudos
Message 4 of 4
(3,486 Views)