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
(5,680 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
(5,674 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
(5,663 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
(5,654 Views)
Solution
Accepted by topic author 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
(5,617 Views)

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

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

Hello kikki,

 

A new version of the LabVIEW to Scilab Gateway (1.3) is now available. It fixes the compatibility issue with Scilab 5.4.0 as well as an installer error when LabVIEW was sometimes not detected. You can find it in the LabVIEW Tools Network
http://www.ni.com/labview-tools-network/
or directly from
http://bit.ly/ScilabLabVIEW

 

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

Message 7 of 13
(5,533 Views)

Hi...

 

Can anyone tell me how to read an input file (CSV format) using Scilab?

0 Kudos
Message 8 of 13
(5,273 Views)

 

Since this post has already been solved, I suggest opening a new thread with information on what you have already tried to do. A new thread will get more views than a thread that has already been solved. If you are using LabVIEW you can use the link below to read in the .CSV file and then send it to a Scilab node. 

https://decibel.ni.com/content/docs/DOC-12287

 

 

If you are just using Scilab I suggest checking out help.scilab.org. Here is a link I found that should help you read in .CSV files with Scilab. How you do it is also dependant on the version of Scilab you use. 

https://help.scilab.org/docs/5.3.3/en_US/read_csv.html

Brad S. | National Instruments | CLA
0 Kudos
Message 9 of 13
(5,256 Views)

Thats right. Thank you.

 

I have posted a further thread regarding a new problem. Please check it and suggest a solution.

0 Kudos
Message 10 of 13
(5,244 Views)