The present invention provides a sensor that includes an optical device as a support for a thin film formed by a matrix containing resonant nanoparticles. A bandwidth allocated by the network to transmissions of one or more random access channels is determined. A test element, such as a lever, is attached to the second shaft. Alternately, two buffers may be used, with the contents of the buffer used by the writer copied to a second buffer, allowing the writer to reuse the first buffer before the reader has completed reading the contents of the second buffer.