<lcg> <simulation> <rate>30000</rate> <tend>100.0</tend> </simulation> <entities> <entity> <name>H5Recorder</name> <id>0</id> <parameters> <compress>True</compress> </parameters> </entity> <entity> <name>RealNeuron</name> <id>1</id> <parameters> <readChannel>0</readChannel> <reference>GRSE</reference> <holdLastValue>true</holdLastValue> <inputConversionFactor>100</inputConversionFactor> <inputRange>[-10,+10]</inputRange> <outputConversionFactor>0.001</outputConversionFactor> <V0>-65</V0> <writeChannel>0</writeChannel> <spikeThreshold>-20</spikeThreshold> <outputSubdevice>1</outputSubdevice> <inputSubdevice>0</inputSubdevice> <kernelFile>kernel.dat</kernelFile> <holdLastValueFilename>prc.lastValue</holdLastValueFilename> <deviceFile>/dev/comedi0</deviceFile> </parameters> <connections>0,5,8,9,10,11</connections> </entity> <entity> <name>Waveform</name> <id>2</id> <parameters> <units>pA</units> <triggered>True</triggered> <filename>prc.stim</filename> </parameters> <connections>0,1</connections> </entity> <entity> <name>PID</name> <id>3</id> <parameters> <gd>0</gd> <gp>0.1</gp> <gi>0.001</gi> <baselineCurrent>0.0</baselineCurrent> </parameters> <connections>0,1</connections> </entity> <entity> <name>Constant</name> <id>4</id> <parameters> <units>Hz</units> <value>60.0</value> </parameters> <connections>0,3</connections> </entity> <entity> <name>FrequencyEstimator</name> <id>5</id> <parameters> <tau>0.1</tau> <initialFrequency>60.0</initialFrequency> </parameters> <connections>0,3,6</connections> </entity> <entity> <name>SobolDelay</name> <id>6</id> <parameters> <startSample>0</startSample> <max>-1</max> <min>0</min> </parameters> <connections>7</connections> </entity> <entity> <name>VariableDelayConnection</name> <id>7</id> <parameters/> <connections>2</connections> </entity> <entity> <name>EventCounter</name> <id>8</id> <parameters> <eventToSend>TRIGGER</eventToSend> <autoReset>False</autoReset> <eventToCount>SPIKE</eventToCount> <maxCount>3</maxCount> </parameters> <connections>7</connections> </entity> <entity> <name>EventCounter</name> <id>9</id> <parameters> <eventToSend>TOGGLE</eventToSend> <autoReset>False</autoReset> <eventToCount>SPIKE</eventToCount> <maxCount>2</maxCount> </parameters> <connections>3,5</connections> </entity> <entity> <name>EventCounter</name> <id>10</id> <parameters> <eventToSend>TOGGLE</eventToSend> <autoReset>False</autoReset> <eventToCount>SPIKE</eventToCount> <maxCount>5</maxCount> </parameters> <connections>3,5</connections> </entity> <entity> <name>EventCounter</name> <id>11</id> <parameters> <eventToSend>RESET</eventToSend> <autoReset>True</autoReset> <eventToCount>SPIKE</eventToCount> <maxCount>8.0</maxCount> </parameters> <connections>8,9,10,12</connections> </entity> <entity> <name>EventCounter</name> <id>12</id> <parameters> <eventToSend>STOPRUN</eventToSend> <autoReset>True</autoReset> <eventToCount>RESET</eventToCount> <maxCount>100.0</maxCount> </parameters> </entity> <entity> <name>ConstantFromFile</name> <id>13</id> <parameters> <units>pA</units> <filename>prc.lastValue</filename> </parameters> <connections>0,1</connections> </entity> </entities> </lcg>