Opticka 2.16.1
Opticka is an experiment manager for behavioral research.
Loading...
Searching...
No Matches
plusplusManager Class Reference

Display++ Communication Class. More...

Detailed Description

Display++ Communication Class.

Copyright ©2014-2022 Ian Max Andolina — released: LGPL3, see LICENCE.md

Inheritance diagram for plusplusManager:

Public Member Functions

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.
 
- Public Member Functions inherited from optickaCore
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
 

Public Attributes

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
 
- Public Attributes inherited from optickaCore
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.
 

Additional Inherited Members

- Static Public Member Functions inherited from optickaCore
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.
 
- Protected Member Functions inherited from optickaCore
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.
 
- Protected Attributes inherited from optickaCore
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
 

Constructor & Destructor Documentation

◆ plusplusManager()

function plusplusManager::plusplusManager ( in  varargin)

Class constructor.

Parameters
<br>

Member Function Documentation

◆ bitsMode()

function plusplusManager::bitsMode ( in  me)

reset strobed word

Parameters
valueof the 15bit strobed word

◆ breakFixation()

function plusplusManager::breakFixation ( in  me)
Parameters
<br>

◆ close()

function plusplusManager::close ( in  me)

reset strobed word

Parameters
valueof the 15bit strobed word

◆ colourMode()

function plusplusManager::colourMode ( in  me)

reset strobed word

Parameters
valueof the 15bit strobed word

◆ correct()

function plusplusManager::correct ( in  me)
Parameters
<br>

◆ delete()

function plusplusManager::delete ( in  me)

Delete method, closes DataPixx gracefully.

◆ incorrect()

function plusplusManager::incorrect ( in  me)
Parameters
<br>

◆ monoMode()

function plusplusManager::monoMode ( in  me)

reset strobed word

Parameters
valueof the 15bit strobed word

◆ open()

function plusplusManager::open ( in  me)

reset strobed word

Parameters
valueof the 15bit strobed word

◆ pauseRecording()

function plusplusManager::pauseRecording ( in  me,
in  value 
)
Parameters
<br>

◆ prepareStrobe()

function plusplusManager::prepareStrobe ( in  me,
in  value,
in  mask,
in  temporary 
)

Prepare and send a strobed word.

Parameters
valuethe strobe word value
maskthe mask to send
temporaryif true we don't change sendStrobe value

◆ resetStrobe()

function plusplusManager::resetStrobe ( in  me)

reset strobed word

Parameters
valueof the 15bit strobed word

◆ resumeRecording()

function plusplusManager::resumeRecording ( in  me,
in  value 
)
Parameters
<br>

◆ rstart()

function plusplusManager::rstart ( in  me,
in  varargin 
)
Parameters
<br>

◆ rstop()

function plusplusManager::rstop ( in  me,
in  varargin 
)
Parameters
<br>

◆ runTests()

function plusplusManager::runTests ( in  me)

Test strobes vis Display++ screen.

◆ sendStrobe()

function plusplusManager::sendStrobe ( in  me,
in  value 
)

Prepare and send a strobed word.

Parameters
value

◆ sendStrobeAndFlip()

function plusplusManager::sendStrobeAndFlip ( in  me,
in  value 
)

Prepare and send a strobed word.

Parameters
value

◆ sendTTL()

function plusplusManager::sendTTL ( in  me,
in  value,
in  mask 
)

Prepare and send a TTL.

Parameters
<br>

◆ startFixation()

function plusplusManager::startFixation ( in  me)
Parameters
<br>

◆ startRecording()

function plusplusManager::startRecording ( in  me,
in  value 
)
Parameters
<br>

◆ statusScreen()

function plusplusManager::statusScreen ( in  me)

reset strobed word

Parameters
valueof the 15bit strobed word

◆ stopRecording()

function plusplusManager::stopRecording ( in  me,
in  value 
)
Parameters
<br>

◆ strobeShift()

function get plusplusManager::strobeShift ( in  me)

Get method.

Parameters

◆ triggerStrobe()

function plusplusManager::triggerStrobe ( in  me)

Prepare and send a strobed word.

Parameters
value

Member Data Documentation

◆ command

Property plusplusManager::command

command

◆ isAttached

Property plusplusManager::isAttached

is there a Display++ attached?

◆ lastValue

Property plusplusManager::lastValue

last value sent

◆ mask

Property plusplusManager::mask

default mask

◆ nWindows

Property plusplusManager::nWindows

for simple strobeMode, how many 100musec windows to keep value high?

◆ repetitions

Property plusplusManager::repetitions

repetitions of DIO

◆ sendData

Property plusplusManager::sendData

computed data packet

◆ sendMask

Property plusplusManager::sendMask

computed mask

◆ sendValue

Property plusplusManager::sendValue

send this value for the next sendStrobe

◆ silentMode

Property plusplusManager::silentMode

run even if there is not Display++ attached

◆ sM

Property plusplusManager::sM

screen manager that handles opening the display++

◆ strobeLine

Property plusplusManager::strobeLine

which digital I/O to use for the strobe trigger

◆ strobeMode

Property plusplusManager::strobeMode

use 'plexon' for strobe bit or 'simple' for EEG machine

◆ tempData

Property plusplusManager::tempData

computed data packet

◆ tempMask

Property plusplusManager::tempMask

computed mask

◆ verbose

Property plusplusManager::verbose

verbosity


The documentation for this class was generated from the following file: