Measurement Studio for VB6

cancel
Showing results for 
Search instead for 
Did you mean: 

How can I add a new channel in CWAI control in Borland C++ Builder 5.0

I'm using Borland C++ Builder 5.0 and CWAI control of ComponentWorks to get the analog signal from DAQ card.
I want to delete or add a new channel object in CWAI control when the program is running.
So I did:
CWAI1->Channels->RemoveAll(); <--It seems to work fine
CWAI1->Channels->Add((wchar_t*)0,upperlimit,lowerlimit,InputMode,Coupling);

But,It does not work in second line. I can't understand what is wrong.
Please answer me this question.
0 Kudos
Message 1 of 1
(2,973 Views)