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

WG Serial Xcos IO Block

Provides a generic Xcos block that allows to connect embedded hardware IOs to a Xcos simulation.
(2720 downloads for this version - 23191 downloads for all versions)
Details
Version
16.04
A more recent valid version exists: 16.04.1
Author
Klaus Weichinger
Owner Organization
private individual
Maintainer
Klaus Weichinger
Categories
License
Creation Date
April 3, 2016
Source created on
Scilab 5.3.x
Binaries available on
Scilab 5.3.x:
Windows 64-bit Windows 32-bit Linux 64-bit Linux 32-bit MacOSX
Install command
--> atomsInstall("wgserialxcosio")
Description
            wgserialxcosio 16.04
========================================
author: Dipl.-Ing. Klaus Weichinger
email:  snaky.1@gmx.at
web:    bioe.sourceforge.net

!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Developed for Linux and Windows. MacOS functionality unknown. Please give a
feedback if someone have tested it.
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!


1. Function
------------------
  This toolbox provides a XCos block to interface real
  hardware via the serial port to a XCos simulation.
  The block uses a generic approach so that each kind
  and amount of inputs and outputs can be exchanged with
  each embedded device that provides a serial interface.

  Further details can be found within the help system entry or
  an older documentation for a Scicos version of the block
  describes the basics:

  http://bioe.sourceforge.net/scicosserialinterfaceblock/ScicosSerialInterfaceBlock12.05-Manual.pdf

  - Demo for an Arduino system is contained within the
    source package.


2. Licensing
------------------
  The software of this project is distributed under
  the terms and conditions of the
  GNU GENERAL PUBLIC LICENSE Version 3, 29 June 2007.

  The full text version of the license is attached
  within the license.txt file.            
Files (4)
[604.58 kB]
Source code archive
Full functional version to check atom-module and first user feedbacks.
[851.96 kB]
Miscellaneous file
PDF Version of the block help page.
[23.11 kB]
Screenshot
Screenshot of a simple IO demo.
[619.80 kB]
OS-independent binary for Scilab 5.3.x
Binary version
Automatically generated by the ATOMS compilation chain

News (0)
Comments (4)     Leave a comment 
Comment from Mathieu Nierenberger -- April 25, 2016, 11:46:43 AM    
Hello
Thank you very much for this toolbox, which seems very useful. i would like to use it with
my students for projects using Arduino.
I dont't manage to install it on Win7 64bits - Scilab 5.5.2 64bits. Scilab tells me that
"addinter: The shared archive was not loaded: A dynamic link library (DLL)
initialization routine failed."
Did you test it on 64bits systems?

Second question, would it be possible to use the functions that you developped in a scilab
GUI (not in XCos) programmed for data acquisition, and how?

3rd question : What is the maximum sampling frequency that you can reach using this addon
and Arduino?

Thanks in advance for your answers.
Best regards

MN
Answer from Klaus Weichinger -- April 25, 2016, 12:29:44 PM    
ad 1) I have tested this version on XP within a virtual-machine and also older versions on
Win7 64bit.
  But at this moment i do not have the possibility to test Win7 64bit. Maybe within the 
  next days. I will investigate this issue.


ad 2) at this moment there is no possibility to do this using the existing functions.


ad 3) due to Windows the smallest sampling time will be 10ms (more or less accurate).
  In general you can do ECHO tests: e.g. connect an output to  an input. So you can test
  if a written output will be available read back into XCOS in the next cycle.


Regarding your issue, where was the issue with "addinter: The shared archive was not
loaded: A dynamic link library (DLL)
initialization routine failed."


  -> atom package can be installed?
  -> atom package can be loaded?
  -> running xcos simulation?



Klaus
Comment from Mathieu Nierenberger -- April 25, 2016, 12:42:03 PM    
Thank you very much for your answers.
The exact message is in french : 
atomsload : une erreur est survenue au cours du chargement de
"wgserialxcosio-16.04-1":
link : 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é.
The translation of the second part is in my previous message, but addinter was a wrong
translation of the french message.
Thanks
Answer from Klaus Weichinger -- April 25, 2016, 01:26:17 PM    
I tested now: Win7 32bit within an Virtual Machine. The atom package loads and can be used
within XCOS. I do not tested the function of the block them self. I will do....

Win7 64bit... i will investigate within the next days.

Just a guess: Do you can install a 32bit Version of Scilab and try it?!?!?
Comment from Mathieu Nierenberger -- April 25, 2016, 05:37:05 PM    
Just tried it on the computers of my classroom (win 7 32 bits with scilab 32 bits). And 
the install an module work fine. Have to test it with Arduino.
I will reinstall Scilab 32bits on my laptop and test in the next days.
Thanks
Answer from Klaus Weichinger -- April 30, 2016, 02:10:17 PM    
This answer has been deleted.
Comment from LARRY Tichauer -- May 30, 2016, 08:39:24 PM    
Using a virtual 32 bit machine slows the processing down and it would be appreciated if it

could operate on a 64 bit system. Is there any chance of getting this toolbox to load on a

Windows 10 64 bit system?  
Answer from Klaus Weichinger -- May 30, 2016, 08:57:40 PM    
I do not had the possibility to do further investigation. I guess, the __WIN32__ defines
exclude all Functions on Win64 during compilation. But up to no i did not found whats the
define for Windows 64....

But this is just a guess...

##############################################
But you do not have to use a virtual 32bit machine. Just install the 32bit Version of
Scilab within your 64bit Windows.
##############################################
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.