LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error -90032 Occured at line 16 column 15: The indexes are out of bounds

Hi all,

 

I get an index out of bounds error for the Mathscript placed inside the control loop when the inputs p,q reach 2,1 on line 16.

p increments once per 160 iterations on the control loop.

q increments once per 1 iteration on the control loop, then resets to 1 when it reaches 160.

 

I am confused because line 16 shouldn't be executed when the values p,q are 2,1.

 

 

0 Kudos
Message 1 of 2
(2,667 Views)

I eventually figured it out.

It turns out that Mathscript only takes single entries as indexes, and doesn't 'n-1' as an index. 

0 Kudos
Message 2 of 2
(2,609 Views)