Stimulation codes

  • NB: last update for OpenViBE v1.1.0 (05.oct.2015).

The stimulation codes are stored as 64 bit unsigned integers.

Note: Although OpenViBE does not restrict what numbers can be used as stimulations, in practice the OpenViBE Designer GUI elements only allow those stimuli that have been declared to the OpenViBE kernel’s Type Manager via a C++ call.

Here is a complete list of all stimulations that are declared in OpenViBE by default and their numeric values.

OpenViBE stimulation codes

#define OVTK_StimulationId_BaselineStart                      0x00008007    // 32775
#define OVTK_StimulationId_BaselineStop                       0x00008008    // 32776
#define OVTK_StimulationId_Beep                               0x00008202    // 33282
#define OVTK_StimulationId_Button1_Pressed                    0x00008012    // 32786
#define OVTK_StimulationId_Button1_Released                   0x00008013
#define OVTK_StimulationId_Button2_Pressed                    0x00008014
#define OVTK_StimulationId_Button2_Released                   0x00008015
#define OVTK_StimulationId_Button3_Pressed                    0x00008016
#define OVTK_StimulationId_Button3_Released                   0x00008017
#define OVTK_StimulationId_Button4_Pressed                    0x00008018
#define OVTK_StimulationId_Button4_Released                   0x00008019
#define OVTK_StimulationId_DoubleBeep                         0x00008203    // 33283
#define OVTK_StimulationId_EndOfFile                          0x00008204    // 33284
#define OVTK_StimulationId_ExperimentStart                    0x00008001    // 32769
#define OVTK_StimulationId_ExperimentStop                     0x00008002    // 32770
#define OVTK_StimulationId_Label_00                           0x00008100    // 33024
#define OVTK_StimulationId_Label_01                           0x00008101
#define OVTK_StimulationId_Label_02                           0x00008102
#define OVTK_StimulationId_Label_03                           0x00008103
#define OVTK_StimulationId_Label_04                           0x00008104
#define OVTK_StimulationId_Label_05                           0x00008105
#define OVTK_StimulationId_Label_06                           0x00008106
#define OVTK_StimulationId_Label_07                           0x00008107
#define OVTK_StimulationId_Label_08                           0x00008108
#define OVTK_StimulationId_Label_09                           0x00008109
#define OVTK_StimulationId_Label_0A                           0x0000810a
#define OVTK_StimulationId_Label_0B                           0x0000810b
#define OVTK_StimulationId_Label_0C                           0x0000810c
#define OVTK_StimulationId_Label_0D                           0x0000810d
#define OVTK_StimulationId_Label_0E                           0x0000810e
#define OVTK_StimulationId_Label_0F                           0x0000810f
#define OVTK_StimulationId_Label_10                           0x00008110
#define OVTK_StimulationId_Label_11                           0x00008111
#define OVTK_StimulationId_Label_12                           0x00008112
#define OVTK_StimulationId_Label_13                           0x00008113
#define OVTK_StimulationId_Label_14                           0x00008114
#define OVTK_StimulationId_Label_15                           0x00008115
#define OVTK_StimulationId_Label_16                           0x00008116
#define OVTK_StimulationId_Label_17                           0x00008117
#define OVTK_StimulationId_Label_18                           0x00008118
#define OVTK_StimulationId_Label_19                           0x00008119
#define OVTK_StimulationId_Label_1A                           0x0000811a
#define OVTK_StimulationId_Label_1B                           0x0000811b
#define OVTK_StimulationId_Label_1C                           0x0000811c
#define OVTK_StimulationId_Label_1D                           0x0000811d
#define OVTK_StimulationId_Label_1E                           0x0000811e
#define OVTK_StimulationId_Label_1F                           0x0000811f    // 33055
#define OVTK_StimulationId_LabelEnd                           0x000081ff    // 33279
#define OVTK_StimulationId_LabelStart                         0x00008100    // 33024
#define OVTK_StimulationId_NonTarget                          0x00008206    // 33286
#define OVTK_StimulationId_Number_00                          0x00000000    // 0
#define OVTK_StimulationId_Number_01                          0x00000001
#define OVTK_StimulationId_Number_02                          0x00000002
#define OVTK_StimulationId_Number_03                          0x00000003
#define OVTK_StimulationId_Number_04                          0x00000004
#define OVTK_StimulationId_Number_05                          0x00000005
#define OVTK_StimulationId_Number_06                          0x00000006
#define OVTK_StimulationId_Number_07                          0x00000007
#define OVTK_StimulationId_Number_08                          0x00000008
#define OVTK_StimulationId_Number_09                          0x00000009
#define OVTK_StimulationId_Number_0A                          0x0000000a
#define OVTK_StimulationId_Number_0B                          0x0000000b
#define OVTK_StimulationId_Number_0C                          0x0000000c
#define OVTK_StimulationId_Number_0D                          0x0000000d
#define OVTK_StimulationId_Number_0E                          0x0000000e
#define OVTK_StimulationId_Number_0F                          0x0000000f
#define OVTK_StimulationId_Number_10                          0x00000010
#define OVTK_StimulationId_Number_11                          0x00000011
#define OVTK_StimulationId_Number_12                          0x00000012
#define OVTK_StimulationId_Number_13                          0x00000013
#define OVTK_StimulationId_Number_14                          0x00000014
#define OVTK_StimulationId_Number_15                          0x00000015
#define OVTK_StimulationId_Number_16                          0x00000016
#define OVTK_StimulationId_Number_17                          0x00000017
#define OVTK_StimulationId_Number_18                          0x00000018
#define OVTK_StimulationId_Number_19                          0x00000019
#define OVTK_StimulationId_Number_1A                          0x0000001a
#define OVTK_StimulationId_Number_1B                          0x0000001b
#define OVTK_StimulationId_Number_1C                          0x0000001c
#define OVTK_StimulationId_Number_1D                          0x0000001d
#define OVTK_StimulationId_Number_1E                          0x0000001e
#define OVTK_StimulationId_Number_1F                          0x0000001f    // 31
#define OVTK_StimulationId_NumberEnd                          0x000000ff    // 255
#define OVTK_StimulationId_NumberStart                        0x00000000    // 0
#define OVTK_StimulationId_Reset                              0x00008208    // 33288
#define OVTK_StimulationId_RestStart                          0x00008009    // 32777
#define OVTK_StimulationId_RestStop                           0x0000800a    // 32778
#define OVTK_StimulationId_SegmentStart                       0x00008003    // 32772
#define OVTK_StimulationId_SegmentStop                        0x00008004    // 32774
#define OVTK_StimulationId_Target                             0x00008205    // 33285
#define OVTK_StimulationId_Train                              0x00008201    // 33281
#define OVTK_StimulationId_TrainCompleted                     0x00008207    // 33287
#define OVTK_StimulationId_TrialStart                         0x00008005    // 32773
#define OVTK_StimulationId_TrialStop                          0x00008006    // 32774
#define OVTK_StimulationId_VisualSteadyStateStimulationStart  0x00008010    // 32784
#define OVTK_StimulationId_VisualSteadyStateStimulationStop   0x00008011    // 32785
#define OVTK_StimulationId_VisualStimulationStart             0x0000800b    // 32779
#define OVTK_StimulationId_VisualStimulationStop              0x0000800c    // 32780

