LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

conversion from double to integer

Solved!
Go to solution

Hi,

 

I have may be a stupid questio. 

 

I have a double array, it is an input of the Mathscript, the first two column's  elements like : 1.0000, 2.000, ...etc. I would like to conversion it from double to integer, because I'll use it to index an other array. When I run the VI, I get a run time error. It seems the explicit conversion is not working. In Matlab I can conversion data types on the same way.

 

Error code -90026 matrix index must be real, positive integer

 

My code can you see on the picture below.

 

Please help! 

0 Kudos
Message 1 of 2
(6,978 Views)
Solution
Accepted by topic author Tamas

I solved the prob

 

I started indexing to 0 and not to 1. that occured the problem.

 

0 Kudos
Message 2 of 2
(6,962 Views)