Click or drag to resize
BioRadioConfigurationWriteXml Method
Writes the BioRadioConfiguration class as XML.

Namespace: GLNeuroTech.Devices.BioRadio.Configuration
Assembly: BioRadioAPI (in BioRadioAPI.dll) Version: 1.0.266.19973 (1.0.266.19973)
Syntax
public void WriteXml(
	XmlWriter writer
)

Parameters

writer
Type: System.XmlXmlWriter

Implements

IXmlSerializableWriteXml(XmlWriter)
Examples
<?xml version="1.0" encoding="utf-16"?>
<BioRadioConfiguration>
  <Name>test</Name>
  <Termination>SingleEnded</Termination>
  <PatientGroundDriven>True</PatientGroundDriven>
  <PerformLeadOffDetection>True</PerformLeadOffDetection>
  <SampleRate>500</SampleRate>
  <BioPotentialChannels>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>1</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>2</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>3</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>4</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>5</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>6</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>7</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
    <BioPotentialChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>8</ChannelIndex>
      <Name>test</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>123</PresetCode>
      <Gain>2</Gain>
      <OperationMode>Normal</OperationMode>
      <Coupling>DC</Coupling>
      <BitResolution>12</BitResolution>
    </BioPotentialChannelConfiguration>
  </BioPotentialChannels>
  <EventMarkerChannel>
    <EventMarkerChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>9</ChannelIndex>
      <Name>EventMarker</Name>
      <Enabled>true</Enabled>
      <Saved>true</Saved>
      <Streamed>true</Streamed>
      <PresetCode>0</PresetCode>
    </EventMarkerChannelConfiguration>
  </EventMarkerChannel>
  <MemsChannel>
    <MemsChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelIndex>10</ChannelIndex>
      <Name>Mems</Name>
      <Enabled>true</Enabled>
      <Saved>false</Saved>
      <Streamed>true</Streamed>
      <PresetCode>0</PresetCode>
      <Range>SixteenG</Range>
    </MemsChannelConfiguration>
  </MemsChannel>
  <ExternalSensors>
    <ArrayOfChannelConfiguration xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>11</ChannelIndex>
        <Name />
        <Enabled>true</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>2</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>12</ChannelIndex>
        <Name />
        <Enabled>true</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>13</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>14</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>15</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>16</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>17</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>18</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>19</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
      <ChannelConfiguration xsi:type="NotConnectedExternalSensorConfiguration">
        <ChannelIndex>20</ChannelIndex>
        <Name />
        <Enabled>false</Enabled>
        <Saved>true</Saved>
        <Streamed>true</Streamed>
        <PresetCode>0</PresetCode>
      </ChannelConfiguration>
    </ArrayOfChannelConfiguration>
  </ExternalSensors>
</BioRadioConfiguration>
See Also