GDF stimulation codes translated into OpenViBE

#define OVTK_GDF_Artifact_EOG_Large                               0x101 // 257
#define OVTK_GDF_Artifact_ECG                                     0x102 // 258
#define OVTK_GDF_Artifact_EMG                                     0x103 // 259
#define OVTK_GDF_Artifact_Movement                                0x104 // 260
#define OVTK_GDF_Artifact_Failing_Electrode                       0x105 // 261
#define OVTK_GDF_Artifact_Sweat                                   0x106 // 262
#define OVTK_GDF_Artifact_50_60_Hz_Interference                   0x107 // 263
#define OVTK_GDF_Artifact_Breathing                               0x108 // 264
#define OVTK_GDF_Artifact_Pulse                                   0x109 // 265
#define OVTK_GDF_Artifact_EOG_Small                               0x10A // 266

#define OVTK_GDF_Calibration                                      0x10F // 271

#define OVTK_GDF_EEG_Sleep_Splindles                              0x111 // 273
#define OVTK_GDF_EEG_K_Complexes                                  0x112 // 274
#define OVTK_GDF_EEG_Saw_Tooth_Waves                              0x113 // 275
#define OVTK_GDF_EEG_Idling_EEG_Eyes_Open                         0x114 // 276
#define OVTK_GDF_EEG_Idling_EEG_Eyes_Closed                       0x115 // 277
#define OVTK_GDF_EEG_Spike                                        0x116 // 278
#define OVTK_GDF_EEG_Seizure                                      0x117 // 279

