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:
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:
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]);
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]);
Additions:
[nwritten, when, errmsg] = IOPort('Write', handle, data [, blocking=0]);
Deletions:
[nwritten, when, errmsg] = IOPort('Write', handle, data [, nonBlocking=0]);
Additions:
""<!--protected-->""
Deletions:
<!--protected-->
No Differences
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
No Differences
Additions:
==== Goal ====
Deletions:
===== Goal =====
Additions:
===== Goal =====
Deletions:
=== Goal ===
For explanation of any particular [[IOPort]] function, just add a question
[[IOPort]]('OpenSerialPort?')
[[IOPort]] OpenSerialPort?
Additions:
%IOPort - A Psychtoolbox driver for general port I/O:
Deletions:
IOPort - A Psychtoolbox driver for general port I/O:
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-->
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:
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]]
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]