Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : VISA Signal Acquisition and Instrument Control Toolbox details
Login with GitLab

VISA Signal Acquisition and Instrument Control Toolbox

Interface with National Instrument's Virtual Instrument Software Architecture (VISA)
(7130 downloads for this version - 25245 downloads for all versions)
Details
Version
0.9.0
A more recent valid version with binaries for Scilab exists: 0.9.1
Author
Scilab Enterprises
Owner Organization
Scilab Enterprises
Maintainers
Yann DEBRAY
Clement DAVID
Francois Granade
Categories
Creation Date
February 11, 2016
Source created on
No source archive has been provided for this toolbox version.
Binaries available on
Scilab 5.5.x:
Windows 64-bit Windows 32-bit
Install command
--> atomsInstall("visa")
Description
            This is the first version of this VISA toolbox for signal acquisition and
instrument control. 

This toolbox provides an universal interface for measurement device from most of
the device suppliers on the market (National Instrument, Agilent/HP, ... ),
including:

- Digital multimeter (DMM)
- Oscilloscope
- Arbitrary waveform/function generator
- DC power supply
- AC power supply
- Switch
- Power meter
- Spectrum analyzer
- RF signal generator
- Upconverter
- Downconverter
- Digitizer
- Counter/timer


This is a beta version, for community evaluation. 

The Virtual Instrument Software Architecture (VISA) is a standard for
configuring, programming, and troubleshooting instrumentation systems comprising
GPIB, VXI, PXI, Serial, Ethernet, and/or USB interfaces. VISA provides the
programming interface between the hardware and development environments.

Requirement:
Appropriate hardware, in the form of a National Instruments GPIB,GPIB-VXI,
MXI/VXI or serial interface board.
For GPIB applications, install NI-488. For VXI applications, install NI-VXI. For
other hardware interfaces, NI-VISA uses the system’s standard drivers.
NI-VISA distribution media
            
Files (3)
[244.18 kB]
Miscellaneous file
Scilab-VISA User Manual
[303.75 kB]
Windows 64-bit binary for Scilab 5.5.x
Windows 64-bit
[286.00 kB]
Windows 32-bit binary for Scilab 5.5.x
Windows 32-bit - built against NI-VISA 5.3
News (0)
Comments (7)     Leave a comment 
Comment from Stephane Pisani -- February 17, 2016, 03:23:49 PM    
I did the installation but I get an error during the Load sequence :
"
Start VISA Integration Toolbox
	Load macros
	Load gateways
atomsLoad : error during load 'visa-0.9.0-0':
	addinter : share librarie isn't loaded : Unknown Error"

Does someone could help me ?

Answer from Clement DAVID -- February 17, 2016, 03:26:51 PM    
> I did the installation but I get an error during the Load sequence :
> "
> Start VISA Integration Toolbox
> 	Load macros
> 	Load gateways
> atomsLoad : error during load 'visa-0.9.0-0':
> 	addinter : share librarie isn't loaded : Unknown Error"
> 
> Does someone could help me ?

Do you have NI-VISA installed ? Did you download VISA x86 on an Scilab x86 or VISA x64 on
Scilab x64 ?
Answer from Stephane Pisani -- February 17, 2016, 04:07:18 PM    
> > I did the installation but I get an error during the Load sequence :
> > "
> > Start VISA Integration Toolbox
> > 	Load macros
> > 	Load gateways
> > atomsLoad : error during load 'visa-0.9.0-0':
> > 	addinter : share librarie isn't loaded : Unknown Error"
> > 
> > Does someone could help me ?
> 
> Do you have NI-VISA installed ? Did you download VISA x86 on an Scilab x86 or VISA
x64
> on
> Scilab x64 ?


Yes, I have Ni-Visa 488-2 (version 2.81) and Scilab 5.5.2 (windows 7 32 bits).
Answer from Clement DAVID -- February 17, 2016, 07:28:18 PM    
> > Do you have NI-VISA installed ? Did you download VISA x86 on an Scilab x86 or
VISA
> x64
> > on
> > Scilab x64 ? 
> Yes, I have Ni-Visa 488-2 (version 2.81) and Scilab 5.5.2 (windows 7 32 bits).

Can you try upgrading to the latest NI-VISA 15.0.1 (we built against this version) ?
Answer from Stephane Pisani -- February 19, 2016, 12:42:01 PM    
> > > Do you have NI-VISA installed ? Did you download VISA x86 on an Scilab x86
or
> VISA
> > x64
> > > on
> > > Scilab x64 ? 
> > Yes, I have Ni-Visa 488-2 (version 2.81) and Scilab 5.5.2 (windows 7 32 bits).
> 
> Can you try upgrading to the latest NI-VISA 15.0.1 (we built against this version) ?

Hi,

I did the NI-VISA upgrade, now my config is NI-VISA 15.0.1 and Scilab 5.5.2 (under Windows
7 - 32 bits).
After that I did the following sequence:
1) Uninstall Visa Toolbox.
2) Restart Scilab
3) Installed again the Visa Toolbox => atoms("path+file.zp") ->
installation successful
4) atomsLoad("visa") -> No error message in console.
5) Restart Scilab
=> error message appears during load sequence.
--------------------------------------------------------------------------------------- 
Start VISA Integration Toolbox
	Load macros
	Load gateways
atomsLoad : Une erreur est survenue au cours du chargement de 'visa-0.9.0':
	addinter : La bibliothèque partagée n'a pas été chargée: Unknown Error
--------------------------------------------------------------------------------------- 

Do you have any suggestion ?
Answer from Clement DAVID -- February 23, 2016, 05:08:30 PM    
 
