Check out the DynamicSerialization example that ships with Measurement Studio. You can find it under the VC\Examples\Utility\DynamicSerialization subdirectory under where you installed Measurement Studio.
Also, there is an application note available in the help called "Document/View Architecture in Visual C++ Test and Measurement Applications" that demonstrates how to serialize our vector objects.