How to use ActiveX in ATEasy | ||
Specification of the sample program: a) Acquire voltage signal between -10 to 10V via
Channel 1 of DI-194 at a rate of 240
Samples/second 1) Please download and install UltimaSerial 2) Install DI-194 on COM 1: 3) Start a new work space with ATEasy, and use Application Wizard to add a new program to it 4) Follow Programs->Libraries, Right click and follow Insert Object Below... to load UltimaSerial and DQChart controls into the program 5) Create a new form under Programs->Form and call it WaveForm. Add the UltimaSerial, DqChart and Start and Stop buttons to it. 6) Double click on Start button and add the following codes in response to OnClick
7) Double click on Stop button and add the following codes in response to OnClick
8) Double click on UltimaSerial icon and add the following codes in response to OnNewData
9) Add the following variables to Programs->Variables section:
10) Add the following to Programs->Tests->Untitled Task->Untitled Test section
Now you can go ahead and run the test!
Last update: 11/18/16 Copyright: 2000-2005 www.UltimaSerial.com
|