I am actually not using measurement studio, but straight NI-DAQ and Microsoft Visual C++ .NET. Unfortunately, there is not a category for NI-DAQ.
I register a callback finction for event code 2 (transfer stopped or error). When I recieve the callback, I cannot find a way to determine what error caused the callback. It kills a long term continuous acquisition.