|
| MotorControl (void) |
|
| ~MotorControl (void) |
|
virtual void | preConfigure (void) |
|
virtual void | initDevices (void) |
|
virtual void | notify (void) |
|
virtual void | keyPressEvent (QKeyEvent *e) |
|
int | spikes (int trace) |
|
QVBoxLayout * | mainLayout (void) |
|
| Control (const string &name, const string &pluginset="", const string &author="unknown", const string &version="unknown", const string &date=__DATE__) |
|
virtual | ~Control (void) |
|
virtual void | setName (const string &name) |
|
void | start (void) |
|
virtual void | requestStop (void) |
|
bool | wait (double time=-1.0) |
|
virtual void | addActions (QMenu *menu, bool doxydoc) |
|
| RELACSPlugin (const string &configident="", int configgroup=0, const string &name="", const string &pluginset="", const string &author="unknown", const string &version="unknown", const string &date=__DATE__) |
|
virtual | ~RELACSPlugin (void) |
|
QWidget * | widget (void) |
|
void | setWidget (QWidget *widget) |
|
void | setLayout (QLayout *layout) |
|
int | desktopWidth (void) const |
|
int | desktopHeight (void) const |
|
string | pluginSet (void) const |
|
string | uniqueName (void) const |
|
void | setShortUniqueName (void) |
|
void | setLongUniqueName (void) |
|
void | updateUniqueName (void) |
|
const Options & | settings (void) const |
|
Options & | settings (void) |
|
void | setSettings (void) |
|
virtual void | modeChanged (void) |
|
virtual void | notifyMetaData (void) |
|
virtual void | notifyStimulusData (void) |
|
void | setRELACSWidget (RELACSWidget *rw) |
|
virtual string | helpFileName (void) const |
|
const InList & | traces (void) const |
|
const InData & | trace (int index) const |
|
const InData & | trace (const string &ident) const |
|
int | traceIndex (const string &ident) const |
|
string | traceNames (void) const |
|
string | rawTraceNames (void) const |
|
const EventList & | events (void) const |
|
const EventData & | events (int index) const |
|
const EventData & | events (const string &ident) const |
|
const EventData & | stimulusEvents (void) const |
|
const EventData & | restartEvents (void) const |
|
const EventData & | recordingEvents (void) const |
|
int | traceInputTrace (int trace) const |
|
int | traceInputTrace (const string &ident) const |
|
int | traceInputEvent (int trace) const |
|
int | traceInputEvent (const string &ident) const |
|
int | eventInputTrace (int event) const |
|
int | eventInputTrace (const string &ident) const |
|
int | eventInputEvent (int event) const |
|
int | eventInputEvent (const string &ident) const |
|
double | signalTime (void) const |
|
double | currentTime (void) const |
|
double | currentTimeRaw (void) const |
|
void | addTracesEvents (deque< InList * > &data, deque< EventList * > &events) |
|
void | setTracesEvents (const InList &data, const EventList &event) |
|
void | assignTracesEvents (const InList &data, const EventList &events) |
|
void | assignTracesEvents (void) |
|
void | updateDerivedTracesEvents (void) |
|
int | getData (double mintracetime=0.0, double prevsignal=-1000.0) |
|
int | outTracesSize (void) const |
|
int | outTraceIndex (const string &name) const |
|
string | outTraceName (int index) const |
|
string | outTraceNames (void) const |
|
const TraceSpec & | outTrace (int index) const |
|
const TraceSpec & | outTrace (const string &name) const |
|
void | setSignalDelay (int device, double delay) |
|
bool | acquisition (void) const |
|
bool | simulation (void) const |
|
bool | analysis (void) const |
|
bool | idle (void) const |
|
string | modeStr (void) const |
|
Options & | relacsSettings (void) |
|
const Options & | relacsSettings (void) const |
|
void | lockRelacsSettings (void) const |
|
void | unlockRelacsSettings (void) const |
|
QMutex * | relacsSettingsMutex (void) |
|
string | path (void) const |
|
string | addPath (const string &file) const |
|
string | defaultPath (void) const |
|
string | addDefaultPath (const string &file) const |
|
bool | saving (void) const |
|
Options & | stimulusData (void) |
|
const Options & | stimulusData (void) const |
|
int | stimulusDataTraceFlag (void) const |
|
void | lockStimulusData (void) const |
|
void | unlockStimulusData (void) const |
|
QMutex * | stimulusDataMutex (void) |
|
MetaData & | metaData (void) |
|
const MetaData & | metaData (void) const |
|
void | lockMetaData (void) const |
|
void | unlockMetaData (void) const |
|
QMutex * | metaDataMutex (void) |
|
AllDevices * | devices (void) const |
|
Device * | device (const string &ident) |
|
void | updateDeviceMenu (void) |
|
DigitalIO * | digitalIO (const string &ident) |
|
Trigger * | trigger (const string &ident) |
|
Attenuate * | attenuator (const string &name) |
|
Filter * | filter (const string &name) |
|
Filter * | filterTrace (int index) |
|
Filter * | filterTrace (const string &name) |
|
Options & | filterOpts (const string &name) |
|
Options & | filterTraceOpts (int index) |
|
Options & | filterTraceOpts (const string &name) |
|
void | lockFilter (const string &name) |
|
void | lockFilterTrace (int index) |
|
void | lockFilterTrace (const string &name) |
|
void | unlockFilter (const string &name) |
|
void | unlockFilterTrace (int index) |
|
void | unlockFilterTrace (const string &name) |
|
void | autoConfigureFilter (Filter *filter, double tbegin, double tend) |
|
void | autoConfigureFilter (Filter *filter, double duration) |
|
void | autoConfigureFilter (double tbegin, double tend) |
|
void | autoConfigureFilter (double duration) |
|
Filter * | detector (const string &name) |
|
Filter * | detectorEvents (int index) |
|
Filter * | detectorEvents (const string &name) |
|
Options & | detectorOpts (const string &name) |
|
Options & | detectorEventsOpts (int index) |
|
Options & | detectorEventsOpts (const string &name) |
|
void | lockDetector (const string &name) |
|
void | lockDetectorEvents (int index) |
|
void | lockDetectorEvents (const string &name) |
|
void | unlockDetector (const string &name) |
|
void | unlockDetectorEvents (int index) |
|
void | unlockDetectorEvents (const string &name) |
|
void | autoConfigureDetector (Filter *detector, double tbegin, double tend) |
|
void | autoConfigureDetector (Filter *detector, double duration) |
|
void | autoConfigureDetectors (double tbegin, double tend) |
|
void | autoConfigureDetectors (double duration) |
|
double | sessionTime (void) const |
|
string | sessionTimeStr (void) const |
|
bool | sessionRunning (void) const |
|
int | reproCount (void) const |
|
virtual void | sessionStarted (void) |
|
virtual void | sessionStopped (bool saved) |
|
bool | globalKeyEvents (void) |
|
void | setGlobalKeyEvents (bool global=true) |
|
| ConfigDialog (const string &configident="", int configgroup=0, const string &name="", const string &author="", const string &version="", const string &date=__DATE__) |
|
virtual | ~ConfigDialog (void) |
|
string | name (void) const |
|
string | author (void) const |
|
virtual void | setAuthor (const string &author) |
|
string | version (void) const |
|
virtual void | setVersion (const string &version) |
|
string | date (void) const |
|
virtual void | setDate (const string &date) |
|
virtual OptWidget * | dialogOptions (OptDialog *od, string *tabhotkeys=0) |
|
virtual void | dialogButtons (OptDialog *od) |
|
virtual void | dialogEmptyMessage (OptDialog *od) |
|
int | dialogSelectMask (void) const |
|
void | setDialogSelectMask (int mask) |
|
void | addDialogSelectMask (int mask) |
|
int | dialogReadOnlyMask (void) const |
|
void | setDialogReadOnlyMask (int mask) |
|
void | addDialogReadOnlyMask (int mask) |
|
int | dialogStyle (void) const |
|
void | setDialogStyle (int style) |
|
void | addDialogStyle (int style) |
|
string | dialogCaption (void) const |
|
void | setDialogCaption (const string &caption) |
|
bool | dialogHeader (void) const |
|
void | setDialogHeader (bool d) |
|
string | headerBackgroundColor (void) const |
|
void | setHeaderBackgroundColor (const string &color) |
|
string | headerForegroundColor (void) const |
|
void | setHeaderForegroundColor (const string &color) |
|
string | headerImageFile (void) const |
|
void | setHeaderImageFile (const string &file) |
|
virtual void | dialogHeaderWidget (OptDialog *od) |
|
bool | dialogHelp (void) const |
|
void | setDialogHelp (bool d) |
|
string | helpCaption (void) const |
|
void | setHelpCaption (const string &caption) |
|
string | helpPath (int inx=0) const |
|
int | helpPathes (void) const |
|
void | clearHelpPathes (void) |
|
void | setHelpPath (const string &path) |
|
void | addHelpPath (const string &path) |
|
bool | dialogOpen (void) const |
|
bool | helpOpen (void) const |
|
QWidget * | mainWidget (void) |
|
virtual void | setMainWidget (QWidget *widget) |
|
void | lock () const |
|
void | unlock () const |
|
bool | tryLock (int timeout=1) |
|
QMutex * | mutex (void) |
|
| ConfigClass (const string &ident, int group=0, int mode=0xffff, int selectmask=0) |
|
| ConfigClass (const ConfigClass &C) |
|
virtual | ~ConfigClass (void) |
|
const string & | configIdent (void) const |
|
void | setConfigIdent (const string &ident) |
|
int | configGroup (void) const |
|
void | setConfigGroup (int group) |
|
int | configMode (void) const |
|
void | setConfigMode (int mode) |
|
void | addConfigMode (int mode) |
|
void | delConfigMode (int mode) |
|
int | configSelectMask (void) const |
|
void | setConfigSelectMask (int mask) |
|
void | addConfig (void) |
|
void | readConfig (void) |
|
virtual void | readConfig (StrQueue &sq) |
|
virtual void | saveConfig (ofstream &str) |
|
virtual int | configSize (void) const |
|
virtual void | config (void) |
|
virtual void | preConfig (void) |
|
|
enum | Action |
|
virtual void | saveDoxygenOptions (void) |
|
virtual void | saveWidget (void) |
|
virtual void | dialog (void) |
|
virtual void | help (void) |
|
virtual void | notifyDialog (const Options &opt) |
|
void | dialogAccepted (void) |
|
void | dialogAction (int r) |
|
void | dialogClosed (int r) |
|
static void | setConfigureClasses (ConfigureClasses *cfg) |
|
static const int | DeviceId |
|
static const int | AnalogInputId |
|
static const int | AnalogOutputId |
|
static const int | DigitalIOId |
|
static const int | TriggerId |
|
static const int | AttenuatorId |
|
static const int | AttenuateId |
|
static const int | ModelId |
|
static const int | FilterId |
|
static const int | ReProId |
|
static const int | ControlId |
|
static const int | Core |
|
static const int | Plugins |
|
void | startTheSession (void) |
|
void | stopTheSession (void) |
|
void | toggleSession (void) |
|
void | removeFocus (void) |
|
void | muteAudioMonitor (void) |
|
void | unmuteAudioMonitor (void) |
|
virtual void | customEvent (QEvent *qce) |
|
void | widgetDestroyed (QObject *obj) |
|
void | notificationFromDialog (const Parameter &p) |
|
virtual void | dClosed (int r) |
|
virtual void | hClosed (int r) |
|
virtual void | main (void) |
|
bool | interrupt (void) const |
|
bool | waitOnData (double time=MAXDOUBLE) |
|
bool | waitOnReProSleep (double time=MAXDOUBLE) |
|
bool | waitOnReProFinished (double time=MAXDOUBLE) |
|
bool | waitOnSessionStart (double time=MAXDOUBLE) |
|
bool | waitOnSessionPrestop (double time=MAXDOUBLE) |
|
bool | waitOnSessionStop (double time=MAXDOUBLE) |
|
bool | sleep (double t) |
|
void | timeStamp (void) |
|
bool | sleepOn (double t) |
|
virtual void | setPluginSet (const string &pluginset) |
|
void | printlog (const string &s) const |
|
void | warning (const string &s, double timeout=0.0) |
|
void | info (const string &s, double timeout=0.0) |
|
void | postCustomEvent (int type=0) |
|
int | maxVoltages (const InData &data, vector< double > &ranges) const |
|
int | maxValues (const InData &data, vector< double > &ranges) const |
|
void | setGain (const InData &data, int gainindex) |
|
void | adjustGain (const InData &data, double maxvalue) |
|
void | adjustGain (const InData &data, double minvalue, double maxvalue) |
|
void | adjust (const InData &data, double tbegin, double tend, double threshold) |
|
void | adjust (const InData &data, double duration, double threshold) |
|
int | activateGains (void) |
|
Control * | control (int index) |
|
Control * | control (const string &name) |
|
Options & | controlOpts (int index) |
|
Options & | controlOpts (const string &name) |
|
void | lockControl (int index) |
|
void | lockControl (const string &name) |
|
void | unlockControl (int index) |
|
void | unlockControl (const string &name) |
|
Model * | model (void) |
|
Options & | modelOpts (void) |
|
void | lockModel (void) |
|
void | unlockModel (void) |
|
RePros * | repros (void) |
|
Options & | reprosDialogOpts (void) |
|
RePro * | repro (int index) |
|
RePro * | repro (const string &name) |
|
Options & | reproOpts (int index) |
|
Options & | reproOpts (const string &name) |
|
void | lockRePro (int index) |
|
void | lockRePro (const string &name) |
|
void | unlockRePro (int index) |
|
void | unlockRePro (const string &name) |
|
RePro * | currentRePro (void) |
|
Options & | currentReProOpts (void) |
|
void | lockCurrentRePro (void) |
|
void | unlockCurrentRePro (void) |
|
virtual void | keyReleaseEvent (QKeyEvent *event) |
|
virtual bool | eventFilter (QObject *obj, QEvent *event) |
|
void | setWaitMouseCursor (void) |
|
void | restoreMouseCursor (void) |
|
void | setDialogOpen (bool open=true) |
|
void | setHelpOpen (bool open=true) |
|
RELACSWidget * | RW |
|
Options | DialogOptions |
|
[Control] Control widgets for motorized manipulators.
- Author
- Jan Benda
- Bug:
reimplement as thread and avoid use of QTimer!
spikes( int trace ): instead of sessionOpts we should access the spikedtector directly!
check locking!
- Manipulator Control
- The z-axis of the manipulator is moved in steps. Each step has a certain amplitude. To make steps in both directions similar, the amplitude of each step can be different for upwards and downwards movements. This can be controlled by the asymmetry factor.
Parameter:
- speed: The speed is the number of steps executed at once.
- amplitude: The amplitude of a single step (1-80)
- asymmetry: The asymmetry between upwards and downwards amplitudes. 1.0: both amplitudes are equal.
- interval: The minimum interval between successive movements.
Buttons:
- clear: The clear button resets the position to zero.
- home: Move the manipulator back to position zero.
- go: Advance the manipulator every interval ms by speed steps until a spiking neuron is encountered.
- stop: Stop automatic advance.
Key-Shortcuts for Manipulator 1:
Up:
Move manipulator 1 up.
Down:
Move manipulator 1 down.
Shift+
Up:
Increase speed of manipulator 1.
Shift+
Down:
Decrease speed of manipulator 1.
Alt+
Up: Increase amplitude of manipulator 1.
Alt+
Down:
Decrease amplitude of manipulator 1.
Ctrl+
Up:
Increase interval of manipulator 1.
Ctrl+
Down:
Decrease interval of manipulator 1.
G:
Toggel go/stop for manipulator 1.
Key-Shortcuts for Manipulator 1:
Left:
Move manipulator 2 up.
Right:
Move manipulator 2 down.
Shift+
Left:
Increase speed of manipulator 2.
Shift+
Right:
Decrease speed of manipulator 2.
Alt+
Left: Increase amplitude of manipulator 2.
Alt+
Right:
Decrease amplitude of manipulator 2.
Ctrl+
Left:
Increase interval of manipulator 2.
Ctrl+
Right:
Decrease interval of manipulator 2.
H:
Toggel go/stop for manipulator 2.
- Options
minrate=20Hz
: Minimum Rate (number
)
minsize=20mV
: Minimum Size (number
)
- Version
- 1.0 (Jul 1 2004)