Academic Company Events NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Document Type: Example Program
NI Supported: Yes
Publish Date: Apr 14, 2009

Connecting LabVIEW with INRIA Scilab Software

39 ratings | 4.10 out of 5
Print

Overview

LabVIEW is an open platform that allows you to easily integrate 3rd-party software such as INRIA Scilab. Learn more about the free, downloadable software that provides a link between LabVIEW and Scilab and allows you to easily invoke scripts from INRIA Scilab in your LabVIEW graphical programming.

What is INRIA Scilab?

INRIA Scilab is an open-source platform for numerical computation. Freely downloadable from http://www.scilab.org, Scilab offers a text-based language with built-in functions and syntax that simplify numerical computation involving vectors and matrices.

Connecting NI LabVIEW with INRIA Scilab

With the software that provides a link between LabVIEW and Scilab, you can easily invoke your Scilab Scripts from LabVIEW Virtual Instruments (VIs).

Scilab Script node

Figure 1, The Gateway software installs into LabVIEW as a script node, a text-editor region that you can drag-and-drop onto your LabVIEW block diagrams.


[+] Enlarge Image

Figure 2, You can wire into and out of the Gateway script node by defining input / output variables on the edge of a node. You can do so by right-clicking the edge of the Gateway script node and making a selection from the pop-up menu (1). Next, type the name of the variable that you wish to associate with the new input (or output) (2). You can then wire into (or out of) (3) the new input (or output).

Downloading and Installing the LabVIEW to Scilab Gateway Software

  1. Visit LabVIEW to Scilab Gateway to download the gateway software.
  2. If you have not already done so, install INRIA Scilab.
  3. If you have not already done so, install National Instruments LabVIEW.
  4. Unzip the contents of the zip file that you have just downloaded to the LabVIEW installation folder, for example: C:\Program Files\National Instruments\LabVIEW 8.2.
  5. Restart LabVIEW to apply the changes and complete the installation.

Refer to the readme.pdf file contained in the zip file that you downloaded for system requirements and additional instructions.

Product and company names are trademarks or trade names of their respective companies.

39 ratings | 4.10 out of 5
Print

Reader Comments | Submit a comment »

ver 1.1 broken
Ver 1.1 from des 2008 seems to have broken the gateway. Runtime error and wrong name of script node (originally "Script Scilab", but when right- clicking and choosing server it suddelny say "Scilab script")
- Feb 4, 2009

The gateway works with Labview 8.0, but not the examples, because they are made for Labview 8.2.1. This is naturally a problem for the Labview8.0-users. Dr. WK
- Walter Knell, privat. felix.knell@t-online.de - Feb 29, 2008

Don't work with labwiew 8.0
- Nicolas Bruyant, Cea Grenoble . nicolas.bruyant@cea.fr - Jun 15, 2007

 

Legal
This example program (this "program") was developed by a National Instruments ("NI") Applications Engineer. Although technical support of this program may be made available by National Instruments, this program may not be completely tested and verified, and NI does not guarantee its quality in any way or that NI will continue to support this program with each new revision of related products and drivers. THIS EXAMPLE PROGRAM IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND AND SUBJECT TO CERTAIN RESTRICTIONS AS MORE SPECIFICALLY SET FORTH IN NI.COM'S TERMS OF USE (http://ni.com/legal/termsofuse/unitedstates/us/).