LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem creating inputs, outputs and text in Scilab Script Block

Solved!
Go to solution

I have recently installed the Labview to Scilab Gateway.  I am running Labview 11.0 and Scilab 5.3.3.  The example files run properly, However, when I try to define any inputs, or outputs, there is no option to add the ports.  The block also ignores any text I type in it or copy to it.  I have been trying this on a blank vi.

0 Kudos
Message 1 of 15
(3,598 Views)

Ronny,

 

Have you taken a look at this link?   https://decibel.ni.com/content/docs/DOC-2043

 

Can you explain the process you are taking to define inputs/outputs on the Script block. Our scripting nodes require you to right click on the border of the node and select add Input/Ouput. Then you can wire up a LabVIEW control to the input of the script block.

 

Let me know if this information is helpful.

 

-Nick-

Nick C | Software Project Manager - LabVIEW Real-Time | National Instruments
0 Kudos
Message 2 of 15
(3,578 Views)

Hello Nick,

 

I have taken a look at the link.  I have tried creating inputs and outputs by right clicking on the block.  I tried the same proceedure on a normal script block and the option to create the terminals was on the right click menu and the terminals were created.  Typing text into the input block was not an issue.  Using the same method on the scilab script block resulted in a menu containing:

Visible Items

Help

Examples (This is greyed out)

Description and Tip

Breakpoint

Properties

 

 

0 Kudos
Message 3 of 15
(3,575 Views)

Ronny,

 

Which version of LabVIEW and what operating system are you running? If you meet all the requirements listed at the link I provided in the previous post, it may have been an installation problem. You may need to remove the add on and try reinstalling it.

 

-Nick-

Nick C | Software Project Manager - LabVIEW Real-Time | National Instruments
0 Kudos
Message 4 of 15
(3,556 Views)

I am running Windows 7 Pro 64 bit with 8GB Ram, 3.10Ghz Processor

The labview version is Version 11.0 (32 bit)

Scilab is 5.3.3 (32 bit)

 

I have tried reinstalling the add with no success.

0 Kudos
Message 5 of 15
(3,543 Views)

Ronny,

 

Would you mind posting a screen shot of the menu that appears when you right click on the dark-grey border of the script block?

 

-Nick-

Nick C | Software Project Manager - LabVIEW Real-Time | National Instruments
0 Kudos
Message 6 of 15
(3,532 Views)

Hello Nick,

 

The image is attached.

0 Kudos
Message 7 of 15
(3,522 Views)

Have you installed the 32-bit or 64-bit of the LabVIEW Scilab Gateway? Even though you are running a 64-bit OS, it is necessary for the gateway software to match the LabVIEW release.

 

I downloaded the gateway on my machine here and was unable to duplicate these behaviors.

 

-Nick-

Nick C | Software Project Manager - LabVIEW Real-Time | National Instruments
0 Kudos
Message 8 of 15
(3,506 Views)

I have the 32 bit version of all software and the 32 bit version of the gateway installed.  I removed the last version and reinstalled the 32 bit gateway again to be sure.  The results were the same.

0 Kudos
Message 9 of 15
(3,503 Views)

Hi Ronny,

I have a few more questions to help us debug this issue.  You said you tried the same right-click procedure to create inputs and outputs on a normal script block and it worked as expected.  What specifically do you mean by a "normal script block"?

How did you drop the empty Scilab script node on a blank VI?  Did you drop it from a palette or paste it from another VI?

Can you post an image of your Help >> About LabVIEW screen (feel free to obscure your name, company, and license number)?  If not, can you provide the LabVIEW version number specified from that screen?  There have been a few patches to LabVIEW 2011 and it will help us to reproduce the issue if we know exactly which version you have.  Also on that screen, do you have LabVIEW Base, Full, or Professional (or maybe an Evaluation or Student edition)?  The Scilab script node will not work in LabVIEW Base and the right-click menu will look as you describe.  You can verify your LabVIEW activation in the NI License Manager.

Do you have any other versions of LabVIEW installed on your computer?  Is LabVIEW 2011 the most recent LabVIEW you installed?  How about previous versions of Scilab?  Do any previous versions remain or did you remove a previous version of Scilab AFTER installing Scilab 5.3.3?

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

0 Kudos
Message 10 of 15
(3,496 Views)