LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

error 1046 scilab

Solved!
Go to solution

I have:

Scilab 5.4.0 (64 bit)

Labview 2012 (64 bit)

Labview Scilab Gateway (64 bit)

Why shouldn't the scilab script work?

I get error 1046.

I tried dropping a matlab script and changing server like suggested in a post.

Thanks..

 

0 Kudos
Message 1 of 13
(6,530 Views)

@kikki wrote:

I have:

Scilab 5.4.0 (64 bit)

Labview 2012 (64 bit)

Labview Scilab Gateway (64 bit)

Why shouldn't the scilab script work?

I get error 1046.

I tried dropping a matlab script and changing server like suggested in a post.

Thanks..

 


Because something is wrong?  That's about as specific as anyone can get without a better description.

Bill
CLD
(Mid-Level minion.)
My support system ensures that I don't look totally incompetent.
Proud to say that I've progressed beyond knowing just enough to be dangerous. I now know enough to know that I have no clue about anything at all.
Humble author of the CLAD Nugget.
0 Kudos
Message 2 of 13
(6,524 Views)

c = a+b; that's all the script is. when one licks on run, where does labview look for the server? how do i find out why the server software installed is not being detected?

 

I open labview, create the tiny script, click run and get this error.

0 Kudos
Message 3 of 13
(6,513 Views)

Hi kikki,

 

I did a research here and this is what I found: “In order for the MATLAB Script Node to work properly, it requires that MATLAB is installed on the same machine as LabVIEW”

Also I found this post on this forum that might help you:

 

http://forums.ni.com/t5/LabVIEW/scilab/td-p/692821/page/4.

 

Regards,

 

Carmen C.

 

 

 

 

 

0 Kudos
Message 4 of 13
(6,504 Views)
Solution
Accepted by kikki

Hello kikki,

 

There are two potential problems:
1) We recently discovered a compatibility issue with the LabVIEW to Scilab Gateway and Scilab 5.4.0. A fix should be available very soon.
2) This relates to your question about where LabVIEW looks for the server. LabVIEW will query the registry to determine where Scilab is installed. This is done from the HKEY_LOCAL_MACHINE\SOFTWARE\Scilab folder by querying the value of the LASTINSTALL key. It will then look in the folder specified by that key for the SCIPATH value. Unfortunately, when you install a newer version of Scilab and then uninstall an older version, Scilab removes all registry keys relating to its existence -- even though a version is still installed. If you uninstalled an older version after installing Scilab 5.4, you will need to reinstall Scilab 5.4.

 

Even after potentially addressing issue 2, you will still need an updated LabVIEW to Scilab Gateway. I will post here when it is available.

 

Grant M.
Senior Software Engineer | LabVIEW Tablets | National Instruments

0 Kudos
Message 5 of 13
(6,467 Views)

perfect answer..that was really helpful! Thanks a lot!

0 Kudos
Message 6 of 13
(6,463 Views)