Measurement Studio for .NET Languages

cancel
Showing results for 
Search instead for 
Did you mean: 

How to pass object data when using axCWAI.AcquireData() in C# for synchronous data aquisition.

This Does not work.
Can someone tell me how to make axCWAI.AcquireData( ref scaledData,ref binaryCodes) to get to work in VS C#.net

...........
            object ds, db;
            ds = new object();
            db = new object();

            axCWAI1.Reset();
            axCWAI1.NScans = 1000;
           axCWAI1.Configure();
             axCWAI1.AcquireData(ref ds,ref db);
            axCWGraph1.PlotY(ds);

.....................
This code doesnt work and sends an exception in axCWAI1.AcquireData....
How to make it work??
Help!!
Thanks.

0 Kudos
Message 1 of 1
(3,225 Views)