LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Scilab Gateway under Labview 8.2 and 8.5

Hi Newsgroup,

i am a Labview Starter and working for a longer time with Scilab.
Herefore, the gateway function is a nice tool for me.
When i create a VI with the Scilab Gateway, it works really perfect
under Labview 8.2.1 (Jubilee Edition), but under Labview 8.5 the VI
seems to be not correct. The "Run"-Arrow is displayed broken, nothing
works.

Funny Effect in Labview 8.5 beside: In a few cases i've seen the
effect, that my VI works just one time, then never again ?

Have i done mistakes while installing anything. Or are there hidden
registry entries ?

Best Regards
Andreas

0 Kudos
Message 1 of 15
(5,457 Views)
 

Did you also install the scilab gateway files in the 8.5 program folder after installing LabVIEW 8.5?

0 Kudos
Message 2 of 15
(5,454 Views)
On 30 Okt., 07:40, altenbach <x...@no.email> wrote:
> Did you also install the scilab gateway&nbsp;files in the 8.5 program folder after installing LabVIEW 8.5?
> See <a href="http://zone.ni.com/devzone/cda/epd/p/id/657" target="_blank">http://zone.ni.com/devzone/cda/epd/p/id/657</a>

Hi,

in both Labview Versions the Scilab Gateway is installed.
I've seen on a colleagues PC a similar effect with .net-based VI: It
works perfekt on LabView 8.2.1, but not on 8.5.

Best Regards
Andreas

0 Kudos
Message 3 of 15
(5,437 Views)
I'm discovering SciLab right now. It's a fresh instal, and at least all the examples provided are working nicely with LV 8.5
Chilly Charly    (aka CC)
0 Kudos
Message 4 of 15
(5,434 Views)

Yes, the examples work fine, with one ugly difference:

In LabVIEW 8.5 the code (e.g. "Scilab Life" example) no longer wraps to multiple lines.

(I am not sure why the example code is  formatted as a single line and not structured normally)

Message Edited by altenbach on 10-30-2007 08:51 AM

0 Kudos
Message 5 of 15
(5,423 Views)

altenbach,

The single, unreadable line of code in each example is my fault.  I created the examples for a pre-alpha version of the Gateway that didn't support carriage returns, then I forgot to update them for the fully functional version.  I'll see if we can update the examples on the download page.  The difference you see between 8.2.1 and 8.5 won't be so ugly once carriage returns are inserted.

Chris

LabVIEW R&D

0 Kudos
Message 6 of 15
(5,410 Views)
Thanks for the clarification.
 
Personally, I prefer if the lines don't wrap once the code is structured correctly, so maybe the 8.5 behavior is OK! 😄
 
Maybe things could be enhanced in the future by adding optional scrollbar for the code portion (horizontal and vertical) and maybe even add line numbers similar to what we got for the mathscript node. 🙂
 
(btw, these examples are very nice otherwise :))

Message Edited by altenbach on 10-30-2007 10:07 AM

0 Kudos
Message 7 of 15
(5,405 Views)
On 30 Okt., 18:10, CMal <x...@no.email> wrote:
> altenbach,
> The single, unreadable line of code in each example is my fault.&nbsp; I created the examples for a pre-alpha version of the Gateway that didn't support carriage returns, then I forgot to update them for the fully functional version.&nbsp; I'll see if we can update the examples on the download page.&nbsp; The difference you see between 8.2.1 and 8.5 won't be so ugly once carriage returns are inserted.
> Chris
> LabVIEW R&amp;D

Hi Newsgroup,

i guess, i find one point: In the block diagram window in LabView
8.2.1 i make a right click on the script-box and open the menu item
"choose script server". Here, Scilab is displayed and choosen.
When i do the same in LabView 8.5, the menu item "choose Script
server" does not show me Scilab. The entry "Scilab" is not available.

I've unzipped all files of the Labview Gateway into the directory c:
\programme\Nat...\Labview8.5\examples recursivly.
Why does Labview not recognize this toolbox ?

Best Regards
Andreas Geißler

0 Kudos
Message 8 of 15
(5,387 Views)


@Andreas wrote:
i guess, i find one point: In the block diagram window in LabView
8.2.1 i make a right click on the script-box and open the menu item
"choose script server". Here, Scilab is displayed and choosen.
When i do the same in LabView 8.5, the menu item "choose Script
server" does not show me Scilab. The entry "Scilab" is not available.

Works just fine here in LabVIEW 8.5. Did you restart LabVIEW after installation?


 

Message Edited by altenbach on 10-31-2007 01:00 AM

0 Kudos
Message 9 of 15
(5,385 Views)
Andreas,
 
Note that the files in the Scilab LabVIEW Gateway zip file should be extracted to:
<Program Files>\National Instruments\LabVIEW 8.x
instead of:
<Program Files>\National Instruments\LabVIEW 8.x\examples
 
Can you check to make sure the following files are located in these places:
 
ScriptScila.dll should be located in:
<LabVIEW 8.5>\resource\script
 
scilab.mnu should be located in:
<LabVIEW 8.5>\menus\Categories\Mathematics\-scriptsAndFormulas\More Script Nodes
 
ScilabScript.vi should be located in:
<LabVIEW 8.5>\vi.lib\Scilab
 
If these files aren't in these folders, then they may have been extracted to the wrong location.
 
 
Chris
LabVIEW R&D
Message 10 of 15
(5,375 Views)