Display++ Communication Class.
Copyright ©2014-2022 Ian Max Andolina — released: LGPL3, see LICENCE.md
|
function | plusplusManager (in varargin) |
| Class constructor.
|
|
function | open (in me) |
| reset strobed word
|
|
function | sendStrobe (in me, in value) |
| Prepare and send a strobed word.
|
|
function | prepareStrobe (in me, in value, in mask, in temporary) |
| Prepare and send a strobed word.
|
|
function | triggerStrobe (in me) |
| Prepare and send a strobed word.
|
|
function | sendStrobeAndFlip (in me, in value) |
| Prepare and send a strobed word.
|
|
function | sendTTL (in me, in value, in mask) |
| Prepare and send a TTL.
|
|
function | resetStrobe (in me) |
| reset strobed word
|
|
function | statusScreen (in me) |
| reset strobed word
|
|
function | bitsMode (in me) |
| reset strobed word
|
|
function | monoMode (in me) |
| reset strobed word
|
|
function | colourMode (in me) |
| reset strobed word
|
|
function | close (in me) |
| reset strobed word
|
|
function get | strobeShift (in me) |
| Get method.
|
|
function | startRecording (in me, in value) |
|
function | resumeRecording (in me, in value) |
|
function | pauseRecording (in me, in value) |
|
function | stopRecording (in me, in value) |
|
function | startFixation (in me) |
|
function | correct (in me) |
|
function | incorrect (in me) |
|
function | breakFixation (in me) |
|
function | rstart (in me, in varargin) |
|
function | rstop (in me, in varargin) |
|
function | delete (in me) |
| Delete method, closes DataPixx gracefully.
|
|
function | runTests (in me) |
| Test strobes vis Display++ screen.
|
|
function | optickaCore (in varargin) |
| Class constructor.
|
|
function get | fullName (in me) |
|
function | getALF (in me, in subject, in sessionPrefix, in lab, in create) |
|
function | findAttributes (in me, in attrName, in attrValue) |
|
function | findAttributesandType (in me, in attrName, in attrValue, in type) |
| find properties of object with specific attributes, for example all properties whose GetAcccess attribute is public and type is logical.
|
|
function | findPropertyDefault (in me, in propName) |
|
function | clone (in me) |
| Use this syntax to make a deep copy of the object, i.e. OBJ_OUT has the same field values, but will not behave as a handle-copy of me anymore.
|
|
function | checkSuperclasses (in List) |
|
function | editProperties (in me, in properties) |
| method to modify a set of properties
|
|
function | setProp (in me, in property, in value) |
| method to fast change a particular value. This is useful for use in anonymous functions, like in the state machine.
|
|
function | initialiseGlobals (in me, in doReset, in doOpen) |
|
function | initialiseSaveFile (in me) |
| Initialise Save prefix.
|
|
function | checkPaths (in me) |
| checks the paths are valid
|
|
|
Property | verbose |
| verbosity
|
|
Property | strobeMode |
| use 'plexon' for strobe bit or 'simple' for EEG machine
|
|
Property | strobeLine |
| which digital I/O to use for the strobe trigger
|
|
Property | sM |
| screen manager that handles opening the display++
|
|
Property | mask |
| default mask
|
|
Property | repetitions |
| repetitions of DIO
|
|
Property | command |
| command
|
|
Property | nWindows |
| for simple strobeMode, how many 100musec windows to keep value high?
|
|
Property | sendData |
| computed data packet
|
|
Property | sendMask |
| computed mask
|
|
Property | tempData |
| computed data packet
|
|
Property | tempMask |
| computed mask
|
|
Property | sendValue |
| send this value for the next sendStrobe
|
|
Property | silentMode |
| run even if there is not Display++ attached
|
|
Property | isAttached |
| is there a Display++ attached?
|
|
Property | lastValue |
| last value sent
|
|
Property | name |
| object name
|
|
Property | comment |
| comment
|
|
Property | verbose |
| verbose logging, subclasses must assign this. This is normally logical true/false
|
|
Property | dateStamp |
| clock() dateStamp set on construction
|
|
Property | uuid |
| universal ID
|
|
Property | paths |
| storage of various paths
|
|
Property | fullName |
| The fullName is the object name combined with its uuid and class name.
|
|
|
static function | makeArgs (in args) |
| Converts cell args to structure array.
|
|
static function | addDefaults (in args, in defs) |
| add default options to arg input
|
|
static function | hasKey (in in, in key) |
| check if a struct / object has a propery / field
|
|
static function | getKeys (in device) |
| PTB Get key presses, stops key bouncing.
|
|
function | parseArgs (in me, in args, in allowedProperties) |
| Sets properties from a structure or normal arguments pairs, ignores invalid or non-allowed properties.
|
|
function | addArgs (in me, in args) |
|
function | setPaths (in me) |
| Sets properties from a structure or normal arguments pairs, ignores invalid or non-allowed properties.
|
|
function | getFonts (in me) |
| set paths for object
|
|
function | toStructure (in me) |
| Converts properties to a structure.
|
|
function | getType (in me, in in) |
|
function | logOutput (in me, in in, in message, in override) |
| Give a metaproperty return the likely property class.
|
|
function | salutation (in me, in varargin) |
| Prints messages dependent on verbosity.
|
|
Property | cloning |
| are we cloning this from another object
|
|
Property | mversion |
| Matlab version number, this is transient so it is not saved.
|
|
Property | sansFont |
| sans font
|
|
Property | monoFont |
| monoFont
|
|
Property | className |
| class name
|
|
Property | savePrefix |
| save prefix generated from clock time
|
|
Property | fullName_ |
| cached full name
|
|