Matlab [CNW:Counter]

CPORT 1.3 Toolbox (cport13.rar) [206k] (cport13.exe) [224k]

New somehow indepently improved version from Andrew Walton (awalton@otter.co.uk).
* Added cportgetint and cportputint (interface for integer values)
* ports can be directed to files (cportopen).
Changes from 1.2b version:
Modified:cportopen,cportconfig,cportwrite,cportgetchar.
New:cportgetint,cportputint.

CPORT 1.2b Toolbox (cport12b.rar) [155k] (cport12b.exe) [180k]

CPORT minitoolbox, version 1.2b
The CPORT minitoolbox supplies basic functions to open, configure, read from and write to serial and parallel ports under Microsoft Windows 95/98 and (maybe) NT. The toolbox is implemented using a series of MEX files and M files. Requires Windows95/98/NT and Matlab 5+ (tested on Win98+5.1).
Included functions:
--------------------------
cportopen - opens a serial or parallel port for use.
cportconfig - returns/modifies the configuration of a port.
cportwrite - writes characters to a port.
cportgetchar - reads characters from a port.
cportgetdouble - reads data (double) from a port.
cportgetline - reads an entire character line from a port.
cportreset - resets a port, retrieves error codes and strings and flushes its buffers.
cportclose - closes an open port.

C sources are also included, as well as .DLL files compiled under Windows95 using the GCC+RSXNT compiler and development tools. Compilation was done according to the batch and configuration files developed by Juergen Bausa (bausa@lfpt.rwth-aachen.de or Juergen.Bausa@T-Online.de). These files can be found in the archive RSXMEX.ZIP, available on the Mathworks web server. The minitoolbox is released into the public domain. Do with it as you will.

Eyal Doron, doron@remon-medical.co.il, July 1999;
Ivo Viscor (Matlab 5.1 problem fix, cportgetchar and cportopen fix, cportgetdouble) !!Now cport works with USB point-of-sale driver!! ivovi@isibrno.cz, January 2001

GPORT 2.0 Toolbox (gport20.rar) [182k] (gport20.exe) [200k]

GPORT minitoolbox, vresion 2.0
The GPORT minitoolbox supplies basic functions to write to and read from GPIB devices under Microsoft Windows 95/98 (NT ?). The toolbox is implemented using a pair of MEX files and M files. The MEX files communicate with a HP's GPIB card through HP SICL (part of HP I/O Libraries) or with an IOTECH's GPIB card through Driver488/W95 package. Requires Windows95/98, HP Standard Instrument Control Library (HP SICL) or IOTECH Driver488/W95 package and Matlab 5+. (Tested on HP 82340 card + Win98 + SICL ver.H.01.02 + Matlab 5.1). (Also tested on IOTECH Personal488 GP488B card + Win98 + Driver488/W95 3.3 + Matlab 5.1). Included functions:
--------------------------
gsend - send a command string to a GPIB device
gget - send a command string to a GPIB device and return a response string from a GPIB device

== example for HP card ==> gsend('hpib7,10', '*RST');
== example for HP card ==> result=gget('hpib7,10', '*IDN?')
== example for IOTECH card ==> gsend('IEEE0,10', '*RST');
== example for IOTECH card ==> result=gget('IEEE0,10', '*IDN?')

C sources are also included, as well as .DLL files compiled under Windows98 using the MSVC6 compiler.
Note: GPORT toolbox can be used for both HP and IOtech cards, probably even in parallel on one PC (not tested). If you have installed only one driver package (SICL or Driver488), an error will occur (can't find DLL..). Please copy necessary DLL files from '\gport\dlls\' directory to '\windows\system\' directory.
The minitoolbox is released into the public domain. Do with it as you will.

Ivo Viscor, ivovi@isibrno.cz, June 2000 (greetings to Eyal Doron)
Version 1.1 (October 2001): gget reads until END (0x0D) character is reached
Version 2.0 (January 2002): support for IOtech's cards (AT488,GP488B,CARD488,PCI488,..)

GPORT 1.1 Toolbox (gport11.rar) [7k] (gport11.exe) [25k]

GPORT minitoolbox, vresion 1.1
The old version of GPORT minitoolbox, for HP SICL only.

INOUTP 1.0 Toolbox (inoutp10.rar) [30k] (inoutp10.exe) [51k]

INOUTP minitoolbox, vresion 1.0
The INOUTP minitoolbox supplies basic functions to read from and write to low-level i/o port under Microsoft Windows 95/98. Improper using can cause windows crash because of conflicts with windows drivers. Requires Windows95/98 and Matlab 5+ (tested on Win98+5.1).
Included functions:
--------------------------
inp - reads value from a port.
outp - writes a value to a port.


Example for LPT control using INOUTP (pptest.m) [5k]

Ivo Viscor, ivovi@isibrno.cz, March 2000, (The INOUTP is released as freeware.)

Try to find more toolboxes for Matlab and more resources for technical computing here: Mathtools.net

Home