LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Script Node: Node not supported on current target

Hi,

 

I'm trying to export a program that involves the use of MATLAB script nodes onto the CompactRiO. The script nodes do not use toolboxes, except those installed on the host computer. However, everytime I try to build it, it gives me an error in which it says:

 

Script Node: Node not supported on current target

 

I was under the impression that you could upload MATLAB script nodes to the RiO as long as it doesn't contain code that MATLAB uses for it's tooboxes. Can someone give me an explanation of how exporting programs, involving the use of MATLAB script nodes, to a CompactRiO would work or if it would work at all?

 

Thanks.

0 Kudos
Message 1 of 2
(3,134 Views)

bilaln,

 

There are two different script nodes I think you are confusing:

 

 

  • The MATLAB script node passes your m code to a locally installed copy of MATLAB for execution.  This will only work on desktop computers with both LabVIEW and MATLAB installed.
  • The MathScript RT Node executes your m code natively in LabVIEW.  This node can be deployed to real-time targets (such as the CompactRIO) and does not require MATLAB to be installed but does require the MathScript RT Module to be installed on your development machine.

 

Your implementation is using the MATLAB script node and your expectations are consistent with the MathScript RT node.

 

 

Regards,

 

Simon

 

 

MATLAB® is a registered trademark of The MathWorks, Inc.

Message 2 of 2
(3,117 Views)