> I did the NI-VISA upgrade, now my config is NI-VISA 15.0.1 and Scilab 5.5.2 (under
> Windows
> 4) atomsLoad("visa") -> No error message in console.
> 5) Restart Scilab
> => error message appears during load sequence.
>
---------------------------------------------------------------------------------------
> 
> Start VISA Integration Toolbox
> 	Load macros
> 	Load gateways
> atomsLoad : Une erreur est survenue au cours du chargement de 'visa-0.9.0':
> 	addinter : La bibliothèque partagée n'a pas été chargée: Unknown Error
>
---------------------------------------------------------------------------------------
> 
> 
> Do you have any suggestion ?

Something might be wrong with the 0.9.0-1 version as I built it using cross-compilation. I
just updated the toolbox to another build 0.9.0-2 on a clean x86 environment (Windows,
Scilab, NI-VISA) and the tests pass on this machine. Can you re-check please ?
Comment from Nikolay Strelkov -- February 18, 2016, 02:44:30 PM    
We have NI PXI-1033. It works as expected with NI software.

I have installed Scilab 5.5.2 x86 and x64 on Windows 7 x64 PC, connected to this chassis.
NI MAX says that I have NI-VISA 5.0.
I installed Scilab VISA module with atomsInstall command.

On both Scilabs (x86 and x64) I have identical error messages:

	Startup execution:
	  loading initial environment

	Start VISA Integration Toolbox
		Load macros
		Load gateways
	atomsLoad: An error occurred while loading 'visa-0.9.0-0':
		addinter: The shared archive was not loaded: Unknown Error
 
I tried to run DependencyWalker (http://www.dependencywalker.com/) against
scilab_visa.dll - it says that visa32.dll is 
found for 32-bit Scilab.

I tried more recent versions of NI-VISA - 14.0 (as you recommend here - http://www.scilab.org/scilab/modules/visa-toolbox)

and 15.0.1 (as you recommend here - https://atoms.scilab.org/toolboxes/visa/0.9.0#comment2525).
With both of them I get the similar error on atomsLoad.

What should I do?
Comment from Nikolay Strelkov -- February 18, 2016, 02:57:03 PM    
Also we have NI PXI-1050. It works as expected with NI software.

I have installed Scilab 5.5.2 x86 Windows XP SP3 PC, inside this chassis.
NI MAX says that I have NI-VISA 5.0.
I installed Scilab VISA module with atomsInstall command. It loads without problems.

But when I try to access PXI devices with the following code I get errors:

// code
clc
mode(0)
format(20)

[status, deviceDescriptors] = findAllInstruments(); status
[status, defaultRM] = viOpenDefaultRM(); status
d = 2;

[status, instr] = viOpen(defaultRM, deviceDescriptors(d),
viGetDefinition("VI_NULL"), 
viGetDefinition("VI_NULL")); status

[status, count] = viWrite(instr, "*IDN?")
[status, bufferOut, count] = viRead(instr, 255)

viClose(instr);
viClose(defaultRM);

// console output
  status  =
 
  - 1073807343.  // = VI_ERROR_RSRC_NFOUND
 status  =
 
    0.  
 status  =
 
    0.  
 count  =
 
    0.  
 status  =
 
  - 1073807339.  // = VI_ERROR_TMO
 count  =
 
    0.  
 bufferOut  =
 
    
 status  =
 
  - 1073807339.  // = VI_ERROR_TMO
 

I do not want to upgrade NI-VISA here because of low performance of this chassis (it will 
took many hours).
So your toolbox works with Windows XP.
Comment from Millet Fabien -- March 10, 2016, 07:39:29 AM    
Hello Clément,

I've tried now to test on scilab 5.5.2 with the version of this toolbox 0.9.0 and I still
get the message (64bit versions): 

atomsLoad: An error occurred while loading 'visa-0.9.0':
	addinter: The shared archive was not loaded: Unknown Error

Even if I install the VS 15 runtime library as you told me (where it has worked for the
scilab 6.0 and toolbox 0.9.1)

If I compare both scilab_visa.dll with Dependency Walker;

only this one is not finding entry point for the version of scilab 5.5.2
MSVCR120.DLL

Do I need to install another type of dll library to make it works also on scilab 5.5.2?

Thanks.
Fabien
Comment from Jodi ~~ -- May 24, 2016, 11:00:27 PM    
Hi there,

I've got the same problem. Following a copy and paste of my Scilab console:

-------------------------------------------------------------------------------------
Startup execution:
  loading initial environment

Start VISA Integration Toolbox
	Load macros
atomsLoad: An error occurred while loading 'visa-0.9.0':
	File "C:\Programs\SCILAB~1.2\contrib\visa\091E4C~1.0\macros\names" does not 
exist or read access denied.

-->atomsLoad("visa")

Start VISA Integration Toolbox
	Load macros
atomsLoad: An error occurred while loading 'visa-0.9.0':
	File "C:\Programs\SCILAB~1.2\contrib\visa\091E4C~1.0\macros\names" does not 
exist or read access denied.
 !--error 10000 

at line     335 of function atomsLoad called by :  
atomsLoad("visa")
-------------------------------------------------------------------------------------


My configarion is:
- Scilab 5.5.2 x64 on Windows7 PC
- visa_0.9.1-2.bin.windows.zip (I've tried to install x64 version but always return 
an error)
- NI-488.2 version 14.0


Any suggestions?

Cheers,
Jodi.
Comment from George John -- January 3, 2017, 06:28:31 AM    
Hi,
Can you tell me why the following problem arose and how you debugged it?

atomsLoad : error during load 'visa-0.9.0-0':
addinter : share librarie isn't loaded : Unknown Error"

I am also facing the same problem.

Cheers,
Georgey
Leave a comment
You must register and log in before leaving a comment.
Login with GitLab
Email notifications
Send me email when this toolbox has changes, new files or a new release.
You must register and log in before setting up notifications.