Stimfit
@PACKAGE_VERSION@
Loading...
Searching...
No Matches
src
libstfio
abf
axon
AxAbfFio32
abfoldnx.h
Go to the documentation of this file.
1
//***********************************************************************************************
2
//
3
// Copyright (c) 1993-1997 Axon Instruments.
4
// All rights reserved.
5
// Permission is granted to freely to use, modify and copy the code in this file.
6
//
7
//***********************************************************************************************
8
// This is ABFOLDNX.H; a header file containing definition of parameter
9
// numbers for old pCLAMP binary data files
10
//
11
// NOTE: arrays are 0 relative in C, but 1 relative in BASIC
12
13
#ifndef __ABFOLDNX_H__
14
#define __ABFOLDNX_H__ 1
15
16
#define ABF_OLDUNITLEN 16
// length of old ADC/DAC units strings
17
#define ABF_OLDCOMMENTLEN 77
// length of old descriptor comment
18
#define ABF_OLDCONDITLEN 64
// length of old conditioning string
19
20
#define F53_EXPERIMENTTYPE 0
21
#define F53_ADCNUMCHANNELS 1
22
#define F53_SAMPLESPEREPISODE 2
23
#define F53_ACTUALEPISODESPERFILE 3
24
#define F53_ADCSAMPLEINTERVAL 4
25
// F53_UNUSED6 5
26
#define F53_FILESTARTTIME 6
27
#define F53_FILEELAPSEDTIME 7
28
#define F53_FILEVERSIONNUMBER 8
29
#define F53_FILESTARTDATE 9
30
31
// F53_UNUSED11 10
32
#define F53_SEGMENTSPEREPISODE 11
33
#define F53_OLDSAMPLESPEREPISODE 11
34
#define F53_EPISODESPERFILE 12
35
#define F53_REQUESTEDSAMPLEINTERVAL 13
36
#define F53_OPERATIONMODE 14
37
// F53_UNUSED16 15
38
// F53_UNUSED17 16
39
#define F53_POSTTRIGGERPORTION 17
40
// F53_UNUSED19 18
41
// F53_UNUSED20 19
42
#define F53_NUMPOINTSIGNORED 20
43
// F53_UNUSED22 21 // LongDescriptionPtr ___ never used
44
#define F53_TAGSECTIONPTR 22
45
#define F53_TIMEOUTWAIT 23
46
#define F53_DAC0HOLDINGLEVEL 24
47
#define F53_NUMTAGENTRIES 25
// Was unused, used in translation
48
// F53_UNUSED27 26
49
// F53_UNUSED28 27
50
// F53_UNUSED29 28
51
// F53_UNUSED30 29
52
#define F53_ADCNUMBERINGSTRATEGY 30
53
#define F53_ADCFIRSTLOGICALCHANNEL 31
54
#define F53_GAINDACTOCELL 32
55
#define F53_TAPEWINDUPTIME 33
56
#define F53_ENVIRONMENTALINFO 34
57
#define F53_CELLID1 35
58
#define F53_CELLID2 36
59
// F53_UNUSED38 37
60
#define F53_THRESHOLDCURRENT 38
61
#define F53_ADDITINSTGAIN 39
62
#define F53_INSTRUMENTFILTER 40
63
#define F53_AUTOSAMPLEINSTRUMENT 41
64
// F53_UNUSED43 42
65
#define F53_UNUSED44 43
66
#define F53_UNUSED45 44
67
#define F53_UNUSED46 45
68
#define F53_UNUSED47 46
69
#define F53_UNUSED48 47
// was copy of ADCNUMCHANNELS
70
#define F53_CHANNEL0GAIN 48
71
#define F53_INVALIDLASTDATA 49
72
#define F53_UNUSED51 50
73
// F53_UNUSED52 51
74
#define F53_ADCRANGE 52
75
#define F53_DACRANGE 53
76
#define F53_ADCRESOLUTION 54
77
#define F53_DACRESOLUTION 55
78
// F53_UNUSED57 56
79
// F53_UNUSED58 57
80
// F53_UNUSED59 58
81
// F53_UNUSED60 59
82
#define F53_AMPLIFICATIONFACTOR 60
83
#define F53_VERTICALOFFSET 61
84
// F53_UNUSED63 62
85
// F53_UNUSED64 63
86
// F53_UNUSED65 64
87
// F53_UNUSED66 65
88
// F53_UNUSED67 66
89
// F53_UNUSED68 67
90
// F53_UNUSED69 68
91
#define F53_DATADISPLAYMODE 69
92
// F53_UNUSED71 70
93
// F53_UNUSED72 71
94
// F53_UNUSED73 72
95
// F53_UNUSED74 73
96
// F53_UNUSED75 74
97
// F53_UNUSED76 75
98
// F53_UNUSED77 76
99
// F53_UNUSED78 77
100
// F53_UNUSED79 78
101
// F53_UNUSED80 79
102
103
#define F53_INSTOFFSET 96
104
#define F53_INSTSCALEFACTOR 112
105
#define F53_ADCDISPLAYGAIN 128
106
#define F53_ADCDISPLAYOFFSET 144
107
108
109
// =============================================================================
110
// CLAMPEX Data file version 5.2 Param() index #defines
111
112
#define C52_EXPERIMENTTYPE 0
113
#define C52_ADCNUMCHANNELS 1
114
#define C52_SAMPLESPEREPISODE 2
115
#define C52_EPISODESPERFILE 3
116
#define C52_FIRSTCLOCKPERIOD 4
117
#define C52_SECONDCLOCKPERIOD 5
118
#define C52_FILESTARTTIME 6
119
#define C52_FILEELAPSEDTIME 7
120
#define C52_FILEVERSIONNUMBER 8
121
#define C52_FILESTARTDATE 9
122
#define C52_INTEREPISODETIME 10
123
#define C52_RUNSPERFILE 11
124
#define C52_EPISODESPERRUN 12
125
#define C52_FIRSTCLOCKINTERVAL 13
126
#define C52_STARTDELAY 14
127
#define C52_NUMTRIALS 15
128
#define C52_STARTEPISODENUM 16
129
#define C52_GAINMULTIPLIER 17
130
#define C52_OLDPROTOCOLTYPE 17
131
#define C52_TRIGGERMODE 18
132
#define C52_PULSESAMPLECH1 19
133
#define C52_FIRSTTRIGGEREPISODE 20
134
#define C52_LASTTRIGGEREPISODE 21
135
#define C52_PULSESAMPLECH2 22
136
#define C52_SEGMENTSPEREPISODE 23
137
#define C52_DAC0HOLDINGLEVEL 24
138
#define C52_EPOCHALEVELINIT 25
139
#define C52_EPOCHAINCREMENT 26
140
#define C52_EPOCHBLEVELINIT 27
141
#define C52_EPOCHBINCREMENT 28
142
#define C52_EPOCHAINITDURATION 29
143
#define C52_UNUSED31 30
144
#define C52_ADCFIRSTLOGICALCHANNEL 31
145
#define C52_OLDEPOCHALEVEL 31
146
#define C52_GAINDACTOCELL 32
147
#define C52_PULSESINTRAIN 33
148
#define C52_PRECONDURATION 34
149
#define C52_PRECONLEVEL 35
150
#define C52_CONDURATION 36
151
#define C52_CONLEVEL 37
152
#define C52_POSTCONDURATION 38
153
#define C52_POSTCONLEVEL 39
154
#define C52_FILTERCUTOFF 40
155
#define C52_CH1PULSE 41
156
#define C52_CH2PULSE 42
157
#define C52_EPOCHCLEVELINIT 43
158
#define C52_EPOCHCINCREMENT 44
159
#define C52_EPOCHCINITDURATION 45
160
#define C52_SECONDCLOCKRATE 46
161
#define C52_OLDMULTIPLEXCODE 47
162
#define C52_AUTOSAMPLEINSTRUMENT 48
163
#define C52_INTEREPISODEAMP 49
164
#define C52_OLDCHANNEL0GAIN 48
165
#define C52_OLDCHANNEL1GAIN 49
166
// C52_UNUSED51 50
167
#define C52_INTEREPISODEWRITE 51
168
#define C52_ADCRANGE 52
169
#define C52_DACRANGE 53
170
#define C52_ADCRESOLUTION 54
171
#define C52_DACRESOLUTION 55
172
#define C52_EPOCHBINITDURATION 56
173
#define C52_EPOCHBDURATIONINC 57
174
#define C52_CONDITVARIABLE 58
175
#define C52_EPOCHADURATIONINC 59
176
#define C52_CH0DISPLAYAMPLIFICATION 60
177
#define C52_CH0DISPLAYOFFSET 61
178
#define C52_CH1DISPLAYAMPLIFICATION 62
179
#define C52_CH1DISPLAYOFFSET 63
180
#define C52_AUTOPEAKCHANNEL 63
181
#define C52_AVERAGEDDATADISPLAY 64
182
#define C52_AUTOPEAKSEARCHMODE 65
183
#define C52_AUTOPEAKCENTER 66
184
#define C52_AUTOPEAKAVPOINTS 67
185
#define C52_AUTOERASE 68
186
#define C52_DATADISPLAYMODE 69
187
#define C52_BASELINECALCULATION 70
188
#define C52_AUTOPEAKDESTINATION 71
189
#define C52_DISPLAYSEGMENTNUM 72
190
#define C52_PLOTDENSITY 73
191
// C52_UNUSED75 74
192
// C52_UNUSED76 75
193
// C52_UNUSED77 76
194
// C52_UNUSED78 77
195
// C52_UNUSED79 78
196
// C52_UNUSED80 79
197
#define C52_EPOCHCDURATIONINC 80
198
#define C52_EPOCHDLEVELINIT 81
199
#define C52_EPOCHDINCREMENT 82
200
#define C52_EPOCHDINITDURATION 83
201
#define C52_EPOCHDDURATIONINC 84
202
// C52_UNUSED86 85
203
#define C52_EPOCHATYPE 86
204
#define C52_EPOCHBTYPE 87
205
#define C52_EPOCHCTYPE 88
206
#define C52_EPOCHDTYPE 89
207
#define C52_PNNUMPULSES 90
208
#define C52_PNADCNUM 91
209
#define C52_PNHOLDINGLEVEL 92
210
#define C52_PNSETTLINGTIME 93
211
#define C52_PNINTERPULSE 94
212
#define C52_AUTOSAMPLEADCNUM 95
213
214
#define C52_INSTOFFSET 96
215
#define C52_INSTSCALEFACTOR 112
216
#define C52_ADCDISPLAYGAIN 128
217
#define C52_ADCDISPLAYOFFSET 144
218
219
#endif
/* __ABFOLDNX_H__ */
Generated by
1.14.0