datasets that get their data from NDAttributes are initially created with the size of numArrays. This is not correct, they should not be statically allocated they should grow in an unlimited dimension as new NDArrays arrive, just like the detector data does. The user should be able to set numArrays to a very large value and then stop after the desired time without causing the dataset to be unnecessarily large. This is how the netCDF plugin works. This may also why it crashes when setting numArrays to 0.
datasets that get their data from NDAttributes are initially created with the size of numArrays. This is not correct, they should not be statically allocated they should grow in an unlimited dimension as new NDArrays arrive, just like the detector data does. The user should be able to set numArrays to a very large value and then stop after the desired time without causing the dataset to be unnecessarily large. This is how the netCDF plugin works. This may also why it crashes when setting numArrays to 0.