#define OVTK_GDF_VEP                                              0x121 // 289
#define OVTK_GDF_AEP                                              0x122 // 290
#define OVTK_GDF_SEP                                              0x123 // 291
#define OVTK_GDF_TMS                                              0x12F // 303

#define OVTK_GDF_SSVEP                                            0x131 // 305
#define OVTK_GDF_SSAEP                                            0x132 // 306
#define OVTK_GDF_SSSEP                                            0x133 // 307

#define OVTK_GDF_Start_Of_Trial                                   0x300 // 768
#define OVTK_GDF_Left                                             0x301 // 769
#define OVTK_GDF_Right                                            0x302 // 770
#define OVTK_GDF_Foot                                             0x303 // 771
#define OVTK_GDF_Tongue                                           0x304 // 772
#define OVTK_GDF_class5                                           0x305 // 773
#define OVTK_GDF_Down                                             0x306 // 774
#define OVTK_GDF_class7                                           0x307 // 775
#define OVTK_GDF_class8                                           0x308 // 776
#define OVTK_GDF_class9                                           0x309 // 777
#define OVTK_GDF_class10                                          0x30A // 778
#define OVTK_GDF_class11                                          0x30B // 779
#define OVTK_GDF_Up                                               0x30C // 780
#define OVTK_GDF_Feedback_Continuous                              0x30D // 781
#define OVTK_GDF_Feedback_Discrete                                0x30E // 782
#define OVTK_GDF_Cue_Unknown_Undefined                            0x30F // 783
#define OVTK_GDF_Beep                                             0x311 // 785
#define OVTK_GDF_Cross_On_Screen                                  0x312 // 786
#define OVTK_GDF_Flashing_Light                                   0x313 // 787
// SPECIALY ADDED BY YR
#define OVTK_GDF_End_Of_Trial                                     0x320 // 800

#define OVTK_GDF_Correct                                          0x381 // 897
#define OVTK_GDF_Incorrect                                        0x382 // 898
// SPECIALY ADDED BY YR
#define OVTK_GDF_End_Of_Session                                   0x3F2 // 1010
#define OVTK_GDF_Rejection                                        0x3FF // 1023

#define OVTK_GDF_OAHE                                             0x401 // 1025
#define OVTK_GDF_RERA                                             0x402 // 1026
#define OVTK_GDF_CAHE                                             0x403 // 1027
#define OVTK_GDF_CSB                                              0x404 // 1028
#define OVTK_GDF_Sleep_Hypoventilation                            0x405 // 1029
#define OVTK_GDF_Maximum_Inspiration                              0x40E // 1038
#define OVTK_GDF_Start_Of_Inspiration                             0x40F // 1039

