LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MathScript is slow

Hi all,

  I just install Mathscript 2013 in the newly installed Labview 2013 environment. I like the mathscipt since it compact my coding a lot. But I compare the original labview code and the new one. Mathscipt is obviously slower than the labview one. Is it expected that Mathscript will be slower? (I don't have the code with me now, I will post that later).

 

By the way, in labview main menu, when I run [Tools] -> [Mathscript Windows], it always reports error

 

Error 1386 occurred at Property Node in IM_Setup_New_Misc_Script.vi->IM_Disp_new_misc_script 2.vi
Possible reason(s):

LabVIEW:  The specified .NET class is not available in LabVIEW.

 

But I can run the mathscipt in the labview RUN mode without problems. So what's cause the error? What else I need to install to make it work?

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

MathScript is implemented on top of LabVIEW.  MathScript is also a typeless language while LabVIEW is strictly-typed.  The combination of these two factors make MathScript run slower than native LabVIEW code.

 

As for your error, do you have Mathscript and/or LabVIEW installed on a network drive? If so it may be realted to this KnowledgeBase.

Miles G.
National Instruments
Staff Applications Engineering Specialist
Message 2 of 2
(2,527 Views)