Thanks to visit codestin.com
Credit goes to docs.google.com

ABCDEFGHIJKLMNOPQRSTUVWXYZ
1
HaltMsg
2
Size = 6Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5
3
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENHALT_FLAGCHK_SUM
4
TypeFixedFixedTypeLengthmsg[0]Sum
5
Value0x040x080x040x01HALT_FLAGCHK_SUM
6
HALT_FLAG = 0x00 - Halt; 0x01 - Run
7
8
9
DeleteScheduleMsg
10
Size = 6Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5
11
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENDEL_SCH_IDCHK_SUM
12
TypeFixedFixedTypeLengthmsg[0]Sum
13
Value0x040x080x120x01DEL_SCH_IDCHK_SUM
14
DEL_SCH_ID = The Schedule ID going to be deleted
15
16
17
ChannelSetupMsg
18
B0-B6Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5
19
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENPortChannelAmplitudeLimit
20
TypeFixedFixedTypeLengthmsg[0]msg[1]
21
Value0x040x080x470x07PortChannelAmplitudeLimit
22
23
B6-B11Byte 6Byte 7Byte 8Byte 9Byte 10Byte 11
24
AddressPW_LimitIP_Delay_HIP_Delay_LAspectRatioAnodeCathodeCHK_SUM
25
Typemsg[2]msg[3]msg[4]msg[5]msg[6]Sum
26
ValuePulseWidthLimitInterphaseDelayAspectRatioAnodeCathodeCHK_SUM
27
PortChannel = Port/Channel number
28
AmplitudeLimit = Amplitude Limit value (Range: 0 to 100, Unit: mA)
29
PulseWidthLimit = Pulse Width Limit value (Range: 0 to 255, Unit: us)
30
InterphaseDelay = interphase delay in usec (Default 50us)
31
AspectRatio = Ratio of phase 1 to phase 2, (Default 0x11 for 1:1)
0 means monophasic phase 1 only, FF means monophasic phase 2 only
Lower nibble is phase 1 and upper nibble is phase 2
32
AnodeCathode = The lower 4 bits specify which physical channel is the cathode and the
upper 4 bits specify which physical channel is the anode.
For 7 monopolar channels, the AnodeCathode setting for each channel
would be: 0x01, 0x02, 0x03, 0x04, 0x05, 0x06, 0x07
For 4 bipolar channels, the AnodeCathode setting for each channel
would be: 0x01, 0x23, 0x45, 0x67
33
34
35
CreateScheduleMsg
36
Size = 8Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7
37
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENSyncSignalDuration_HDuration_LCHK_SUM
38
TypeFixedFixedTypeLengthmsg[0]msg[1]msg[2]Sum
39
Value0x040x080x100x030xAADurationCHK_SUM
40
SyncSignal = 0xAA
41
Duration = Unit in msec , (syncDelay?)
42
43
44
CreateEventMsg
45
B11-B06Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6
46
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENScheduleIDDelay
47
TypeFixedFixedTypeLengthmsg[0]msg[1]msg[2]
48
Value0x040x080x150x09ScheduleIDDelay_HDelay_L
49
50
B5-B0Byte 7Byte 8Byte 9Byte 10Byte 11Byte 12Byte 13
51
AddressPriorityEventTypePortChannelPulseWidthAmplitudeZoneCHK_SUM
52
Typemsg[3]msg[4]msg[5]msg[6]msg[7]msg[8]Sum
53
ValuePriorityEventTypePortChannelPulseWidthAmplitude0x00CHK_SUM
54
Not Sure the Size of CreateEventMsg
55
uint8_t Stim::_crt_evnt1[14] = {0x04, 0x80, 0x15, 0x09, 0x01, 0x00, 0x00, 0x00, 0x03, 0x00, 0x00, 0x00, 0x00, 0x59};
uint8_t Stim::_crt_evnt2[14] = {0x04, 0x80, 0x15, 0x09, 0x01, 0x00, 0x05, 0x00, 0x03, 0x01, 0x00, 0x00, 0x00, 0x53};
uint8_t Stim::_crt_evnt3[14] = {0x04, 0x80, 0x15, 0x09, 0x01, 0x00, 0x0A, 0x00, 0x03, 0x02, 0x00, 0x00, 0x00, 0x4D};
56
ScheduleID start from 1
57
Delay interval should be 2ms
58
PortChannel start from 0
59
60
61
62
ChangeEventMsg
63
Size = 9Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7Byte 8
64
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENEventIDPulseWidthAmplitudeZoneCHK_SUM
65
TypeFixedFixedTypeLengthmsg[0]msg[1]msg[2]msg[3]Sum
66
Value0x040x080x190x04EventIDPulseWidthAmplitude0x00CHK_SUM
67
EventID start from 1
68
PulseWidth = PulseWidth is changed to 0x10 usec
69
Amplitude = Amplitude is changed to 0x10 mA
70
Zone is not implemented
71
72
73
ChangeEventSchedMsg
74
Size = 9Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7Byte 8
75
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENEventIDScheduleIDDelayPriorityCHK_SUM
76
TypeFixedFixedTypeLengthmsg[0]msg[1]msg[2]msg[3]Sum
77
ValueSUR/PERC/ICM0x080x180x04EventIDScheduleIDDelay0x00CHK_SUM
78
EventID start from 1
79
ScheduleID start from 1
80
Delay interval should be 2ms
81
Priority default is 0
82
83
84
ChangeScheduleParameter
85
Size = 9Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5Byte 6Byte 7Byte 8
86
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENScheduleIDSyncSignalIPI_HIPI_LCHK_SUM
87
TypeFixedFixedTypeLengthmsg[0]msg[1]msg[2]msg[3]Sum
88
Value0x040x080x130x04ScheduleID0xAADurationCHK_SUM
89
ScheduleID start from 1
90
PulseWidth = PulseWidth is changed to 0x10 usec
91
Amplitude = Amplitude is changed to 0x10 mA
92
93
94
SyncMsg (Start Schedule)
95
Size = 6Byte 0Byte 1Byte 2Byte 3Byte 4Byte 5
96
AddressDES_ADDRSRC_ADDRMSG_TYPEMSG_LENSyncSignalCHK_SUM
97
TypeFixedFixedTypeLengthmsg[0]Sum
98
Value0x040x080x1b0x01SyncSignalCHK_SUM
99
SyncSignal = 0xAA
100
Start the Schedule using a Sync command with the sync signal specified in the Create Schedule Command (0xAA in this example). The Stimulus module will start to output pulses.