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