@ComponentGetter(QRTComponentType.ComponentAnalogSingle, RTAnalogComponent)<EOL><INDENT>def get_analog_single(<EOL>self, component_info=None, data=None, component_position=None<EOL>):<DEDENT>
components = []<EOL>append_components = components.append<EOL>for _ in range(component_info.device_count):<EOL><INDENT>component_position, device = QRTPacket._get_exact(<EOL>RTAnalogDeviceSingle, data, component_position<EOL>)<EOL>RTAnalogDeviceSamples.format = struct.Struct(<EOL>RTAnalogDeviceSamples.format_str % device.channel_count<EOL>)<EOL>component_position, sample = QRTPacket._get_tuple(<EOL>RTAnalogDeviceSamples, data, component_position<EOL>)<EOL>append_components((device, sample))<EOL><DEDENT>return components<EOL>
Get a single analog data channel.