-
Notifications
You must be signed in to change notification settings - Fork 2
/
abf2struct_packedsizes.txt
272 lines (261 loc) · 15.2 KB
/
abf2struct_packedsizes.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
struct ABF_ADCInfo {
char ABF_ADCInfo.nADCNum 0 2
char ABF_ADCInfo.nTelegraphEnable 2 2
char ABF_ADCInfo.nTelegraphInstrument 4 2
float ABF_ADCInfo.fTelegraphAdditGain 6 4
float ABF_ADCInfo.fTelegraphFilter 10 4
float ABF_ADCInfo.fTelegraphMembraneCap 14 4
char ABF_ADCInfo.nTelegraphMode 18 2
float ABF_ADCInfo.fTelegraphAccessResistance 20 4
char ABF_ADCInfo.nADCPtoLChannelMap 24 2
char ABF_ADCInfo.nADCSamplingSeq 26 2
float ABF_ADCInfo.fADCProgrammableGain 28 4
float ABF_ADCInfo.fADCDisplayAmplification 32 4
float ABF_ADCInfo.fADCDisplayOffset 36 4
float ABF_ADCInfo.fInstrumentScaleFactor 40 4
float ABF_ADCInfo.fInstrumentOffset 44 4
float ABF_ADCInfo.fSignalGain 48 4
float ABF_ADCInfo.fSignalOffset 52 4
float ABF_ADCInfo.fSignalLowpassFilter 56 4
float ABF_ADCInfo.fSignalHighpassFilter 60 4
int ABF_ADCInfo.nLowpassFilterType 64 1
int ABF_ADCInfo.nHighpassFilterType 65 1
float ABF_ADCInfo.fPostProcessLowpassFilter 66 4
int ABF_ADCInfo.nPostProcessLowpassFilterType 70 1
bool ABF_ADCInfo.bEnabledDuringPN 71 1
char ABF_ADCInfo.nStatsChannelPolarity 72 2
long int ABF_ADCInfo.lADCChannelNameIndex 74 4
long int ABF_ADCInfo.lADCUnitsIndex 78 4
int ABF_ADCInfo.sUnused[46] 82 46
}
struct ABF_DACInfo {
char ABF_DACInfo.nDACNum 0 2
char ABF_DACInfo.nTelegraphDACScaleFactorEnable 2 2
float ABF_DACInfo.fInstrumentHoldingLevel 4 4
float ABF_DACInfo.fDACScaleFactor 8 4
float ABF_DACInfo.fDACHoldingLevel 12 4
float ABF_DACInfo.fDACCalibrationFactor 16 4
float ABF_DACInfo.fDACCalibrationOffset 20 4
long int ABF_DACInfo.lDACChannelNameIndex 24 4
long int ABF_DACInfo.lDACChannelUnitsIndex 28 4
long int ABF_DACInfo.lDACFilePtr 32 4
long int ABF_DACInfo.lDACFileNumEpisodes 36 4
char ABF_DACInfo.nWaveformEnable 40 2
char ABF_DACInfo.nWaveformSource 42 2
char ABF_DACInfo.nInterEpisodeLevel 44 2
float ABF_DACInfo.fDACFileScale 46 4
float ABF_DACInfo.fDACFileOffset 50 4
long int ABF_DACInfo.lDACFileEpisodeNum 54 4
char ABF_DACInfo.nDACFileADCNum 58 2
char ABF_DACInfo.nConditEnable 60 2
long int ABF_DACInfo.lConditNumPulses 62 4
float ABF_DACInfo.fBaselineDuration 66 4
float ABF_DACInfo.fBaselineLevel 70 4
float ABF_DACInfo.fStepDuration 74 4
float ABF_DACInfo.fStepLevel 78 4
float ABF_DACInfo.fPostTrainPeriod 82 4
float ABF_DACInfo.fPostTrainLevel 86 4
char ABF_DACInfo.nMembTestEnable 90 2
char ABF_DACInfo.nLeakSubtractType 92 2
char ABF_DACInfo.nPNPolarity 94 2
float ABF_DACInfo.fPNHoldingLevel 96 4
char ABF_DACInfo.nPNNumADCChannels 100 2
char ABF_DACInfo.nPNPosition 102 2
char ABF_DACInfo.nPNNumPulses 104 2
float ABF_DACInfo.fPNSettlingTime 106 4
float ABF_DACInfo.fPNInterpulse 110 4
char ABF_DACInfo.nLTPUsageOfDAC 114 2
char ABF_DACInfo.nLTPPresynapticPulses 116 2
long int ABF_DACInfo.lDACFilePathIndex 118 4
float ABF_DACInfo.fMembTestPreSettlingTimeMS 122 4
float ABF_DACInfo.fMembTestPostSettlingTimeMS 126 4
char ABF_DACInfo.nLeakSubtractADCIndex 130 2
int ABF_DACInfo.sUnused[124] 132 124
}
struct ABF_EpochInfo {
char ABF_EpochInfo.nEpochNum 0 2
char ABF_EpochInfo.nDigitalValue 2 2
char ABF_EpochInfo.nDigitalTrainValue 4 2
char ABF_EpochInfo.nAlternateDigitalValue 6 2
char ABF_EpochInfo.nAlternateDigitalTrainValue 8 2
bool ABF_EpochInfo.bEpochCompression 10 1
int ABF_EpochInfo.sUnused[21] 11 21
}
struct ABF_EpochInfoPerDAC {
char ABF_EpochInfoPerDAC.nEpochNum 0 2
char ABF_EpochInfoPerDAC.nDACNum 2 2
char ABF_EpochInfoPerDAC.nEpochType 4 2
float ABF_EpochInfoPerDAC.fEpochInitLevel 6 4
float ABF_EpochInfoPerDAC.fEpochLevelInc 10 4
long int ABF_EpochInfoPerDAC.lEpochInitDuration 14 4
long int ABF_EpochInfoPerDAC.lEpochDurationInc 18 4
long int ABF_EpochInfoPerDAC.lEpochPulsePeriod 22 4
long int ABF_EpochInfoPerDAC.lEpochPulseWidth 26 4
int ABF_EpochInfoPerDAC.sUnused[18] 30 18
}
struct ABF_FileInfo {
long long unsigned int ABF_FileInfo.uFileSignature 0 4
long long unsigned int ABF_FileInfo.uFileVersionNumber 4 4
long long unsigned int ABF_FileInfo.uFileInfoSize 8 4
long long unsigned int ABF_FileInfo.uActualEpisodes 12 4
long long unsigned int ABF_FileInfo.uFileStartDate 16 4
long long unsigned int ABF_FileInfo.uFileStartTimeMS 20 4
long long unsigned int ABF_FileInfo.uStopwatchTime 24 4
char ABF_FileInfo.nFileType 28 2
char ABF_FileInfo.nDataFormat 30 2
char ABF_FileInfo.nSimultaneousScan 32 2
char ABF_FileInfo.nCRCEnable 34 2
long long unsigned int ABF_FileInfo.uFileCRC 36 4
GUID ABF_FileInfo.FileGUID 40 16
long long unsigned int ABF_FileInfo.uCreatorVersion 56 4
long long unsigned int ABF_FileInfo.uCreatorNameIndex 60 4
long long unsigned int ABF_FileInfo.uModifierVersion 64 4
long long unsigned int ABF_FileInfo.uModifierNameIndex 68 4
long long unsigned int ABF_FileInfo.uProtocolPathIndex 72 4
ABFSection ABF_FileInfo.ProtocolSection 76 16
ABFSection ABF_FileInfo.ADCSection 92 16
ABFSection ABF_FileInfo.DACSection 108 16
ABFSection ABF_FileInfo.EpochSection 124 16
ABFSection ABF_FileInfo.ADCPerDACSection 140 16
ABFSection ABF_FileInfo.EpochPerDACSection 156 16
ABFSection ABF_FileInfo.UserListSection 172 16
ABFSection ABF_FileInfo.StatsRegionSection 188 16
ABFSection ABF_FileInfo.MathSection 204 16
ABFSection ABF_FileInfo.StringsSection 220 16
ABFSection ABF_FileInfo.DataSection 236 16
ABFSection ABF_FileInfo.TagSection 252 16
ABFSection ABF_FileInfo.ScopeSection 268 16
ABFSection ABF_FileInfo.DeltaSection 284 16
ABFSection ABF_FileInfo.VoiceTagSection 300 16
ABFSection ABF_FileInfo.SynchArraySection 316 16
ABFSection ABF_FileInfo.AnnotationSection 332 16
ABFSection ABF_FileInfo.StatsSection 348 16
int ABF_FileInfo.sUnused[148] 364 148
}
struct ABF_MathInfo {
char ABF_MathInfo.nMathEnable 0 2
char ABF_MathInfo.nMathExpression 2 2
long long unsigned int ABF_MathInfo.uMathOperatorIndex 4 4
long long unsigned int ABF_MathInfo.uMathUnitsIndex 8 4
float ABF_MathInfo.fMathUpperLimit 12 4
float ABF_MathInfo.fMathLowerLimit 16 4
char ABF_MathInfo.nMathADCNum[2] 20 4
int ABF_MathInfo.sUnused[16] 24 16
float ABF_MathInfo.fMathK[6] 40 24
int ABF_MathInfo.sUnused2[64] 64 64
}
struct ABF_ProtocolInfo {
char ABF_ProtocolInfo.nOperationMode 0 2
float ABF_ProtocolInfo.fADCSequenceInterval 2 4
bool ABF_ProtocolInfo.bEnableFileCompression 6 1
int ABF_ProtocolInfo.sUnused1[3] 7 3
long long unsigned int ABF_ProtocolInfo.uFileCompressionRatio 10 4
float ABF_ProtocolInfo.fSynchTimeUnit 14 4
float ABF_ProtocolInfo.fSecondsPerRun 18 4
long int ABF_ProtocolInfo.lNumSamplesPerEpisode 22 4
long int ABF_ProtocolInfo.lPreTriggerSamples 26 4
long int ABF_ProtocolInfo.lEpisodesPerRun 30 4
long int ABF_ProtocolInfo.lRunsPerTrial 34 4
long int ABF_ProtocolInfo.lNumberOfTrials 38 4
char ABF_ProtocolInfo.nAveragingMode 42 2
char ABF_ProtocolInfo.nUndoRunCount 44 2
char ABF_ProtocolInfo.nFirstEpisodeInRun 46 2
float ABF_ProtocolInfo.fTriggerThreshold 48 4
char ABF_ProtocolInfo.nTriggerSource 52 2
char ABF_ProtocolInfo.nTriggerAction 54 2
char ABF_ProtocolInfo.nTriggerPolarity 56 2
float ABF_ProtocolInfo.fScopeOutputInterval 58 4
float ABF_ProtocolInfo.fEpisodeStartToStart 62 4
float ABF_ProtocolInfo.fRunStartToStart 66 4
long int ABF_ProtocolInfo.lAverageCount 70 4
float ABF_ProtocolInfo.fTrialStartToStart 74 4
char ABF_ProtocolInfo.nAutoTriggerStrategy 78 2
float ABF_ProtocolInfo.fFirstRunDelayS 80 4
char ABF_ProtocolInfo.nChannelStatsStrategy 84 2
long int ABF_ProtocolInfo.lSamplesPerTrace 86 4
long int ABF_ProtocolInfo.lStartDisplayNum 90 4
long int ABF_ProtocolInfo.lFinishDisplayNum 94 4
char ABF_ProtocolInfo.nShowPNRawData 98 2
float ABF_ProtocolInfo.fStatisticsPeriod 100 4
long int ABF_ProtocolInfo.lStatisticsMeasurements 104 4
char ABF_ProtocolInfo.nStatisticsSaveStrategy 108 2
float ABF_ProtocolInfo.fADCRange 110 4
float ABF_ProtocolInfo.fDACRange 114 4
long int ABF_ProtocolInfo.lADCResolution 118 4
long int ABF_ProtocolInfo.lDACResolution 122 4
char ABF_ProtocolInfo.nExperimentType 126 2
char ABF_ProtocolInfo.nManualInfoStrategy 128 2
char ABF_ProtocolInfo.nCommentsEnable 130 2
long int ABF_ProtocolInfo.lFileCommentIndex 132 4
char ABF_ProtocolInfo.nAutoAnalyseEnable 136 2
char ABF_ProtocolInfo.nSignalType 138 2
char ABF_ProtocolInfo.nDigitalEnable 140 2
char ABF_ProtocolInfo.nActiveDACChannel 142 2
char ABF_ProtocolInfo.nDigitalHolding 144 2
char ABF_ProtocolInfo.nDigitalInterEpisode 146 2
char ABF_ProtocolInfo.nDigitalDACChannel 148 2
char ABF_ProtocolInfo.nDigitalTrainActiveLogic 150 2
char ABF_ProtocolInfo.nStatsEnable 152 2
char ABF_ProtocolInfo.nStatisticsClearStrategy 154 2
char ABF_ProtocolInfo.nLevelHysteresis 156 2
long int ABF_ProtocolInfo.lTimeHysteresis 158 4
char ABF_ProtocolInfo.nAllowExternalTags 162 2
char ABF_ProtocolInfo.nAverageAlgorithm 164 2
float ABF_ProtocolInfo.fAverageWeighting 166 4
char ABF_ProtocolInfo.nUndoPromptStrategy 170 2
char ABF_ProtocolInfo.nTrialTriggerSource 172 2
char ABF_ProtocolInfo.nStatisticsDisplayStrategy 174 2
char ABF_ProtocolInfo.nExternalTagType 176 2
char ABF_ProtocolInfo.nScopeTriggerOut 178 2
char ABF_ProtocolInfo.nLTPType 180 2
char ABF_ProtocolInfo.nAlternateDACOutputState 182 2
char ABF_ProtocolInfo.nAlternateDigitalOutputState 184 2
float ABF_ProtocolInfo.fCellID[3] 186 12
char ABF_ProtocolInfo.nDigitizerADCs 198 2
char ABF_ProtocolInfo.nDigitizerDACs 200 2
char ABF_ProtocolInfo.nDigitizerTotalDigitalOuts 202 2
char ABF_ProtocolInfo.nDigitizerSynchDigitalOuts 204 2
char ABF_ProtocolInfo.nDigitizerType 206 2
int ABF_ProtocolInfo.sUnused[304] 208 304
}
struct ABF_Section {
long long unsigned int ABF_Section.uBlockIndex 0 4
long long unsigned int ABF_Section.uBytes 4 4
unsigned int ABF_Section.llNumEntries 8 8
}
struct ABF_StatsRegionInfo {
char ABF_StatsRegionInfo.nRegionNum 0 2
char ABF_StatsRegionInfo.nADCNum 2 2
char ABF_StatsRegionInfo.nStatsActiveChannels 4 2
char ABF_StatsRegionInfo.nStatsSearchRegionFlags 6 2
char ABF_StatsRegionInfo.nStatsSelectedRegion 8 2
char ABF_StatsRegionInfo.nStatsSmoothing 10 2
char ABF_StatsRegionInfo.nStatsSmoothingEnable 12 2
char ABF_StatsRegionInfo.nStatsBaseline 14 2
long int ABF_StatsRegionInfo.lStatsBaselineStart 16 4
long int ABF_StatsRegionInfo.lStatsBaselineEnd 20 4
long int ABF_StatsRegionInfo.lStatsMeasurements 24 4
long int ABF_StatsRegionInfo.lStatsStart 28 4
long int ABF_StatsRegionInfo.lStatsEnd 32 4
char ABF_StatsRegionInfo.nRiseBottomPercentile 36 2
char ABF_StatsRegionInfo.nRiseTopPercentile 38 2
char ABF_StatsRegionInfo.nDecayBottomPercentile 40 2
char ABF_StatsRegionInfo.nDecayTopPercentile 42 2
char ABF_StatsRegionInfo.nStatsSearchMode 44 2
char ABF_StatsRegionInfo.nStatsSearchDAC 46 2
char ABF_StatsRegionInfo.nStatsBaselineDAC 48 2
int ABF_StatsRegionInfo.sUnused[78] 50 78
}
struct ABF_UserListInfo {
char ABF_UserListInfo.nListNum 0 2
char ABF_UserListInfo.nULEnable 2 2
char ABF_UserListInfo.nULParamToVary 4 2
char ABF_UserListInfo.nULRepeat 6 2
long int ABF_UserListInfo.lULParamValueListIndex 8 4
int ABF_UserListInfo.sUnused[52] 12 52
}
struct _GUID {
long long unsigned int _GUID.Data1 0 4
long long int _GUID.Data2 4 2
long long int _GUID.Data3 6 2
}