NEWEST VERSION ALWAYS AVAILABLE FROM:
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
slCount — Counts the available bytes in receive buffer.
slFlush — Flushes the receive buffer and resets the OV flag.
slInit — Initializes some internal objects.
slLoad — Loads the library and links functions.
slMount — Creates a handle to a COM port.
slOpen — Opens a COM port.
slReadArray — Reads up to 32 bytes of data from the buffer.
slReadArrayN — Read an arbitrary amount 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 ;-)
Added x64 version (ASkr)
Packaged as ATOMS module (Allan CORNET - Scilab)
Updated to V0.4, included function slReadArrayN
x64 version pending (still V0.3)