LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

MatLab in Labview

Hi everyone,

 

i'm trying to integrate a MatLab script into my VI. I installed the MathScript Module. The MatLab Script is used in a Sub VI. Everything is working fine. But when i tried to add the VI to my Project, where I'm using a cRIO-9056 for my measurements, the VI is not running and i get the following error: "Script Node: Node not supported in the current target". Am I missing some software on my cRIO-device or why isn't it working? Anybody got some idea?

 

Thanks and kind regards

 

Marius

 

0 Kudos
Message 1 of 4
(1,414 Views)

As the error states, MathScript node is not supported on cRIO.

 

MathScript node runs only on Windows host side and cannot be compiled to run on a cRIO as the necessary MATLAB support dependencies are host only.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 2 of 4
(1,399 Views)

@santo_13 wrote:

MathScript node runs only on Windows host side and cannot be compiled to run on a cRIO as the necessary MATLAB support dependencies are host only.


Don't confuse MathScript RT (By NI) with the Matlab script node.

 

Mathscript (A script parser implemented under the hood in LabVIEW that understands Matlab-like syntax) actually works on RT but is no longer recommended for new designs.

 

See also: Moving to MATLAB Script Nodes from MathScript Nodes in LabVIEW 

0 Kudos
Message 3 of 4
(1,371 Views)

@altenbach wrote:

@santo_13 wrote:

MathScript node runs only on Windows host side and cannot be compiled to run on a cRIO as the necessary MATLAB support dependencies are host only.


Don't confuse MathScript RT (By NI) with the Matlab script node.

 

Mathscript (A script parser implemented under the hood in LabVIEW that understands Matlab-like syntax) actually works on RT but is no longer recommended for new designs.

 

See also: Moving to MATLAB Script Nodes from MathScript Nodes in LabVIEW 


Thanks for clarifying @altenbach, I didn't realize that these were two different nodes.

Santhosh
Soliton Technologies

New to the forum? Please read community guidelines and how to ask smart questions

Only two ways to appreciate someone who spent their free time to reply/answer your question - give them Kudos or mark their reply as the answer/solution.

Finding it hard to source NI hardware? Try NI Trading Post
0 Kudos
Message 4 of 4
(1,348 Views)