Serial ports communication on Windows (Scilab 5.3+)
slCheck — Check availability of a COM port.
slClose — Closes a COM port.
slConfig — Configure a COM port (baudrate, databits, parity and stop bits).
slCount — Counts the available bytes in the receive buffer.
slFlush — Flushes the receive buffer and resets the overflow flag (if set)
slInit — Initializes some internal objects.
slLoad — Loads the library and links functions.
slMount — Creates a handle to a COM port and initializes internal objects.
slOpen — Opens a COM port.
slReadArray — Reads up to 32 bytes of data from the buffer.
slReadByte — Reads a byte from the receive buffer.
slSendArray — Sends an array to the COM port.
slSendByte — Sends a byte to the COM port.
slSendPacket — Sends a DLE STX DATA DLE DLE ETX packet
slSetPacketChar — Allows configuration of the special character byte
slSetPacketEnd — Allows configuration of the 2 packet end bytes
slSetPacketStart — Allows configuration of the 2 packet start bytes
slUMount — Deletes the handle and frees internal objects.
slUnload — Unload the library
slVersion — Returns the version of the library
Tested and supported builts/platforms:
- Scilab 5.3.0-BETA4 (32 bit)
- Scilab 5.3.0 (32 & 64 bit)
- Windows XP Pro and Home (SP3, 32Bit)
- Windows 7 (32 & 64 Bit)
If you need serial ports in Scilab 5+, give it a try.
If it doesn't work:
- Drop me a note and I'll see what I can do.
- Source code is included. Use it ;-)
Packaged as ATOMS module (Allan CORNET - Scilab)
Added x64 version.