A clamp used to attach a flashlight to a firearm having a rail thereon. A laser delivery member is movable and at least partially disposed within the channel. A frame generator connected to the error detection module generates a second frame with the transport blocks that do not contain an error and the error indicator values.