Semaphore to write/read from mag/acc measurement file