If you are using Measurement Studio, you can download and use the Measurement Studio C++ interface for NI-Scope. You can download it from
http://zone.ni.com/devzone/conceptd.nsf/webmain/571407DDD78BB81986256B9F0047241E?OpenDocument
This interface provides C++ classes that use the Measurement Studio data types, such as CNiException and CNiReal64Vector. There also is a help file that plugs directly into the Measurement Studio help file for convenient class and function reference.