# POLDI Data Storage

POLDI writes data into portable binary NeXus files. The scheme implemented involves opening a new file for any run and updating this file at predefined intervalls during counting operations. All this is commonly handled automatically by the count command. However, data file writing can be initiated and configured manually from the command line through the following commands:

storedata start
  Write a new data file
storedata update
  Updates the current data file.
storedata intervall
  prints the current update intervall to use during counting. Units is minutes. Default is 20 minutes.
storedata intervall newval
  Sets the update intervall to newval minutes.
killfile
  This command will overwrite the last data file written and thus effectively erase it. Therefore this command requires manager privilege.