Measurement Studio also includes C++ class libraries that simplify the use of the Measurement Studio functions. They are alot easier to use than the class wizard generated ActiveX wrappers ( which seem to be what you are using). These class libraries are MFC based, so they can only be used from VC. Below is a sample of how to perform standard deviation calculations using the Measurement Studio C++ class libraries
double array[50],stdDev;
for( int i=0;i<50;i++)
array[i]=rand();//generate random data
//Perform standard deviation.
CNiMath::StdDev(CNiReal32Vector(50,array),stdDev);
If you have Measurement Studio support for VC installed, you should have all the class libraries available for use.
Hope this helps
Bilal Durrani
NI
Bilal Durrani
NI