Softwere Install Guide
Softwere Install Guide
Softwere Install Guide
DAQ Cards
Software Installation Guide
@Copyright 1999~2000 ADLink Technology Inc.
All Rights Reserved.
Trademarks
NuDAQ, NuIPC, PCIS-DASK and PCI series products names are
registered trademarks of ADLink Technology Inc. Other product names
mentioned herein are used for identification purposes only and may be
trademarks and/or registered trademarks of their respective companies.
Getting service from ADLink
♦ Customer Satisfaction is always the most important thing for ADLink
Tech Inc. If you need any help or service, please contact us and get it.
ADLink Technology Inc.
Web Site http://www.adlink.com.tw
Sales & Service service@adlink.com.tw
Technical NuDAQ nudaq@adlink.com.tw
Support NuDAM nudam@adlink.com.tw
NuIPC nuipc@adlink.com.tw
NuPRO nupro@adlink.com.tw
Software sw@adlink.com.tw
AMB amb@adlink.com.tw
TEL +886-2-82265877 FAX +886-2-82265717
Address 9F, No. 166, Jian Yi Road, Chungho City, Taipei, 235 Taiwan, R.O.C.
♦ Please inform or FAX us of your detailed information for a prompt,
satisfactory and constant service.
Detailed Company Information
Company/Organization
Contact Person
E-mail Address
Address
Country
TEL FAX
Web Site
Questions
Product Model
Environment to Use OS
Computer Brand
M/B : CPU :
Chipset : Bios :
Video Card :
Network Interface Card :
Other :
Challenge Description
Contents • i
5.2 SOFTWARE D RIVERS I NSTALLATION ....................................... 31
5.2.1 System Requirements.................................................................31
5.2.2 DLL - PCIS-DASK/2000 ...............................................................31
5.2.3 PCIS-LVIEW/2000.........................................................................34
5.2.4 PCIS-VEE/2000..............................................................................36
ii • Contents
1
DOS
Dos • 1
ADLINK NuDAQ PCI Installation Rev. 3.00 (DOS Ve rsion)
(C)CopyRight ADLINK Technology Inc. 2000.3.1
Install directory:
C:\ADLINK
3. Press Up or Down key to select the type of the card, then press Enter
key to continue.
Please also input the directory that you want to install to.
C:\ADLINK
Install directory:
C:\ADLINK
2 • Dos
4. Press Up or Down key to select what kind of the library you want to
install.
Install directory:
C:\ADLINK
Then the installation will be completed, you can press Esc key to exit.
After installation, all the files of the card that you selected will be stored
in the installation directory.
Dos • 3
2
Windows 95
Windows 95 • 5
Click Next button to go on installing device. The system will search the
device information on floppy drive A:. After it failed to load device
information from drive A:, the following window is prompted to let you
specify the location of device information. Place ADLink All-in-One CD
into the CD-ROM drive then click Other Location… button.
The following window then is prompted for you to specify the location of
device information.
6 • Windows 95
Please click Browse… button to invoke the Browser for Folder window,
then select the appropriate location for your NuDAQ/NuIPC card.
To ensure the success of hardware device installation, you can open the
Device Manager in Start>>Settings>>Control Panel>>System, and
then select the Device Manager tab.
Windows 95 • 7
Under Device Manager, you should find the device in DAQ. You can
double-click the device, select the Resources tab to check if I/O port
and IRQ resources for the device are allocated successfully.
8 • Windows 95
Setup first displays a Welcome dialog box. Please click Next button to
go on installation. Setup then prompts the following dialog box for you
to specify the destination directory. The default path is
C:\ADLink\7230\w95. If you want to install PCI-7230 DLL for Windows
95 in another directory, please click Browse… button to change the
destination directory.
Then you can click Next to begin installing PCI-7230 DLL for Windows
95.
2.2.2 PCIS-LVIEW/95
Windows 95 • 9
a dialog box for you to specify the LabVIEW directory. Please specify
your LabVIEW directory, then click OK button.
Sub-directory Description
Manual <DIR> PDF manual files, including User Guide and
Function Reference
Help <DIR> On-line help file
Lib <DIR> A copy of all library files (.llb). These file are also
copied to <LabVIEW Dir>\User.lib directory.
6208 <DIR> library file (.llb) and example programs for each
7200 <DIR> card
7230 <DIR>
…
All of the PCIS-LVIEW library files should be copied to <LabVIEW
Dir>\User.lib. They include 6208.llb, 7200.llb, 7230.llb, … If you don’t
find these files in <LabVIEW Dir>\User.lib, please copy them from
<PCIS-LVIEW Dir>\Lib.
2.2.3 PCIS-VEE/95
10 • Windows 95
step 3. Type x:\setup (x identifies the drive that contains the compact
disc) in Open text box, and then click OK.
step 4. Setup first displays the main screen. Select Software
Package.
step 5. Setup then displays the ADLink software product screen.
Select NuDAQ PCI Software.
step 6. In NuDAQ PCI Software screen select PCIS-VEE. Then
select for Win95 option.
When the installation process completes, the PCIS-VEE/95 directory
should contain the following files and sub-directories:
File/Sub-directory Description
Manual <DIR> PDF manual files
Help <DIR> On-line help file
7230 <DIR> User objects and sample programs for
7248 <DIR> each card
7250 <DIR>
…
Windows 95 • 11
3
Windows 98
Windows 98 • 13
One CD. However the device cannot work properly without the software
driver files. The installation of any NuDAQ device will get the
unsuccessful device installation. Therefore we suggest you just click
Cancel button to skip it.
After installing any ADLink Windows 98 software driver, the INF files and
Driver files are copied into appropriate directories. With the well-installed
Device Information Files (.INF) and Device Driver Files (.SYS), Windows
98 system will identify and install any plugged NuDAQ acquisition card
automatically at system startup time.
In Device Manager, you should find the device in NuDAQ. You can
double-click the device, select the Resources tab to check if I/O port
and IRQ resources for the device are allocated successfully.
14 • Windows 98
3.2 Software Drivers Installation
When Setup displays a User Information dialog box, please fill items in
the dialog box.
Setup then prompts a dialog box for you to specify the destination
directory for PCIS-DASK. The default path is C:\ADLink\Pci-dask. If
you want to install PCIS-DASK in another directory, please enter the
directory you would like to install PCIS-DASK.
Windows 98 • 15
Then you click Next button and Setup will show the following window:
16 • Windows 98
The selective components include PCIS-DASK Library & all of the
sample programs PCIS-DASK supports. However, for a precise work
with PCIS-DASK, PCIS-DASK Library is the requirement. Here PCIS-
DASK Library MUST be selected.
File/Sub-directory Description
LIB <DIR> PCIS-DASK import library and DLL. Pci-
Dask.lib for Visual C/C++. Pdask_bc.lib for
Borland C++.
INCLUDE <DIR> Include files for application programming.
DASK.BAS for Visual Basic Programming.
DASK.H for C/C++ programming.
DASK.PAS for Delphi programming.
INF <DIR> INF files for NuDAQ PCI-cards installation.
HELP <DIR> On-line help file.
MANUAL<DIR> PDF manual files, including User Guide and
Function Reference.
UTIL<DIR> Driver Registry utility.
SAMPLES <DIR> PCIS-DASK sample programs browser,
Examples.exe, and various sub-directories
for the sample programs of the cards that
PCIS-DASK supports.
After installing PCIS-DASK, the INF files and Driver files are copied
into appropriate directories. With the well-installed Device Information
Files (.INF) and Device Driver Files (.SYS), Windows 98 system will
identify and install any new plugged NuDAQ acquisition card
automatically.
Windows 98 • 17
Note: ADLink will periodically upgrades PCIS-DASK to add support for
new NuDAQ PCI-bus and NuIPC CompactPCI data acquisition
cards, and the additional driver files for the new devices will be
included. Please refer to PCIS-DASK Read Me in PCIS-DASK
folder for the current card types that PCIS-DASK actually
supports.
3.2.3 PCIS-LVIEW/98
18 • Windows 98
When the software component installation process is completed,
Setup will launch the NuDAQ PCI Configuration Utility, PciUtil. This
utility accompanied with PCIS-LVIEW/98 is provided for making card
configuration. Please refer to NuDAQ PCI Configuration Utility section
for the usage of this utility.
When the installation process is completed, the PCIS-LVIEW/98
directory should contain the following files and sub-directories:
After installing PCIS-LVIEW, the INF files and Driver files are copied
into appropriate directories. With the well-installed Device Information
Files (.INF) and Device Driver Files (.SYS), Windows 98 system will
identify and install any new plugged NuDAQ acquisition card
automatically.
3.2.4 PCIS-VEE/98
Windows 98 • 19
step 2. If autorun setup program is not invoked automatically, please
click the Start button on the Taskbar, and then choose Run.
step 3. Type x:\setup (x identifies the drive that contains the compact
disc) in Open text box, and then click OK.
step 4. Setup first displays the main screen. Select Software
Package.
step 5. Setup then displays the ADLink software product screen.
Select NuDAQ PCI Software.
step 6. In NuDAQ PCI Software screen select PCIS-VEE. Then
select Win98 option.
When the software component installation process is completed,
Setup will launch the NuDAQ PCI Configuration Utility, PciUtil. This
utility accompanied with PCIS-VEE/98 is provided for making card
configuration. Please refer to NuDAQ PCI Configuration Utility section
for the usage of this utility.
When the installation process is completed, the PCIS-VEE/98
directory should contain the following files and sub-directories:
File/Sub-directory Description
UserObj PCIS-VEE/98 user objects
Samples <DIR> Sample programs
Util <DIR> NuDAQ PCI Configuration utility
Manual <DIR> PDF manual files
Help <DIR> On-line help file
After installing PCIS-VEE, the INF files and Driver files are copied into
appropriate directories. With the well-installed Device Information Files
(.INF) and Device Driver Files (.SYS), Windows 98 system will identify
and install any new plugged NuDAQ acquisition card automatically.
20 • Windows 98
4
Windows NT 4.0
Windows NT 4.0 • 21
disc) in Open text box, and then click OK.
step 4. Setup first displays the main screen. Select Software
Package.
step 5. Setup then displays the ADLink software product screen.
Select NuDAQ PCI Software.
step 6. In NuDAQ PCI Software screen select PCIS-DASK. Then
select WinNT option.
Setup first displays a Welcome dialog box. Please click Next button to
go on installation.
When Setup displays a User Information dialog box, please fill items in
the dialog box.
Setup then prompts a dialog box for you to specify the destination
directory for PCIS-DASK. The default path is C:\ADLink\Pci-dask. If
you want to install PCIS-DASK in another directory, please enter the
directory you would like to install PCIS-DASK.
Then you click Next button and Setup will show the following window:
22 • Windows NT 4.0
♦ Custom: The Custom Installation dialog box is coming here for
you to select just the sample programs of the cards you want to
install. Custom Installation dialog box is shown below.
Windows NT 4.0 • 23
MANUAL<DIR> PDF manual files, including User Guide and
Function Reference.
UTIL<DIR> Driver Registry utility.
SAMPLES <DIR> PCIS-DASK sample programs browser,
Examples.exe, and various sub-directories
for the sample programs of the cards that
PCIS-DASK supports.
If the device status is none, you have to select the AdlDask and our
device from the device list and then press the “Start” button.
24 • Windows NT 4.0
Note: The AdlDask driver must have been started as you set the card’s
own device driver status as started.
4.1.3 PCIS-LVIEW/NT
Windows NT 4.0 • 25
driver registries and card configuration. Please refer to NuDAQ PCI
Configuration Utility section for the usage of this utility.
When the installation process is completed, the PCIS-LVIEW/NT
directory should contain the following files and sub-directories:
4.1.4 PCIS-VEE/NT
26 • Windows NT 4.0
When Setup displays a User Information dialog box, please fill items in
the dialog box.
When the software component installation process is completed,
Setup will launch the NuDAQ PCI Configuration Utility, PciUtil. This
utility accompanied with PCIS-VEE/NT is provided for making the
driver registries and card configuration. Please refer to NuDAQ PCI
Configuration Utility section for the usage of this utility.
When the installation process is completed, the PCIS-VEE/NT
directory should contain the following files and sub-directories:
File/Sub-directory Description
UserObj PCIS-VEE/NT user objects
Samples <DIR> Sample programs
Util <DIR> PCI NT Driver Registry utility
Manual <DIR> PDF manual files
Help <DIR> On-line help file
Windows NT 4.0 • 27
5
Windows 2000
Windows NT 4.0 • 29
driver files. The installation of any NuDAQ device will get the
unsuccessful device installation. Therefore we suggest you just click
Cancel button to skip it.
After installing ADLink Windows 2000 software drivers, the INF files and
Driver files are copied into appropriate directories. With the well-installed
Device Information Files (.INF) and Device Driver Files (.SYS), Windows
2000 system will identify and install any plugged NuDAQ acquisition
card automatically at system startup time.
After installing any ADLink Windows 2000 software driver then re-
entering Windows 2000, to ensure the success of hardware device
installation, you can open the Device Manager in
Start>>Settings>>Control Panel>>System, and then select the
Hardware tab.
In Device Manager, you should find the device in NuDAQ Boards. You
can double-click the device, select the Resources tab to check if I/O port
and IRQ resources for the device are allocated successfully.
30 • Windows NT 4.0
5.2 Software Drivers Installation
Windows NT 4.0 • 31
step 3. Type x:\setup (x identifies the drive that contains the compact
disc) in Open text box, and then click OK.
step 4. Setup first displays the main screen. Select Software
Package.
step 5. Setup then displays the ADLink software product screen.
Select NuDAQ PCI Software.
step 6. In NuDAQ PCI Software screen select PCIS-DASK. Then
select Win2000 option.
Setup first displays a Welcome dialog box. Please click Next button to
go on installation.
When Setup displays a User Information dialog box, please fill items in
the dialog box.
Setup then prompts a dialog box for you to specify the destination
directory for PCIS-DASK. The default path is C:\ADLink\Pci-dask. If
you want to install PCIS-DASK in another directory, please enter the
directory you would like to install PCIS-DASK.
Then you click Next button and Setup will show the following window:
32 • Windows NT 4.0
♦ Compact: Installs a minimum set of files on your hard disks, INF
files, Dll files, and Driver files included.
♦ Custom: The Custom Installation dialog box is coming here for
you to select just the sample programs of the cards you want to
install. Cus tom Installation dialog box is shown below.
Windows NT 4.0 • 33
File/Sub-directory Description
LIB <DIR> PCIS-DASK import library and DLL. Pci-
Dask.lib for Visual C/C++. Pdask_bc.lib for
Borland C++.
INCLUDE <DIR> Include files for application programming.
DASK.BAS for Visual Basic Programming.
DASK.H for C/C++ programming.
DASK.PAS for Delphi programming.
INF <DIR> INF files for NuDAQ PCI-cards installation.
HELP <DIR> On-line help file.
MANUAL<DIR> PDF manual files, including User Guide and
Function Reference.
UTIL<DIR> Driver Registry utility.
SAMPLES <DIR> PCIS-DASK sample programs browser,
Examples.exe, and various sub-directories
for the sample programs of the cards that
PCIS-DASK supports.
After installing PCIS-DASK, the INF files and Driver files are copied into
appropriate directories. With the well-installed Device Information Files
(.INF) and Device Driver Files (.SYS), Win2000 system will identify and
install any new plugged NuDAQ acquisition card automatically.
5.2.3 PCIS-LVIEW/2000
34 • Windows NT 4.0
select Win2000 option.
Setup will detect LabVIEW directory and copy necessary files to
LabVIEW directory. If you don’t have LabVIEW installed in your
system or your LabVIEW is earlier than version 5.0, Setup will prompt
a dialog box for you to specify the LabVIEW directory. Please specify
your LabVIEW directory then click OK button.
Windows NT 4.0 • 35
File / Sub-directory Description
Plv.llb A copy of PCIS-LVIEW VI library. It is also
copied to <LabVIEW Dir>\User.lib
directory.
Util <DIR> NuDAQ PCI Configuration utility
Manual <DIR> PDF manual files, including User Guide
and Function Reference
Help <DIR> On-line help file
Menus <DIR> .mnu files. They are also copied to
<LabVIEW Dir>\Menus\adlink directory.
6208 Samples <DIR> sample programs for each kind of card
7200 Samples <DIR>
7230 Samples <DIR>
…
Please check if the following files are copied to your LabVIEW
directory.
3. If Plv.llb doesn’t exist in <LabVIEW Dir>\User.lib directory, please
copy it from <PCIS-LVIEW Dir>.
4. If <LabVIEW Dir>\Menus doesn’t have adlink sub-directory, or there
is no file exists in adlink sub-directory, please copy all files in
<PCIS-LVIEW Dir>\Menus to <LabVIEW Dir>\Menus\adlink
directory.
After installing PCIS-LVIEW, the INF files and Driver files are copied
into appropriate directories. With the well-installed Device Information
Files (.INF) and Device Driver Files (.SYS), Windows 2000 system will
identify and install any new plugged NuDAQ acquisition card
automatically.
5.2.4 PCIS-VEE/2000
36 • Windows NT 4.0
select Win2000 option.
When the software component installation process is completed,
Setup will launch the NuDAQ PCI Configuration Utility, PciUtil. This
utility accompanied with PCIS-VEE/2000 is provided for making card
configuration. Please refer to NuDAQ PCI Configuration Utility section
for the usage of this utility.
When the installation process is completed, the PCIS-VEE/2000
directory should contain the following files and sub-directories:
File/Sub-directory Description
UserObj PCIS-VEE/2000 user objects
Samples <DIR> Sample programs
Util <DIR> NuDAQ PCI Configuration utility
Manual <DIR> PDF manual files
Help <DIR> On-line help file
After installing PCIS-VEE, the INF files and Driver files are copied into
appropriate directories. With the well-installed Device Information Files
(.INF) and Device Driver Files (.SYS), Windows 2000 system will
identify and install any new plugged NuDAQ acquisition card
automatically.
Windows NT 4.0 • 37
6
Linux
step 1 . UNPACK
Place ADLink All-in-One CD into the appropriate CD-ROM drive.
Decompress the Pdask-Lx.tgz in /Software/Pcis-dask/Linux directory.
ex.
tar xvzf Pdask-Lx.tgz
Linux • 39
File/Sub-directory Description
lib <DIR> PCIS-DASK shared library .
libpci-dask.so for linux.
Include <DIR> Include files for application programming.
dask.h for C/C++ programming.
drivers <DIR> Kernel modules for NuDAQ PCI-cards.
High_Memory Management Module
Installation Script
docs<DIR> PDF manual files, including User Guide and
Function Reference.
samples<DIR> Some sample programs for NuDAQ device
util<DIR> Driver Configuration utility.
For example, if you have 64MB RAM and reserve 4MB memory for
devices:
In lilo.conf:
boot=/dev/hda
prompt
image=/boot/vmlinuz-2.2.12-20
label=linux
initrd=/boot/initrd-2.2.12-20.img
read-only
root=/dev/hda9
append="mem=60M"
40 • Linux
Because the architecture of PCI bus, the NuDAQ PCI devices can be
detected automatically. All user has to do is inserting modules and
making nodes for the devices.
You can do these manually, or use the applets we provide.
• pci-dask_xxx/util/dask_conf for driver configuration
• pci-dask_xxx/drivers/dask_inst.pl for driver installation
The dask_conf can configure device drivers, and save the
information of devices into pcidask.conf. (please refer to section 7.4 )
<InstallDir>/pci-dask_xxx/drivers/dask_inst.pl
Linux • 41
7
To register one of PCI card drivers, click New… button and a Driver
Configuration window appears.
Then you can select Exit! command in the menu bar or Done button
to exit the driver registry utility. To make the registered drivers work,
you have to restart Windows NT system.
From this window, user can select the driver you want to configure and
type the value in the box corresponding to AI, AO, DI, or DO according
to the requirement of your applications. The “Buffer Allocated” of AI,
AO, DI, DO represent the sizes of contiguous Initially Allocated
memory for continuous analog input, analog output, digital input, digital
output respectively. Its unit is Kbytes, i.e. 1024 bytes. Device driver will
try to allocate these sizes of memory at system startup time. If system
is not able to provide the memory as size specified, the device driver
will allocate the memory as large as it can. You can use
AI/DI/DO_InitialMemoryAllocated function to get the memory size
allocated. Only the fields that are available for this card type are
enabled, the others are grayed. The size of initially allocated memory
is the maximum memory size that DMA or Interrupt transfer can be
performed. It will induce an unexpected result in that DMA or Interrupt
transfer performed exceeds the initially allocated size.
After one device configuration of the driver you select is finished, click
“Apply”. While all of the device configurations you wish to modify are
done, click OK to exit the NuDAQ PCI configuration utility. To make
the configuration modification effective, you have to restart Windows
98 system.
From this window, user can select the driver you want to configure
and type the value in the box corresponding to AI, AO, DI, or DO
according to the requirement of your applications. The “Buffer
Allocated” of AI, AO, DI, DO represent the sizes of contiguous Initially
Allocated memory for continuous analog input, analog output, digital
input, digital output respectively. Its unit is Kbytes, i.e. 1024 bytes.
Device driver will try to allocate these sizes of memory at system
startup time. If system is not able to provide the memory as size
specified, the device driver will allocate the memory as large as it can.
You can use AI/DI/DO_InitialMemoryAllocated function to get the
memory size allocated. Only the fields that are available for this card
type are enabled, the others are grayed. The size of initially allocated
memory is the maximum memory size that DMA or Interrupt transfer
can be performed. It will induce an unexpected result in that DMA or
Interrupt transfer performed exceeds the initially allocated size.
After one device configuration of the driver you select is finished, click
“Apply”. While all of the device configurations you wish to modify are
done, click OK to exit the NuDAQ PCI configuration utility. To make
the configuration modification effective, you have to restart Windows
2000 system.
Software Un-Installation
All ADLink’s Windows 95/98/NT/2000 software has the capability of
automatic un-installation.
Software Un-Installation • 49
9
Trouble Shooting
1. BIOS Setting
2. BIOS Compatibility
3. OS Device Driver Installation
4. OS Compatibility
5. Software Library Installation
6. Hardware failure
PCI_SCAN utility is used to help to list the BIOS setting under DOS. It
can not solve the installation problem. But you can use it to list the
system PCI resources, check if BIOS has assigned resource to your PCI
I/O cards, and check if the BIOS assign conflict resources to different I/O
devices.
Trouble Shooting • 51
(c) How to use this utility?
Whenever your card can not install or function well, please run this utility
at first.
1. When the system is power on, the BIOS will assign resource to the
PCI add-on card.
2. This utility must run under pure DOS mode. It call the BIOS to list all
the PCI resource in your computer, and show the resource on the
screen.
3. It will record the BIOS setting to a log file "PCI_SCAN.LOG".
4. Due to some OS (like Windows 98) may change the BIOS default
setting, the I/O cards resource getting under Windows 98 or NT may
different from which get under pure DOS environment. Therefore, we
recommend you to run this utility under pure DOS.
52 • Trouble Shooting
9.2 Windows 95/98/NT/2000 Trouble Shooting
Situation 1: After installation followed by re-entering Windows NT
system, the device doesn’t work.
Actions:
1. Is the driver made registry or not?. If not, use NuDAQs device
configuration utility PciUtil to make registry for your device. Please
refer to NuDAQ PCI Configuration Utility section for the usage of this
utility.
2. If the driver has been made registry, check the device status in
Devices window (Control Panel>>Devices). If the device status is
none, do as follows:
(1) Select the device from the device list and then press the Start
button.
(2) If the device is still not stated after pressing the Start button,
record the error message shown.
(3) Run utility Ntfdpci. The utility is located in PCI_SCAN\NT directory
of ADLink All-in-One CD. Install the utility, RE-START the system
and run Ntfdpci.exe in the installed directory.
(4) A log file NtPci.dat is generated after running Ntfdpci.exe. Send us
this log file and the error message got from step (2), so that we can
help you to diagnostic the device installation problem.
Trouble Shooting • 53
according to the procedures described in Device Installation in
Windows 98 chapter.
54 • Trouble Shooting
Situation 5: Performing continuous operations failed
Actions:
1. The size of initially allocated memory of AI/DI/DO for your device is
not assigned or not large enough. Use NuDAQPCI configuration
utility PciUtil to set or modify the memory size. Please refer to
NuDAQPCI Configuration Utility section to know the usage of this
utility.
2. The buffer size your program asks for currently exceeds the size of
memory initially allocated. Use the related memory allocation size
report function (e.g. AI_InitialMemoryAllocated) to check the size
value.
Trouble Shooting • 55