#define OVTK_GDF_Wake                                             0x410 // 1040
#define OVTK_GDF_Stage_1                                          0x411 // 1041
#define OVTK_GDF_Stage_2                                          0x412 // 1042
#define OVTK_GDF_Stage_3                                          0x413 // 1043
#define OVTK_GDF_Stage_4                                          0x414 // 1044
#define OVTK_GDF_REM                                              0x415 // 1045

#define OVTK_GDF_Lights_On                                        0x420  // 1056
#define OVTK_GDF_Lights_Off                                       0x8420 // 33824

#define OVTK_GDF_Eyes_Left                                        0x431 // 1073
#define OVTK_GDF_Eyes_Right                                       0x432 // 1074
#define OVTK_GDF_Eyes_Up                                          0x433 // 1075
#define OVTK_GDF_Eyes_Down                                        0x434 // 1076
#define OVTK_GDF_Horizontal_Eye_Movement                          0x435 // 1077
#define OVTK_GDF_Vertical_Eye_Movement                            0x436 // 1078
#define OVTK_GDF_Rotation_Clockwise                               0x437 // 1079
#define OVTK_GDF_Rotation_Counterclockwise                        0x438 // 1080
#define OVTK_GDF_Eye_Blink                                        0x439 // 1081

#define OVTK_GDF_Left_Hand_Movement                               0x441 // 1089
#define OVTK_GDF_Right_Hand_Movement                              0x442 // 1090
#define OVTK_GDF_Head_Movement                                    0x443 // 1091
#define OVTK_GDF_Tongue_Movement                                  0x444 // 1092
#define OVTK_GDF_Swallowing                                       0x445 // 1093
#define OVTK_GDF_Biting                                           0x446 // 1094
#define OVTK_GDF_Foot_Movement                                    0x447 // 1095
#define OVTK_GDF_Foot_Right_Movement                              0x448 // 1096
#define OVTK_GDF_Arm_Movement                                     0x449 // 1097
#define OVTK_GDF_Arm_Right_Movement                               0x44A // 1098

#define OVTK_GDF_ECG_Fiducial_Point_QRS_Complex                   0x501 // 1281
#define OVTK_GDF_ECG_P_Wave                                       0x502 // 1282
#define OVTK_GDF_ECG_QRS_Complex                                  0x503 // 1283
#define OVTK_GDF_ECG_R_Point                                      0x504 // 1284
#define OVTK_GDF_ECG_T_Wave                                       0x506 // 1285
#define OVTK_GDF_ECG_U_Wave                                       0x507 // 1286

#define OVTK_GDF_Start                                            0x580 // 1408
#define OVTK_GDF_25_Watt                                          0x581 // 1409
#define OVTK_GDF_50_Watt                                          0x582 // 1410
#define OVTK_GDF_75_Watt                                          0x583 // 1411
#define OVTK_GDF_100_Watt                                         0x584 // 1412
#define OVTK_GDF_125_Watt                                         0x585 // 1413
#define OVTK_GDF_150_Watt                                         0x586 // 1414
#define OVTK_GDF_175_Watt                                         0x587 // 1415
#define OVTK_GDF_200_Watt                                         0x588 // 1416
#define OVTK_GDF_225_Watt                                         0x589 // 1417
#define OVTK_GDF_250_Watt                                         0x58A // 1418
#define OVTK_GDF_275_Watt                                         0x58B // 1419
#define OVTK_GDF_300_Watt                                         0x58C // 1420
#define OVTK_GDF_325_Watt                                         0x58D // 1421
#define OVTK_GDF_350_Watt                                         0x58E // 1422

#define OVTK_GDF_Condition(i)                                       (i)

#define OVTK_GDF_Start_Of_New_Segment                            0x7FFE // 32766
#define OVTK_GDF_Non_Equidistant_Sampling_Value                  0x7FFF // 32767

This entry was posted in Data formats documentation and tagged . Bookmark the permalink.