a/branches/IoDrvMEGAIO/IoDrvMEGAIO.devdesc.xml | b/branches/IoDrvMEGAIO/IoDrvMEGAIO.devdesc.xml | ||
---|---|---|---|
... |
... |
||
147 | <Default /> |
147 | <Default /> |
148 | <VisibleName name="UINT7">UINT7</VisibleName> |
148 | <VisibleName name="UINT7">UINT7</VisibleName> |
149 | </Component> |
149 | </Component> |
150 | </StructType> |
150 | </StructType> |
151 | <StructType name="IoDrvInput"> |
151 | <StructType name="IoDrvInput"> |
152 | <Component identifier="dwOut" type="std:DWORD"> |
152 | <Component identifier="adcVoltages" type="local:Ch8REAL"> |
153 | <Default /> |
||
154 | <VisibleName name="local:Output">Output</VisibleName> |
||
155 | </Component> |
||
156 | <Component identifier="dacVoltage" type="std:REAL"> |
||
157 | <Default /> |
153 | <Default /> |
158 | <VisibleName name="local:dacVoltageInput">dacVoltage Input</VisibleName> |
154 | <VisibleName name="adcVoltages">adcVoltages</VisibleName> |
159 | </Component> |
155 | </Component> |
160 | <Component identifier="relayState" type="local:Channel8BOOL"> |
156 | <Component identifier="adcRaw" type="local:Ch8UINT"> |
161 | <Default /> |
157 | <Default /> |
162 | <VisibleName name="local:relayState">relayState</VisibleName> |
158 | <VisibleName name="adcRaw">adcRaw</VisibleName> |
163 | </Component> |
159 | </Component> |
164 | <Component identifier="openDrainState" type="local:OpenDrainState"> |
160 | <Component identifier="optoIn" type="local:Channel8BOOL"> |
165 | <Default /> |
161 | <Default /> |
166 | <VisibleName name="openDrain State">OpenDrain State</VisibleName> |
162 | <VisibleName name="local:optoIn">optoIn</VisibleName> |
167 | </Component> |
||
168 | <Component identifier="gpioDir" type="local:Ch5BOOL"> |
||
169 | <Default /> |
||
170 | <VisibleName name="gpioDir">GPIO Direction</VisibleName> |
||
171 | </Component> |
163 | </Component> |
172 | <Component identifier="gpioOut" type="local:Ch5BOOL"> |
164 | <Component identifier="gpioIn" type="local:Ch5BOOL"> |
173 | <Default /> |
165 | <Default /> |
174 | <VisibleName name="gpioOut">gpioOut</VisibleName> |
166 | <VisibleName name="local:gpioIn">gpioIn</VisibleName> |
175 | </Component> |
167 | </Component> |
176 | </StructType> |
168 | </StructType> |
177 | <StructType name="IoDrvOutput"> |
169 | <StructType name="IoDrvOutput"> |
178 | <Component identifier="dwIn" type="std:DWORD"> |
170 | <Component identifier="dacVoltage" type="std:REAL"> |
179 | <Default /> |
171 | <Default /> |
180 | <VisibleName name="local:Input">Input</VisibleName> |
172 | <VisibleName name="local:dacVoltageInput">dacVoltage Input</VisibleName> |
181 | </Component> |
173 | </Component> |
182 | <Component identifier="adcVoltages" type="local:Ch8REAL"> |
174 | <Component identifier="relayState" type="local:Channel8BOOL"> |
183 | <Default /> |
175 | <Default /> |
184 | <VisibleName name="adcVoltages">adcVoltages</VisibleName> |
176 | <VisibleName name="local:relayState">relayState</VisibleName> |
185 | </Component> |
177 | </Component> |
186 | <Component identifier="adcRaw" type="local:Ch8UINT"> |
178 | <Component identifier="openDrainState" type="local:OpenDrainState"> |
187 | <Default /> |
179 | <Default /> |
188 | <VisibleName name="adcRaw">adcRaw</VisibleName> |
180 | <VisibleName name="openDrain State">OpenDrain State</VisibleName> |
189 | </Component> |
181 | </Component> |
190 | <Component identifier="optoIn" type="local:Channel8BOOL"> |
182 | <Component identifier="gpioOut" type="local:Ch5BOOL"> |
191 | <Default /> |
183 | <Default /> |
192 | <VisibleName name="local:optoIn">optoIn</VisibleName> |
184 | <VisibleName name="gpioOut">gpioOut</VisibleName> |
193 | </Component> |
185 | </Component> |
194 | <Component identifier="gpioIn" type="local:Ch5BOOL"> |
186 | <Component identifier="gpioDir" type="local:Ch5BOOL"> |
195 | <Default /> |
187 | <Default /> |
196 | <VisibleName name="local:gpioIn">gpioIn</VisibleName> |
188 | <VisibleName name="gpioDir">GPIO Direction</VisibleName> |
197 | </Component> |
189 | </Component> |
198 | </StructType> |
190 | </StructType> |
199 | <StructType name="IoDrvConfig"> |
191 | <StructType name="IoDrvConfig"> |
200 | <Component identifier="dwConfig" type="std:DWORD"> |
||
201 | <Default>2</Default> |
||
202 | <VisibleName name="local:Config">Config</VisibleName> |
||
203 | </Component> |
||
204 | </StructType> |
||
205 | |||
206 | <!-- |
192 | <!-- |
207 | <Component identifier="StackLevel" type="std:USINT"> |
193 | <Component identifier="StackLevel" type="std:USINT"> |
208 | <Default>16#1</Default> |
194 | <Default>16#1</Default> |
209 | <VisibleName name="local:StackLevel">StackLevel</VisibleName> |
195 | <VisibleName name="local:StackLevel">StackLevel</VisibleName> |
210 | <Description name="local:StackLevel.Desc">Stack level of MegaIO boards</Description> |
196 | <Description name="local:StackLevel.Desc">Stack level of MegaIO boards</Description> |
211 | </Component> |
197 | </Component> |
212 | --> |
198 | --> |
213 | |
199 | </StructType> |
214 | </Types> |
200 | </Types> |
215 | <Strings namespace="local"> |
201 | <Strings namespace="local"> |
216 | <Language lang="en"> |
202 | <Language lang="en"> |
217 | </Language> |
203 | </Language> |
218 | </Strings> |
204 | </Strings> |
... |
... |
||
260 | <Name name="local:I2cAddress">I²C address</Name> |
246 | <Name name="local:I2cAddress">I²C address</Name> |
261 | <Description name="local:I2cAddress.Desc">Address of I²C Device</Description> |
247 | <Description name="local:I2cAddress.Desc">Address of I²C Device</Description> |
262 | </Parameter> |
248 | </Parameter> |
263 | </ParameterSection> |
249 | </ParameterSection> |
264 | <ParameterSection> |
250 | <ParameterSection> |
265 | <Name name="local:GeneralParameters">Inputs</Name> |
251 | <Name name="local:GeneralParameters">Input Channels</Name> |
266 | <Parameter ParameterId="1000" type="local:IoDrvInput"> |
252 | <Parameter ParameterId="1000" type="local:IoDrvInput"> |
267 | <Attributes channel="Input" /> |
253 | <Attributes channel="Input" /> |
268 | <Name name="local:Input">Inputs</Name> |
254 | <Name name="local:Input">Input Channels</Name> |
269 | </Parameter> |
255 | </Parameter> |
270 | </ParameterSection> |
256 | </ParameterSection> |
271 | <ParameterSection> |
257 | <ParameterSection> |
272 | <Name name="local:GeneralParameters">Outputs</Name> |
258 | <Name name="local:GeneralParameters">Output Channels</Name> |
273 | <Parameter ParameterId="2000" type="local:IoDrvOutput"> |
259 | <Parameter ParameterId="2000" type="local:IoDrvOutput"> |
274 | <Attributes channel="Output" /> |
260 | <Attributes channel="Output" /> |
275 | <Name name="local:Output">Outputs</Name> |
261 | <Name name="local:Output">Output Channels</Name> |
276 | </Parameter> |
262 | </Parameter> |
277 | </ParameterSection> |
263 | </ParameterSection> |
278 | <ParameterSection> |
264 | <ParameterSection> |
279 | <Name name="local:GeneralParameters">Configuration</Name> |
265 | <Name name="local:GeneralParameters">Configuration</Name> |
280 | <Parameter ParameterId="3000" type="local:IoDrvConfig"> |
266 | <Parameter ParameterId="3000" type="local:IoDrvConfig"> |
281 | <Attributes channel="none" /> |
267 | <Attributes channel="none" /> |
282 | <Name name="local:Config">Config</Name> |
268 | <Name name="local:Config">Configuration</Name> |
283 | </Parameter> |
269 | </Parameter> |
284 | </ParameterSection> |
270 | </ParameterSection> |
285 | </HostParameterSet> |
271 | </HostParameterSet> |
286 | </Connector> |
272 | </Connector> |
287 | <ExtendedSettings> |
273 | <ExtendedSettings> |