LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

labview matlab

how can I run the Matlab script server in LabVIEW community edition 2020

0 Kudos
Message 1 of 6
(2,409 Views)

The LabVIEW community edition has all the capabilities that professional editions have. One may suppose it shouldn't be any different.

 

https://www.ni.com/docs/en-US/bundle/labview-api-ref/page/functions/script-node.html

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

but I received a 1046 error when I run the code 

0 Kudos
Message 3 of 6
(2,376 Views)

Hi Hrishi,

 

did you read the error explanation?

Is Matlab installed on your computer?

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 4 of 6
(2,370 Views)

this is what the explanation

"LabVIEW: (Hex 0x416) LabVIEW cannot initialize the script server. Ensure the server software is installed."

but I have Matlab on my pc

0 Kudos
Message 5 of 6
(2,366 Views)

Is your Matlab licensed?

If not, it can totally be the issue.

 

There are many free alternatives to Mathworks' Matlab. I use Octave GNU (General public License) which should work fine with LabView. (even paid I would prefer it over Matlab)

 

P.S.

Searching for 1046 error

https://forums.ni.com/t5/LabVIEW-MathScript-RT-Module/Matlab-Scrip-Node-error-1046/td-p/1129179

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