Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How do create CWAOWriteSpec object in Delphi?

Hi,

I'm using CWAO ActiveX control in Measurement Studio to do my delphi programming.

I'm having problem in the CWAO.Write function. When I'm passing the write spec to the parameter, it will give me error, so I guess I may be create the CWAOWriteSpec object incorrectly. I have tried the method from http://digital.ni.com/public.nsf/3efedde4322fef19862567740067f3cc/2ff5b3cb556991b7862564b70071cdd6?OpenDocument but it doesn't work.

I also tried following code:

var
WriteSpec: CWAOWriteSpec;
begin
WriteSpec := DAQTools.CreateCWAOWriteSpec;
CWAO.Configure;
CWAO.Write(Array, WriteSpec);
CWAO.Start;
end;

I wonder is there any other ways to create CWAOWriteSpec object, beside the two methods above?


Thank you,
Donald Yeung
Software Engineer
Tensor Biosciences
0 Kudos
Message 1 of 1
(3,189 Views)