Scilab Home Page | Wiki | Bug Tracker | Forge | Mailing List Archives | Scilab Online Help | File Exchange
ATOMS : NIDAQ details
Please login or create an account

NIDAQ

NI-DAQmx interface with Scilab
(764 downloads for this version - 7965 downloads for all versions)
Details
Version
0.3.1
A more recent valid version with binaries for Scilab 5.4 exists: 0.3.2
Authors
Dirk Reusch
Allan CORNET
Owner Organization
individual
Maintainer
Allan Cornet
License
Creation Date
November 21, 2011
Source created on
Scilab 5.4.x
Binaries available on
Scilab 5.4.x:
Windows 32-bit Windows 64-bit
Install command
--> atomsInstall("NIDAQ")
Description
            Connect Scilab to NI Instrumentation Device
 
NIDAQ module:
* Easily configuration of the instrumentation device and read data in Scilab for
immediate analysis.
* Send data over analog and digital output channels provided by the
instrumentation device
* Functions provided to control analog input and output, counter/timer and
digital I/O DAQ device (National Instruments)

based on DAQ Toolbox for Scilab 4.x (http://www.kybdr.de/software) modified
for Scilab 5.3 and ATOMS support

version 0.3.1:
- Same sources as 0.3, but makes it available for Scilab 5.4

version 0.3:

- Scilab 5.3 support (ATOMS format)
- Support NI-DAQmx 9.4.x (http://joule.ni.com/nidu/cds/view/p/id/2604/lang/fr)
- Add DAQ_SystemInfoAttribute function
- 64 bit support for Windows


NIDAQ functions: 
DAQ_Channel_Configuration_and_Creation — DAQ_CreateCOPulseChanFreq 
DAQ_Constants — DAQ 
DAQ_Error_Handling — DAQ_GetExtendedErrorInfo 
DAQ_Read_Functions — DAQ_ReadCounterU32 
DAQ_SystemInfoAttribute — Get some system informations 
DAQ_Task_Configuration_and_Control — DAQ_ResetDevice 
DAQ_Timing — DAQ_CfgImplicitTiming 
DAQ_Triggering — DAQ_CfgAnlgEdgeRefTrig 
DAQ_Write_Functions — DAQ_WriteDigitalScalarU32
            
Files (3)
[74.45 kB]
Source code archive
Same sources as in previous toolbox version, updated to make it available for
Scilab 5.4.0
[89.91 kB]
Windows 32-bit binary for Scilab 5.4.x
Mise à jour du fichier de Description.
[94.38 kB]
Windows 64-bit binary for Scilab 5.4.x
Mise à jour du fichier de Description.
News (0)
Comments (9)     Leave a comment 
Comment from David Violeau -- June 26, 2012, 05:46:16 AM    
I tried to install the Atoms with the 5.4.0 beta but when the atom is loaded it can't load

gateways. I work under Windows seven 64 bits. This is the error :

Start NIDAQ
	Load macros
	Load gateways
atomsLoad : Une erreur est survenue au cours du chargement de 'NIDAQ-0.3.1-0':
	addinter : La bibliothèque partagée n'a pas été chargée: Une routine
d’initialisation 
d’une bibliothèque de liens dynamiques (DLL) a échou
 !--error 10000 

at line     337 of function atomsLoad called by :  
atomsLoad('NIDAQ')

Is there something special to do ? It works 4 months ago.
Thank you in advance
Answer from Vincent Couvert -- November 23, 2012, 05:10:27 PM    
This answer has been deleted.
Answer from Vincent Couvert -- November 23, 2012, 05:11:36 PM    
Hi,

We just updated NIDAQ module for Scilab 5.4.0.

To install this new version (0.3.2), enter atomsSystemUpdate(); in Scilab console and
install the module as usual..

Regards.
> I tried to install the Atoms with the 5.4.0 beta but when the atom is loaded it can't
> load 
> gateways. I work under Windows seven 64 bits. This is the error :
> 
> Start NIDAQ
> 	Load macros
> 	Load gateways
> atomsLoad : Une erreur est survenue au cours du chargement de 'NIDAQ-0.3.1-0':
> 	addinter : La bibliothèque partagée n'a pas été chargée: Une routine
> d’initialisation 
> d’une bibliothèque de liens dynamiques (DLL) a échou
>  !--error 10000 
> 
> at line     337 of function atomsLoad called by :  
> atomsLoad('NIDAQ')
> 
> Is there something special to do ? It works 4 months ago.
> Thank you in advance
Comment from Simon Gareste -- June 26, 2012, 10:03:09 AM    
"it worked 4 months ago" -> on which version of Scilab?
I will take a look at it as soon as I can.
Answer from David Violeau -- July 1, 2012, 02:50:08 PM    
> "it worked 4 months ago" -> on which version of Scilab?
> I will take a look at it as soon as I can.

It works for example on scilab-master-1331542305 (64-bit) (I can't remember the day exactly

of these master-build version).
Thank you for looking at the problem.
Answer from Simon Gareste -- July 2, 2012, 01:49:41 PM    
> > "it worked 4 months ago" -> on which version of Scilab?
> > I will take a look at it as soon as I can.
> 
> It works for example on scilab-master-1331542305 (64-bit) (I can't remember the day
> exactly 
> of these master-build version).
> Thank you for looking at the problem.
For your information, 1331542305 is a timestamp, any tool to convert it will tell you the 
exact date of generation ;)
Because of the moving of the company, I was delayed on this problem, be assure that I do 
not forget it.
Comment from Carlos Garcia-orellana -- October 23, 2012, 01:23:00 PM    
Hello,

Is possible to use NIDAQ with Scilab 5.2.2?

Best regards,

Carlos.
Comment from Eric Nieters -- November 12, 2012, 11:42:27 PM    
Hi,
My boss and I have been trying to run this NI-DAQ module for SciLab 5.4.0, and there
seems to be a shared archive or .dll file missing.  None of the demos run, and I can't 
call the functions that are listed on this page (such as 
DAQ_Channel_Configuration_and_Creation or DAQ_CreateCOPulseChanFreq).  The error at start-
up is as follows:

"Startup execution:
  loading initial environment

Start NIDAQ
        Load macros
        Load gateways
atomsLoad: An error occurred while loading 'NIDAQ-0.3.1-0':
        addinter: The shared archive was not loaded: A dynamic link library (DLL)
initialization routine failed."

Our efforts have resulted in this same error after trying an earlier version of both 
SciLab and NI-DAQ, and it appears that David Violeau was having the same issue in June or 
July, 2012 (although, his message is in French, so I can't be sure).  Has this issue 
already been addressed somewhere?  Is there a patch or easy fix that you could point me 
to?

If you have any advice or if there's a copy of the shared archive somewhere that I could
download, I would very much appreciate some help.

Sincerely,
Eric
Answer from Eric Nieters -- November 13, 2012, 02:16:10 AM    
> Hi,
> My boss and I have been trying to run this NI-DAQ module for SciLab 5.4.0, and there
> seems to be a shared archive or .dll file missing.  None of the demos run, and I can't

> call the functions that are listed on this page (such as 
> DAQ_Channel_Configuration_and_Creation or DAQ_CreateCOPulseChanFreq).  The error at
> start-
> up is as follows:
> 
> "Startup execution:
>   loading initial environment
> 
> Start NIDAQ
>         Load macros
>         Load gateways
> atomsLoad: An error occurred while loading 'NIDAQ-0.3.1-0':
>         addinter: The shared archive was not loaded: A dynamic link library (DLL)
> initialization routine failed."
> 
> Our efforts have resulted in this same error after trying an earlier version of both 
> SciLab and NI-DAQ, and it appears that David Violeau was having the same issue in
June
> or 
> July, 2012 (although, his message is in French, so I can't be sure).  Has this issue 
> already been addressed somewhere?  Is there a patch or easy fix that you could point
me
> 
> to?
> 
> If you have any advice or if there's a copy of the shared archive somewhere that I
> could
> download, I would very much appreciate some help.
> 
> Sincerely,
> Eric

Problem solved!

Sorry to bother you with the previous message/forum comment; we've got a working fix now, 
by using SciLab 5.3.3 and bypassing the ATOMS module manager and just using the command 
line to install the module: atomsInstall('NIDAQ');  For some reason, that worked fine.  
Hope this message helps anyone else who's having this same issue!

-Eric
Answer from Vincent Couvert -- November 23, 2012, 05:11:06 PM    
Hi,

We just updated NIDAQ module for Scilab 5.4.0.

To install this new version (0.3.2), enter atomsSystemUpdate(); in Scilab console and
install the module as usual..

Regards.
> > Hi,
> > My boss and I have been trying to run this NI-DAQ module for SciLab 5.4.0, and
> there
> > seems to be a shared archive or .dll file missing.  None of the demos run, and I
> can't 
> > call the functions that are listed on this page (such as 
> > DAQ_Channel_Configuration_and_Creation or DAQ_CreateCOPulseChanFreq).  The error
> at
> > start-
> > up is as follows:
> > 
> > "Startup execution:
> >   loading initial environment
> > 
> > Start NIDAQ
> >         Load macros
> >         Load gateways
> > atomsLoad: An error occurred while loading 'NIDAQ-0.3.1-0':
> >         addinter: The shared archive was not loaded: A dynamic link library
(DLL)
> > initialization routine failed."
> > 
> > Our efforts have resulted in this same error after trying an earlier version of
> both 
> > SciLab and NI-DAQ, and it appears that David Violeau was having the same issue
in
> June
> > or 
> > July, 2012 (although, his message is in French, so I can't be sure).  Has this
> issue 
> > already been addressed somewhere?  Is there a patch or easy fix that you could
> point me
> > 
> > to?
> > 
> > If you have any advice or if there's a copy of the shared archive somewhere that
I
> > could
> > download, I would very much appreciate some help.
> > 
> > Sincerely,
> > Eric
> 
> Problem solved!
> 
> Sorry to bother you with the previous message/forum comment; we've got a working fix
> now, 
> by using SciLab 5.3.3 and bypassing the ATOMS module manager and just using the
command
> 
> line to install the module: atomsInstall('NIDAQ');  For some reason, that worked fine.

> 
> Hope this message helps anyone else who's having this same issue!
> 
> -Eric
Comment from Eric Nieters -- November 12, 2012, 11:44:03 PM    
This comment has been deleted.
Comment from Florian Benardeau -- November 17, 2012, 12:14:14 PM    
Hello
I tried to install the Atoms with the 5.4.0 final but when the atom is loaded it can't
load
gateways. 

I work under Windows seven 64 bits with SciLab 5.4.0 x64. 

This is the error :

Start NIDAQ
	Load macros
	Load gateways
atomsLoad : Une erreur est survenue au cours du chargement de 'NIDAQ-0.3.1-0':
	addinter : La bibliothèque partagée n'a pas été chargée: Une routine
d’initialisation 
d’une bibliothèque de liens dynamiques (DLL) a échou
 

Is there something special to do ? I tried to install it by command line but it's the
same.

Thank you in advance
Answer from Eric Nieters -- November 19, 2012, 06:12:45 PM    
> Hello
> I tried to install the Atoms with the 5.4.0 final but when the atom is loaded it
can't
> load
> gateways. 
> 
> I work under Windows seven 64 bits with SciLab 5.4.0 x64. 
> 
> This is the error :
> 
> Start NIDAQ
> 	Load macros
> 	Load gateways
> atomsLoad : Une erreur est survenue au cours du chargement de 'NIDAQ-0.3.1-0':
> 	addinter : La bibliothèque partagée n'a pas été chargée: Une routine
> d’initialisation 
> d’une bibliothèque de liens dynamiques (DLL) a échou
>  
> 
> Is there something special to do ? I tried to install it by command line but it's the
> same.
> 
> Thank you in advance

Try uninstalling 5.4.0 and use 5.3.3?  That worked for me.  Good luck!

-Eric
Comment from Eric Nieters -- November 19, 2012, 06:12:08 PM    
This comment has been deleted.
Comment from Florian Benardeau -- November 23, 2012, 12:34:19 PM    
I can't install 5.3.3 because I also use CPGE Module
NIDAQ can't works on scilab 5.4.0 ?
Florian
Comment from Vincent Couvert -- November 23, 2012, 05:10:09 PM    
Hi Florian,

We just updated NIDAQ module for Scilab 5.4.0.

To install this new version (0.3.2), enter atomsSystemUpdate(); in Scilab console and
install the module as usual..

Regards.
Leave a comment
You must register and log in before leaving a comment.
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.