sengupta / scilab-serial Goto Github PK
View Code? Open in Web Editor NEWSerial Communication Toolbox for Scilab
License: GNU General Public License v3.0
Serial Communication Toolbox for Scilab
License: GNU General Public License v3.0
From a comment on the ATOMS page by Samuel Gougeon
Hello,
The constant MSDOS -- for instance used in openserial() -- no
longer exists in Scilab 5.4. Please upgrade using getos() instead.
Regards
Samuel
Guys,
Please advise.
New to Scilab. Very expeienced with LabView and VISA.
Installed Scilab version 6.0.2 on Lenovo laptop running current Windows 10 OS 64 bit.
Obviously no NI interface hardware.
Most modern instruments include USB or Ethernet communication ports.
Additionally, does this toolbox require a separate VISA installation?
If so, which version of VISA? Latest version is 19.
Thanks in advance,
Ted
Get the following message in the console after installing toolbox and restarting Scilab:
Starting the Serial Toolbox
Load macros
Load help
Start VISA Integration Toolbox
Load macros
Load gateways
atomsLoad: An error occurred while loading 'visa-0.9.1':
link: The shared archive was not loaded: The system cannot find the file specified.
Warning : redefining function: startModule . Use funcprot(0) to avoid this message
I am receiving "01 03 02 00 23 f9 9d" via serial COM port in RTU mode, but readSerial gets me "01 03 02 20 20 20 20". [I converted the recieved string character by character like this: buf = readserial(h); ch(i) = ascii(part(buf,i:i)). Might be ugly...]. I copied the readserial function and removed ascii conversion in last line. This solved the problem for me now. Maybe there should be a function like readserial in RTU mode.
Under Ubuntu 11.10, when trying to open a serial port, the machine hangs up on the
openserial command. Even with the the rights to use the serial ports.
Under Windows XP, the serial port communication works except the data returned, which is set to be translated to binary, seems to be an ascii string. Since there are no ascii codes corresponding to the data transmitted, conversion to integers yields incorrect results.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.