Connecting LabVIEW with Scilab Enterprises Scilab Software

Publish Date: Feb 28, 2013 | 48 Ratings | 3.90 out of 5 | Print | 4 Customer Reviews | Submit your review

Overview

LabVIEW is an open platform that allows you to easily integrate 3rd-party (external) software such as Scilab from Scilab Enterprises. This document discusses the LabVIEW - Scilab Gateway Software, a tool that allows you to easily invoke scripts from Scilab from your LabVIEW graphical programming.

Table of Contents

  1. What is Scilab?
  2. Connecting NI LabVIEW with Scilab
  3. Setup and Installation of the NI LabVIEW Scilab Gateway Software

1. What is Scilab?

Scilab is free software for numerical computation available from Scilab Enterprises. 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.

Back to Top

2. Connecting NI LabVIEW with 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.

Using the Scilab Script node

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).

Back to Top

3. Setup and Installation of the NI LabVIEW Scilab Gateway Software

  1. Visit NI LabVIEW Scilab Gateway to download the gateway software. The  download is a compressed zip file -- unzip the file that you download to a new folder.
  2. If you have not already done so, install Scilab 5.3.0 (or later) - Scilab Enterprises, If you upgrade Scilab, make sure to remove the old version before installing the latest version.
  3. If you have not already done so, install National Instruments LabVIEW.
    The Zip file that you downloaded in step 1 contains separate installers for 32-bit and 64-bit versions of the Gateway. Run the installer EXE that matches the revision of Scilab and LabVIEW noting the following:
    • The 32-bit Gateway Software requires LabVIEW (8.0 or later) – Full, Professional, Student, or Evaluation Editions.
    • The 64-bit Gateway requires LabVIEW 2009 (64-bit) or later.
    • If you have multiple installed versions of LabVIEW, the LabVIEW to Scilab Gateway software installer will prompt you to select the desired LabVIEW version.
  4. Restart LabVIEW to apply the changes and complete the installation.

The installer will copy a readme.pdf file with additional instructions for working with the Gateway.

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

Back to Top

Customer Reviews
4 Reviews | Submit your review

works  - Dec 9, 2015

LV2012, scilab 5.3 scripting works

ver 1.1 broken  - Feb 4, 2009

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 29, 2008

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

  - Jun 15, 2007

Don't work with labwiew 8.0

View more reviews

Bookmark & Share


Ratings

Rate this document

Answered Your Question?
Yes No

Submit