Professional Documents
Culture Documents
User’s Guide
@Copyright 1999~2001 ADLINK Technology Inc.
All Rights Reserved.
Manual Rev: 1.10: August 15, 2001
The information in this document is subject to change without prior notice in order
to improve reliability, design and function and does not represent a commitment
on the part of the manufacturer.
In no event will the manufacturer be liable for direct, indirect, special, incidental,
or consequential damages arising out of the use or inability to use the product or
documentation, even if advised of the possibility of such damages.
This document contains proprietary information protected by copyright. All rights
are reserved. No part of this manual may be reproduced by any mechanical,
electronic, or other means in any form without prior written permission of the
manufacturer.
Trademarks
NuDAQ, MOTION-LVIEW series product are registered trademarks of ADLINK
Technology Inc. IBM PC is a registered trademark of International Business
Machines Corporation. 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
http://www.adlinktechnology.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
Table of Contents •i
How to Use This Guide
This manual is designed to help you to use the PCI-8132/8134/8164 Motion
Control cards in NI LabVIEW software package. The manual describes how to
install and use the software library to meet your requirements and help you to
program your own software applications. This manual is organized as follows:
Chapter 1, “Introduction to MOTION-LVIEW”, describes how to install the
software and how to program your application by using MOTION-LVIEW.
Chapter 2, “MOTION-LVIEW Overview”, briefly describes each VI in
MOTION-LVIEW.
1
Introduction to MOTION-LVIEW
Introduction to MOTION-LVIEW •1
Setup first displays a Welcome dialog box. Please click Next button to go to the
next step.
Then Setup will display an “User Information” dialog box. Please fill items in the
dialog box (including the serial number data). Then click Next button to go on
installation. You have to enter the valid serial number to get a valid license (use
upper case). Otherwise you can only use MOTION-LVIEW software in 120
minutes demo mode.
Setup will detect LabVIEW directory and copy necessary files to LabVIEW
directory to install function palette for MOTION-LVIEW. 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.
2 •Introduction to MOTION-LVIEW
1.2 Using MOTION-LVIEW VIs in LabVIEW
To use MOTION-LVIEW VIs, you may switch the palette to the adlink_motion
view. Select Select Palette Set command in the Edit menu from panel or block
diagram in LabVIEW. Then select the adlink_motion view from the menu setup
ring.
Introduction to MOTION-LVIEW •3
You can find MOTION-LVIEW VIs in PCI8132, PCI8134, and PCI8164 icons.
4 •Introduction to MOTION-LVIEW
1.4 MOTION-LVIEW Un-installation
MOTION-LVIEW has the capability of automatic un-installation.
To un-install MOTION-LVIEW, open the Control Panel, double-click
Add/Remove Programs, select MOTION-LVIEW to un-install it.
After un-installation, all files in the directory of MOTION-LVIEW will be removed,
but the adlink_motion palette still exists in your LabVIEW directory. If you don’t
use them any more, you can remove the VI library files Pci8132.llb, Pci8134.llb,
and Pci8164.llb in “User.lib” folder, and remove the “Menus\adlink_motion”
folder.
Introduction to MOTION-LVIEW •5
2
MOTION-LVIEW Overview
Initialization
8132 Win95/98 Initial Software initialization in Win95/98
8132 WinNT/2000 Initial Software initialization in WinNT/2000
8132 WinNT/2000 Close Software Close in WinNT/2000
8132 Set Config Configure PCI-8132 according to Motion Creator
6 •MOTION-LVIEW Overview
move
8132 start ta move Begin an absolute non-symmetrical trapezidal profile
move
8132 ta move Perform an absolute non-symmetrical trapezoidal
profile move
8132 wait for done Wait for an axis to finish
MOTION-LVIEW Overview •7
Motion Status
8132 motion done Returns TRUE if motion done
Position Control
8132 get position Set current actual position
8132 set position Get current actual position
8132 get command Set current command position
8132 set command Get current command position
Interrupt Control
8132 Set INT Control Enable/disable interrupt generation
8132 set int factor Set Interrupt generation factors
8132 get int status Get the interrupting status of axis
8 •MOTION-LVIEW Overview
Initialization
Win95/98 8134_Initial Software initialization in Win95/98
WinNT/2000 8134_Initial Software initialization in WinNT/2000
WinNT/2000 8134_Close Software Close in WinNT/2000
8134_Set_Config Configure PCI-8134 according to Motion Creator
MOTION-LVIEW Overview •9
Linear / Circular Interpolated Motion
move_xy 2-axis linear interpolated move for X & Y
move_zu 2-axis linear interpolated move for Z & U
arc_xy 2-axis circular interpolated move for X & Y
arc_zu 2-axis circular interpolated move for Z & U
Motion Status
motion_done Returns TRUE if motion done
Position Control
set_position Set current actual position
get_command Get current actual position
set_command Set current command position
get_command Get current command position
10 •MOTION-LVIEW Overview
2.3 PCI-8164 VIs
Initialization
8164 Initial Software initialization
8164 Close Software Close
8164 get base addr Get base address of PCI-8164
8164 get irq channel Get the PCI-8164 card’s IRQ number
8164 config from file Configure PCI-8164 cards according to
configuration file ie. 8164.ini, which is created by
Motion Creator.
12 •MOTION-LVIEW Overview
Manual Pulser Motion
8164 set pulser iptmode Set pulser input mode
8164 pulser vmove Start pulser v move
8164 pulser pmove Start pulser p move
8164 pulser home move Start pulser home move
Motion Status
8164 motion done Return the motion status
Interrupt Control
8164 int control Enable/disable interrupt generation
8164 set int factor Set Interrupt generation factors
8164 get int status Get the interrupting status of axis
Continuous Motion
8164 set continuous move Enable continuous motion for absolute motion
8164 check continuous buffer Check if the buffer is empty
14 •MOTION-LVIEW Overview