MasterScan
Lab_Matlab_control Master Branch
|
Superclass for objects that write data.
The dotsWritable superclass provides a uniform way to write data, such as TTL pulses.
Properties and Events | |
Property | isAvailable = false |
| |
Property | clockFunction |
| |
Methods | |
self | dotsWritable () |
| |
initialize (self, varargin) | |
| |
time | getDeviceTime (self) |
| |
close (self) | |
| |
delete (self) | |
| |
Protected Methods | |
openDevice (self) | |
More... | |
closeDevice (self) | |
More... | |
|
protected |
Locate and acquire input device resources (for subclasses).
Subclasses must redefine openDevice(). They should expect openDevice() to be called during initialize() and when an object is constructed. openDevice() should locate, acquire, configure, etc. major device resources required for reading data. Specific resources relating to device components, like individual buttons of a gamepad, should be handled in openComponents().
openDevice() should return true if resources were successfully acquired and individual components are ready to be opened. Otherwise, openDevice() should return false.
|
protected |
Release input device resources (for subclasses).
Subclasses must redefine closedevice(). Any resources that were acquired by openDevice() should be released. It should be safe to call closeDevice() multiple times in a row.