Docs @ Psychtoolbox Wiki : IOPort

Search PTB Function help:
homepsychtoolbox.orgpage updateslogin

Revision [14043]

Last edited on 2011-07-05 05:49:29 by ZweiWolf
Additions:
% IOPort - A Psychtoolbox driver for general port I/O:
% General information:
% General commands for all types of input/output ports:
% Commands specific to serial ports:
Deletions:
IOPort - A Psychtoolbox driver for general port I/O:
General information:
General commands for all types of input/output ports:
Commands specific to serial ports:


Revision [14042]

Edited on 2011-07-05 05:48:58 by ZweiWolf
Additions:
IOPort - A Psychtoolbox driver for general port I/O:
General information:
General commands for all types of input/output ports:
Commands specific to serial ports:
Deletions:
%IOPort - A Psychtoolbox driver for general port I/O:
% General information:
% General commands for all types of input/output ports:
%Commands specific to serial ports:


Revision [9659]

Edited on 2009-08-25 08:02:27 by ZweiWolf [Manually update protected IOPort page]
Additions:
devices, but implemented differently on each of them. An example would be
sending of trigger signals: The step to send a trigger signal is always
send triggers is different for different devices. IOPort tries to provide
IOPort takes care of the nitty gritty differences between different
So far the theory. The current implementation of IOPort only provides
[nwritten, when, errmsg, prewritetime, postwritetime, lastchecktime] = IOPort('Write', handle, data [, blocking=1]);
%Commands specific to serial ports:
[handle, errmsg] = IOPort('OpenSerialPort', port [, configString]);
Deletions:
devices, but implemented differently on each of them. An example would
be sending of trigger signals: The step to send a trigger signal is always
send triggers is different for different devices. [[IOPort]] tries to provide
[[IOPort]] takes care of the nitty gritty differences between different
So far the theory. The current implementation of [[IOPort]] only provides
[nwritten, when, errmsg] = IOPort('Write', handle, data [, blocking=1]);
% Commands specific to serial ports:
handle = IOPort('OpenSerialPort', port [, configString]);


Revision [7262]

Edited on 2008-09-18 10:45:25 by ZweiWolf [also replace the second occurence of nonBlocking]
Additions:
[nwritten, when, errmsg] = IOPort('Write', handle, data [, blocking=1]);
[data, when, errmsg] = IOPort('Read', handle [, blocking=0] [, amount]);
Deletions:
[nwritten, when, errmsg] = IOPort('Write', handle, data [, blocking=0]);
[data, when, errmsg] = IOPort('Read', handle [, nonBlocking=1] [, amount]);


Revision [7260]

Edited on 2008-09-16 12:30:24 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
[nwritten, when, errmsg] = IOPort('Write', handle, data [, blocking=0]);
Deletions:
[nwritten, when, errmsg] = IOPort('Write', handle, data [, nonBlocking=0]);


Revision [6944]

Edited on 2008-07-10 15:23:47 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
""<!--protected-->""
Deletions:
<!--protected-->


Revision [6941]

Edited on 2008-07-10 15:20:31 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]

No Differences

Revision [6940]

Edited on 2008-07-10 15:20:18 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
devices, but implemented differently on each of them. An example would
be sending of trigger signals: The step to send a trigger signal is always
Deletions:
devices, but implemented differently on each of them. An example would be
sending of trigger signals: The step to send a trigger signal is always


Revision [6939]

Edited on 2008-07-10 15:19:34 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]

No Differences

Revision [6938]

Edited on 2008-07-10 15:19:13 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
==== Goal ====
Deletions:
===== Goal =====


Revision [6937]

Edited on 2008-07-10 15:19:01 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
===== Goal =====
Deletions:
=== Goal ===
For explanation of any particular [[IOPort]] function, just add a question
[[IOPort]]('OpenSerialPort?')
[[IOPort]] OpenSerialPort?


Revision [6936]

Edited on 2008-07-10 15:18:28 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
%IOPort - A Psychtoolbox driver for general port I/O:
Deletions:
IOPort - A Psychtoolbox driver for general port I/O:


Revision [6935]

Edited on 2008-07-10 15:18:02 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
>> ====Inside MATLAB: ====
IOPort has many functions; type "IOPort" for a list:
%%(matlab)IOPort%%
For explanation of any particular IOPort function, just add a question
%%(matlab)IOPort('OpenSerialPort?')
IOPort OpenSerialPort?%%>>
<!--protected-->


Revision [6934]

Edited on 2008-07-10 15:15:58 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
% General information:
% General commands for all types of input/output ports:
% Commands specific to serial ports:
Deletions:
General information:
General commands for all types of input/output ports:
Commands specific to serial ports:


Revision [6933]

Edited on 2008-07-10 15:15:13 by ZweiWolf [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Additions:
====Usage:====
''The {{color hex="#993333" text="red keywords"}} are links for per-function documentation!''
%%(matlab)
IOPort - A Psychtoolbox driver for general port I/O:
General information:
version = IOPort('Version');
oldlevel = IOPort('Verbosity' [,level]);
General commands for all types of input/output ports:
IOPort('Close', handle);
IOPort('CloseAll');
[nwritten, when, errmsg] = IOPort('Write', handle, data [, nonBlocking=0]);
IOPort('Flush', handle);
[data, when, errmsg] = IOPort('Read', handle [, nonBlocking=1] [, amount]);
navailable = IOPort('BytesAvailable', handle);
IOPort('Purge', handle);
Commands specific to serial ports:
handle = IOPort('OpenSerialPort', port [, configString]);
IOPort('ConfigureSerialPort', handle, configString);
%%
Deletions:
=== Usage ===
[[IOPort]] has many functions; type "[[IOPort]]" for a list:
[[IOPort]]


Revision [6864]

The oldest known version of this page was created on 2008-06-22 12:01:35 by DocBot [change nonBlocking to blocking to sync with IOPort.mexmaci change]
Valid XHTML 1.0 Transitional :: Valid CSS :: Powered by WikkaWiki
Page was generated in 0.0277 seconds