ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW MathScript RT Module

cancel
Showing results for 
Search instead for 
Did you mean: 

error 90026

hi every body,
 
i desperately need a help with mathcrip. i'm trying to run the vi on the attached when i got this error error 90026.
could someone help me how to fix it pliase?
 
labview 8.5
0 Kudos
Message 1 of 2
(6,976 Views)
Hi tchaou,

The message I see for error -90026 is, "Error in function '=' at line 13.  The indexes for a matrix indexing operation must be real, positive integers." At line 13 it looks like you are using D as an index. Indices in MathScript are 1-based, which means the value you input for D must be at least 1. Since you also use t as an index (on line 15), it must also be 1 or greater. If I set the "Distance de la source X" and "Temps instantané" controls to be 1 then I can run the script without error.

Here's a tip when you're seeing problems like this with intermediate values in your MathScript Node. In LabVIEW 8.5 you can right-click the node and select "Probe". Then when you run your script you will see a list of all the variables that get created. You can click on them and inspect their values. That's how I first figured out that D and t were not valid indices.

Hope this helps.

jattas
LabVIEW Math & Signal Processing
Message 2 of 2
(6,973 Views)