out.setDataValue(datasetNumber);
out.setDataValue(burstNumber);
out.setDataValue(Math.random());
// Write dataset to disk:
out.writeDataSet();
// Check for IOErrors:
if (out.hadIOException()) {
out.getIOException().printStackTrace();
out.resetIOException();