User`s guide
12 ? Creating PCIS-DASK Application
Open a new project by selecting the New Project command from the File menu. If it is an
existing project, open it by selecting the Open Project command from the File menu. Then the
Open Project dialog box appears.
Changed directory to the place the project file located. Double-click the project file name in
the File Name list to load the project.
step 2.
Add file DASK.BAS into the project if this file is not included in the project. This file contains all
the procedure declarations and constants that you can use to develop your data acquisition
application.
From the File menu, select the Add File command. The Add File window appears, displaying a list of
files in the current directory.
Select DASK.BAS from the Files list by double clicking on it. If you can't find this file in the list, make
sure the list is displaying files from the correct directory. By default, DASK.BAS is installed in
C:\ADLink\PCI-DASK\INCLUDE.
step 3.
Design the interface for the application.
To design the interface, you place the desired elements, such as command button, list box, text box, etc.,
on the Visual Basic form. These are standard controls from the Visual Basic Toolbox. To place a control
on a form, you just move pointer to Toolbox, select the desired control and draw it on the form. Or you
can double-click the control icon in the Toolbox to place it on the form.
step 4.
Set properties for the controls.
To view the property list, click the desired control and then choose the Properties command from the
View menu or press F4, or you can also click the Properties button on the toolbar.
step 5.
Write the event code.