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

cserial toolbox

Serial port C MEX functions
(25 downloads for this version - 25 downloads for all versions)
Details
Version
1.0.0
Author
Allan CORNET (Nelson software)
Owner Organization
Nelson software
Maintainer
Software Nelson
License
Creation Date
June 29, 2020
Source created on
Scilab 6.1.x
Binaries available on
The maintainer of this module has not provided binaries.
Description
            C MEX interface for serial port.
 Compatible with all software supporting C MEX API.
 List of builtin availables
    - getPortNames() returns a cell with available ports.
    - id = openPort(port, baudrate [, databits [, stopbits, [parity,
[flowcontrol, [rtscontrol]]]]])
 supported baud rate: 0, 50, 100, 110, 134, 150, 200, 300, 600, 1200, 1800,
2400, 4800, 9600, 19200, 38400, 115200, or 921600.
 data bits: 5, 6, 7, or 8.
 stop bits: 0 or 1.
 parity: 'none', 'odd' or 'even'.
 flowcontrol: 'none', 'hard' or 'soft'.
 rtscontrol: 'none', 'hard', 'soft', or 'best'.
    - [data, nbBytesReceived] = readPort(id, numBytesToRead) read data.
    - writePort(id, data) write data on serial port. data must be uint8 or
char.
    - closePort(id) closes an port opened.
    - flushPort(id) flushs desired port.
    - st = getPortConfig(id) returns struct with port informations.
            
Files (1)
[68.75 kB]
Source code archive

News (0)
Comments (0)
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.