Advantech PCI-1671UP Startup Manual

Type
Startup Manual
1 Startup Manual
STARTUP MANUAL
PCI-1671UP High-Performance GPIB PCI Interface Card
USB-4671 High-Performance GPIB USB Interface Module
Your interface board consists of hardware and soft-
ware that fully implement the IEEE 488 standard,
also known as GPIB. This document enables you to
install, configure, test, and verify your installation.
Other documentation, including the GPIB Program-
ming Reference Manual, is available in the root
directory on your software CD in Adobe Portable
Document Format (PDF). To view these PDF files,
you must have Adobe Acrobat Reader version 4.0 or
later installed on your system. If you do not have
this program, refer to the Adobe Systems Incorpo-
rated Web site, http://www.adobe.com/products/
acrobat/readstep2.html, to download the Acrobat
Reader program. There is no charge for this down-
load.
Program and documentation copyrighted 2005 by
Advantech Co., Ltd. The software interpreter contained in
EPROM/ROM is copyrighted and all rights are reserved by
Advantech Co., Ltd. Copying or duplicating this product is
a violation of law.
Application software libraries provided on disk are copy-
righted by Advantech Co., Ltd. The purchaser is granted the
right to include portions of this software in products which
use one of the IEEE 488 interface boards (including those
sold through resellers). The software may not be distributed
other than for the application just mentioned.
No part of this document may be reproduced or transmitted
in any form or by any means, electronic, optical, or mechan-
ical, including photocopying and recording, or by any infor-
mation storage and retrieval system, without permission in
writing from Advantech Co., Ltd.
Follow these steps to install the software:
The installer should start automatically when you
insert the CD supplied with the interface card into
the drive. If it does not, explore the CD drive and
double-click setup.exe in the:
CD\Drivers\GPIB\ PCI-1671 directory to start the
installer. You can also start the installer by selecting
Start>Run and choosing setup.exe from the CD
directory.
Please Note that NI-488.2 driver must be
removed before running "setup.exe" to avoid
confliction.
Proceed through the installer screens by clicking the
Next button until you see the Select Features win-
dow, where you can choose the features to install.
Click on each feature for a brief description. All fea-
tures are installed by default, but you can choose not
to install support for the programming feaures you
will not use. After you select your features and com-
plete the installation, all necessary files will be in
the C:\Program Files\GPIB-488 directory.
A dialog box will prompt you to reboot the system
when you finish the installation. Click the Yes button
to reboot.
USB Devices
Follow these steps to install the hardware:
Remove the unit from its protective packaging. Save
the anti-static bubble wrap.
Before connecting the USB card to your GPIB
instruments, ensure that the instruments and PC are
at the same ground potential. Failure to do so could
damage the instruments, PC, or USB card.
Plug the USB card into an available USB port.
USB devices are plug and play. These devices con-
figure automatically. There is no need to power
cycle your PC.
Introduction and Installation Step 1. Install the Software
License Agreement
Notes
For more information on this and other Advantech
products, please visit our websites at:
http://www.advantech.com
http://www.advantech.com/eAutomation
For technical support and service:
http://www.advantech.com/support/
Part No: 2003167100
Step 2. Install the Hardware
2 Startup Manual
PCI Devices
Follow these steps to install the hardware:
Handle the board only by the edges. Static electric dis-
charge can damage the integrated circuits on the board.
Remove the interface board from its protective packag-
ing by grasping the metal rear panel. Save the anti-static
bubble package.
• Power off the computer.
• Unplug the power cord.
• Remove the computer cover.
• Install the board in any available slot.
• Use the screw to attach the rear panel bracket to the
computer case.
• Reinstall the computer cover.
• Plug in the computer and power it on.
For PCI cards in a plug-and-play operating system, the
card should configure automatically if you have
installed the software first. If you see a message about
an unrecognized board and a prompt for a disk, insert
the software CD as instructed by the operating system.
Follow these steps to test the interface:
• Go to Start>Programs>GPIB-488 and select GPIB
Diagnostic to run the hardware test program. You
can also execute the test program directly by run-
ning GPIBDiagnostic.exe in the C:\Program
Files\GPIB-488\utilities directory.
• This program tests and reports on the status of your
IEEE 488 board(s).
• Go to Start>Programs>GPIB-488 and select GPIB
Interactive Control to run the interactive pro-
gram, which allows you to communicate with the
device. You can also execute the test program
directly by running GPIBInteractiveCon-
trol.exe in the C:\Program Files\GPIB-488\util-
ities directory.
• At the prompt, type ibfind gpib0. You should see the
prompt change to gpib0.
• Type ibdev and enter the parameters based on your
device settings.
• The prompt should now have changed to User_>:.
• Type ibwrt "*idn?" and you should see a status of
0100, CMPL and a count of 5, indicating the data
was sent to the device successfully.
• Type ibrd 1000 and press <Enter>. You should see
the device identification string from the device
indicating that communication was successful.
Note 1: "*idn?" is for 488.2 devices only. For the
devices that support only 488.1, we suggest to use
"GPIBInteractiveControl.exe" to proceed with the tests.
Note 2: For more detail about using IEEE-488 com-
mands, please refer to the "GPIBProgrammingRefer-
enceManual.pdf".
Writing Custom Programs
To use your interface for custom applications, you need
to write specialized software. We have made this easy
by providing a simple set of high-level routines you can
use with all popular programming languages.
The GPIB software includes the 488.1 library, the 488.2
library, and a set of utility programs.
The 488.1 library consists of all of the functions and
subroutines that begin with the letters “ib”. The 488.1
library routines refer to devices on the GPIB bus by
their device names and handles rather than by their
GPIB addresses.
The 488.2 library consists of all the routines that do not
begin with the letters “ib”. The 488.2 library routines
refer to devices on the GPIB bus by their GPIB
addresses rather than by their names or handles.
For more information, refer to the GPIB Programming
Reference Manual, available in the root directory on
your software CD in Adobe Portable Document Format
(PDF).
Step 3. Test the Interface
GPIB-488
GPIB-488 Programming Reference Manual
Programming Reference Manual
May 2009
371930E-01
© 1996–2009 by Quality Instrumentation Solutions, Inc. and its licensors. All rights reserved.
Conventions
The following conventions are used in this manual:
[ ] Square brackets indicate the key to be pressed.
» The » symbol leads you through nested menu items and dialog box options
to a final action. The sequence File»Page Setup»Options directs you to
pull down the File menu, select the Page Setup item, and select Options
from the last dialog box.
This icon denotes a note, which alerts you to important information.
This icon denotes a caution, which advises you of precautions to take to
avoid injury, data loss, or a system crash.
When symbol is marked on a product, it denotes a warning advising you to
take precautions to avoid electrical shock.
When symbol is marked on a product, it denotes a component that may be
hot. Touching this component may result in bodily injury.
bold Bold text denotes items that you must select or click in the software, such
as menu items and dialog box options. Bold text also denotes parameter
names.
italic Italic text denotes variables, emphasis, a cross reference, or an introduction
to a key concept. Italic text also denotes text that is a placeholder for a word
or value that you must supply.
monospace Text in this font denotes text or characters that you should enter from the
keyboard, sections of code, programming examples, and syntax examples.
This font is also used for the proper names of disk drives, paths, directories,
programs, subprograms, subroutines, device names, functions, operations,
variables, filenames, and extensions.
GPIB terms used within this manual are:
GPIB General Purpose Interface Bus
System controller The system controller has the unique ability to retrieve active control of the
bus or to enable devices to be remotely programmed. It takes control of the
bus by issuing an IFC (Interface Clear) message for at least 200 µsec. It also
can put devices into the remote state by asserting the REN (Remote Enable)
line.
There is always one system controller in a GPIB system. The system
controller is designated at system initialization either through the use of
hardware switches or by some type of configuration software, and is not
changed. The system controller can be the same controller as the one which
is the current active controller or an entirely different one. Note that if a
controller is both a system controller and the active controller and it passes
control to another controller, the system controller capability is not passed
along with it.
Active controller The active controller is the controller which has the ability to mediate all
communications which occur over the bus. In other words, the active
controller designates (addresses) which device is to talk and which devices
are to listen. The active controller is also capable of relinquishing its
position as active controller and designating another controller to become
the active controller.
Device A device is any IEEE-488 instrument which is not a system controller or
active controller. It can be idle or act as a talker and/or listener when
addressed or unaddressed by the active controller.
Listener A listener is any device which is able to receive data when properly
addressed. There can be up to 14 active listeners on the bus concurrently.
Some devices can also be a talker or controller; however, only one of these
functions can be performed at a time.
Talker A talker is a device which can transmit data over the bus when properly
addressed. Only one device can transmit at a time. Some devices can also
be a listener or controller; however, only one of these functions can be
performed at a time.
GPIB-488 v Programming Reference Manual
Contents
Chapter 1
GPIB Software Overview
Supported Languages.....................................................................................................1-1
GPIB Library Utility Programs......................................................................................1-2
Support for VISA Calls ...................................................................................1-2
GPIB-32.DLL Function Support.....................................................................1-2
GPIB488.DLL Function Support ....................................................................1-2
Unsupported API.............................................................................................1-3
Asynchronous API...........................................................................................1-3
GPIB32 API and GPIB488 API Differences...................................................1-3
Migrating from the GPIB32 API to the GPIB488 API ...................................1-3
Chapter 2
Programming with the GPIB Library
General Concepts...........................................................................................................2-1
Device vs. Board I/O .......................................................................................2-2
Device I/O .......................................................................................................2-2
Board l/O .........................................................................................................2-3
Device Handles................................................................................................2-3
Global Variables..............................................................................................2-3
ibsta/Ibsta()—The Status Word ........................................................2-4
iberr/Iberr()—The Error Variable .....................................................2-4
ibcnt and ibcntl/Ibcnt()—Count Variables........................................2-4
Thread Variables .............................................................................................2-4
Chapter 3
GPIB 488.1 Library Reference
IBASK ...........................................................................................................................3-3
IBCAC ...........................................................................................................................3-6
IBCLR............................................................................................................................3-7
IBCMD ..........................................................................................................................3-8
IBCMDA .......................................................................................................................3-10
IBCONFIG.....................................................................................................................3-12
IBDEV ...........................................................................................................................3-16
IBDMA ..........................................................................................................................3-18
IBEOS............................................................................................................................3-20
IBEOT............................................................................................................................3-22
IBFIND ..........................................................................................................................3-24
Contents
Programming Reference Manual vi GPIB-488
IBGTS............................................................................................................................ 3-25
IBIST ............................................................................................................................. 3-27
IBLINES........................................................................................................................ 3-28
IBLN.............................................................................................................................. 3-30
IBLOC ...........................................................................................................................3-31
IBONL...........................................................................................................................3-32
IBPAD ...........................................................................................................................3-33
IBPCT............................................................................................................................ 3-34
IBPPC............................................................................................................................ 3-35
IBRD.............................................................................................................................. 3-37
IBRDA...........................................................................................................................3-39
IBRDF ...........................................................................................................................3-40
IBRPP............................................................................................................................ 3-42
IBRSC............................................................................................................................ 3-44
IBRSP............................................................................................................................ 3-45
IBRSV ...........................................................................................................................3-46
IBSAD ...........................................................................................................................3-47
IBSIC............................................................................................................................. 3-48
IBSRE............................................................................................................................ 3-49
IBSTOP ......................................................................................................................... 3-50
IBTMO .......................................................................................................................... 3-51
IBTRG ...........................................................................................................................3-53
IBWAIT......................................................................................................................... 3-54
IBWRT .......................................................................................................................... 3-56
IBWRTA ....................................................................................................................... 3-58
IBWRTF........................................................................................................................ 3-59
Chapter 4
GPIB 488.2 Library Reference
AllSpoll.......................................................................................................................... 4-2
DevClear........................................................................................................................4-3
DevClearList.................................................................................................................. 4-4
EnableLocal................................................................................................................... 4-5
EnableRemote................................................................................................................ 4-6
FindLstn......................................................................................................................... 4-7
FindRQS........................................................................................................................ 4-9
PassControl.................................................................................................................... 4-10
PPoll .............................................................................................................................. 4-11
PPollConfig ................................................................................................................... 4-12
PPollUnconfig ............................................................................................................... 4-13
RcvRespMsg.................................................................................................................. 4-14
ReadStatusByte.............................................................................................................. 4-15
Receive .......................................................................................................................... 4-16
Contents
GPIB-488 vii Programming Reference Manual
ReceiveSetup .................................................................................................................4-17
ResetSys.........................................................................................................................4-18
Send ...............................................................................................................................4-19
SendCmds ......................................................................................................................4-20
SendDataBytes...............................................................................................................4-21
SendIFC .........................................................................................................................4-22
SendList .........................................................................................................................4-23
SendLLO........................................................................................................................4-25
SendSetup ......................................................................................................................4-26
SetRWLS .......................................................................................................................4-27
TestSRQ.........................................................................................................................4-28
TestSys...........................................................................................................................4-29
Trigger ...........................................................................................................................4-30
TriggerList .....................................................................................................................4-31
WaitSRQ........................................................................................................................4-32
Appendix A
Multiline Interface Messages
Appendix B
IBSTA
Appendix C
IBERR
Index
GPIB-488 1-1 Programming Reference Manual
1
GPIB Software Overview
The GPIB software includes the 488.1 library, the 488.2 library, and a set
of utility programs. The 488.1 library consists of all of the functions and
subroutines that begin with the letters “
ib”. The 488.1 library routines refer
to devices on the GPIB bus by their device names and handles rather than
by their GPIB addresses.
The 488.2 library consists of all the routines that do not begin with the
letters “
ib”. The 488.2 library routines refer to devices on the GPIB bus by
their GPIB addresses rather than by their names or handles.
Supported Languages
The GPIB library provides identical routines for each supported language.
Languages supported by the GPIB library at the time this manual was
published are listed below.
Table 1-1. Programming Languages
Programming Languages
Delphi
C
C#
Visual Basic
Visual Basic .NET
Chapter 1 GPIB Software Overview
Programming Reference Manual 1-2 GPIB-488
GPIB Library Utility Programs
The following utility programs are installed with the GPIB library
software.
Support for VISA Calls
VISA (Virtual Instrument Software Architecture) drivers are command
drivers that convert company and program-independent VISA calls into
company-dependent calls.
GPIB-32.DLL Function Support
Each library function defined by GPIB 488.1 and GPIB 488.2 has a
corresponding entry point in
gpib-32.dll. gpib-32.dll is available for
32-bit applications only. For all future applications,
gpib488.dll is the
recommended method. A C application needing 64-bit support must
migrate to using
gpib488.dll.
In a C application, to use
gpib-32.dll, include gpib.h in your source
files and link your program with the
gpib-32.obj object file. All
examples are available from the Start menu.
GPIB488.DLL Function Support
Each library function defined by GPIB 488.1 and GPIB 488.2 has a
corresponding entry point or equivalent function in
gpib488.dll.
gpib488.dll is available for both 32-bit and 64-bit applications.
gpib488.dll is the recommended method for programming GPIB.
In a C application, to use
gpib488.dll, include gpib488.h in your
source files and link your program with the
gpib488.obj object file. For
64-bit applications, use
gpib488.obj under the win64 directory. All
examples are available from the Start menu.
Utility program Description
GPIBDIAGNOSTIC.EXE
Software and hardware test program
CBIC32.EXE
Interactive control program
GPIBCONF.EXE
Configuration utility program
Chapter 1 GPIB Software Overview
GPIB-488 1-3 Programming Reference Manual
Unsupported API
The GPIB library does not support iblck or ibnotify. Applications that
utilize these functions will not run properly.
Asynchronous API
Asynchronous I/O is not explicitly supported and is treated as synchronous.
This affects
ibcmda, ibrda, and ibwrta.
GPIB32 API and GPIB488 API Differences
The following list outlines the changes from the gpib32.dll to the
gpib488.dll interface.
Use of
wchar_t instead of unsigned short for wide character functions
(
ibfindW(), ibrdfW(), and ibwrtfW()).
Use of
const for buffers where applicable (ibcmd(), ibwrt(), etc.).
Use of
size_t types for buffer sizes (ibcmd(), ibrd(), etc.).
All status variables are now of type unsigned long.
Removal of
ThreadIbcntl(). This is now a macro that calls
ThreadIbcnt().
Addition of new global status variable functions:
Ibsta(), Iberr(),
Ibcnt().
All long-term deprecated functions are completely removed.
Functions with
ibconfig() equivalent functionality have been
replaced with a macro that calls
ibconfig(). These functions are
ibpad(), ibsad(), ibtmo(), ibeot(), ibrsc(), ibsre(),
ibeos(), ibdma(), ibist(), and ibrsv().
Addition of the
IbaEOS option for ibask() and IbcEOS option for
ibconfig().
Migrating from the GPIB32 API to the GPIB488 API
To migrate from gpib-32.dll to gpib488.dll, include gpib488.h
instead of
gpib.h and link with gpib488.obj instead of gpib-32.obj.
Some signed/unsigned compiler warnings may occur due to the type
change for the status variables, but these are easily correctable.
GPIB-488 2-1 Programming Reference Manual
2
Programming with the GPIB
Library
The routines are divided into two distinct libraries. All routines which begin
with “
ib” are part of the “488.1” or “Original GPIB library.” All other
routines are part of the “488.2 library.” You only need to use one or the
other library. Each library provides a different method of performing the
same tasks. The choice of which library to use is a matter of personal
preference. If you use the original GPIB library, you can perform either
Board Level or Device Level operations.
Original 488.1 library—The 488.1 library (also referred to as the original
library), consists of all of the functions and subroutines that begin with the
letters “
ib”. This library uses a concept of device names and handles rather
than GPIB addresses when referring to GPIB devices. There are two
advantages to this approach:
The GPIB addresses of each device are not stored in the program, so
the same program can run on different buses where the addresses of
each device are different.
The program can refer to each device with an intelligible name rather
than a number (the GPIB address).
488.2 library—This library consists of all the routines that do not begin
with the letters “
ib”. These routines refer to all devices on the bus by their
GPIB addresses rather than by names. The Device I/O section does not
apply to the 488.2 library.
The GPIB library includes different routines that allow you to control the
operations of the GPIB bus in a very specific manner. You may find the
number of routines included in the GPIB library intimidating, however, in
most applications you need to use only a small subset of these routines.
General Concepts
This section explains the difference between routines which use Device I/O
and those which use Board I/O, the use of device handles, and the global
variables used by the library routines.
Chapter 2 Programming with the GPIB Library
Programming Reference Manual 2-2 GPIB-488
Device vs. Board I/O
The most typical GPIB operations are sending commands to a device
attached to the bus and reading back responses. To do this, program the
GPIB board to execute these steps:
1. Address the selected device as a Listener.
2. Send the secondary address if used.
3. Address the board itself as the GPIB Talker.
4. Send the command bytes to the device.
5. Address the board itself as the Listener.
6. Address the selected device as the Talker.
7. Send the secondary address if used.
8. Read the response from the device.
9. Send the GPIB Unlisten (UNL) message.
10. Send the GPIB Untalk (UNT) message.
The original GPIB library interface is comprised of two different types of
routines: Board I/O and Device I/O. These routines are described in
Chapter 3, GPIB 488.1 Library Reference. You can program the board
using either Board I/O routines or Device I/O routines to perform the
sequence of operations outlined above.
The 488.2 library is all “Board I/O” in that you always supply the board ID
and the device address. Refer to Chapter 4, GPIB 488.2 Library Reference.
Device I/O
It is usually easier to use the Device I/O routines. Device I/O is very simple
to use and understand. Device I/O routines are higher-level routines which
conceal most of the underlying complexity of GPIB operations. The Device
I/O routines automatically take care of all of the low-level details involving
GPIB messages and addressing. For example, to accomplish the seven
steps listed above, you use only three routines:
ibdev—to open the device
ibwrt—to send the instrument command
ibrd—to read the data back from the device
Chapter 2 Programming with the GPIB Library
GPIB-488 2-3 Programming Reference Manual
Board l/O
In comparison, the Board I/O routines are low-level routines. If you use
them, you must understand how the GPIB operates in detail. Generally, the
only time you need to use Board I/O is if it is impossible to perform the
same operation using device I/O, such as passing control from one
controller to another.
To perform the same task as the steps outlined in Device vs. Board I/O
(send a command to a device), you need to know the codes for the various
forms of addressing and the codes for the GPIB Unlisten and Untalk
commands.
Use the routines in this sequence:
ibfind—to open the board
ibcmd—to send the address of the talker and listener
ibwrt—to send the command to the device
ibcmd—to send the address of the talker and listener
ibrd—to read the data back from the device
ibcmd—to send the Unlisten (UNL) and Untalk (UNT) commands
Device Handles
Most of the routines in the 488.1 library have a device handle as the first
argument. The first GPIB call in your program is usually
ibfind or
ibdev. These routines “open” a board or device and return a GPIB board
or device handle. If you pass the name of a board to
ibfind, it returns a
board handle. Likewise, if a device name is passed or
ibdev is used, a
device handle is returned. Some library routines only work with device
handles, some only with board handles, and some with both.
Global Variables
The following global variables are available in the gpib-32.dll
interface:
ibsta Status Word
iberr Error Codes
ibcnt, ibcntl Count Variables (short/long)
Chapter 2 Programming with the GPIB Library
Programming Reference Manual 2-4 GPIB-488
The iberr variables are briefly explained here. For additional information
about
iberr, refer to Appendix C, IBERR.
For additional information about
ibcnt and ibcntl, refer to the routines
that return them.
The following global state functions also are available with the
gpib488.dll interface:
Ibsta() Status Word
Iberr() Error Codes
Ibcnt() Count Variable
Ibsta(), Iberr(), and Ibcnt() are equivalent to ibsta, iberr, and
ibcntl, respectively.
ibsta/Ibsta()—The Status Word
Every GPIB library routine returns a 16-bit status word. This describes the
current condition of the GPIB bus lines and interface board. Possible values
and their meanings are listed in Appendix B, IBSTA.
iberr/Iberr()—The Error Variable
If a GPIB error occurs during a routine, its corresponding error code is
returned into the variable
iberr. Possible error codes and their meanings
are listed in Appendix C, IBERR.
ibcnt and ibcntl/Ibcnt()—Count Variables
These variables contain an integer that describes how many bytes were
actually transferred during a read or write operation.
ibcnt is an integer
value (16 bits wide) and
Ibcnt/ibcntl are long integer values (32 bits
wide).
Thread Variables
The following thread variables are available in the gpib-32.dll
interface:
ThreadIbsta() Status Word
ThreadIberr() Error Codes
ThreadIbcnt(), Count Variables (Short/Long)
ThreadIbcntl()
Chapter 2 Programming with the GPIB Library
GPIB-488 2-5 Programming Reference Manual
ThreadIbsta(), ThreadIberr(), and ThreadIbcnt()/
ThreadIbcntl() are equivalent to ibsta, iberr, and ibcnt/ibcntl,
respectively, except they represent the current status on a per-thread level.
The following thread local variables are available in the
gpib488.dll
interface:
ThreadIbsta() Status Word
ThreadIberr() Error Codes
ThreadIbcnt() Count Variable
ThreadIbsta(), ThreadIberr(), and ThreadIbcnt() are equivalent
to
ibsta, iberr, and ibcntl, respectively, except they represent the
current status on a per-thread level.
ThreadIbcntl() also is available, but
is defined to be an alias for
ThreadIbcnt().
GPIB-488 3-1 Programming Reference Manual
3
GPIB 488.1 Library Reference
This chapter describes each of the 488.1 GPIB library routines. A short
description of the routine, its syntax, parameters, any values that are
returned, any special usage notes, and an example are included for each
routine. The routines are listed in alphabetical order. The following table
lists all of the 488.1 GPIB library routines. A full description of each
routine follows the table.
Table 3-1. 488.1 Library routines
Name Description
ibask
Returns software configuration information
ibcac
Become Active Controller
ibclr
Clear specified device
ibcmd
Send GPIB commands from a string
ibcmda
Send GPIB commands asynchronously from a string
ibconfig
Configure the driver
ibdev
Open and initialize a device when the device name is unknown
ibdma
Enable/Disable DMA
ibeos
Change EOS
ibeot
Change EOI
ibfind
Open a device and return its unit descriptor
ibgts
Go from Active Controller to standby
ibist
Define IST bit
iblines
Return status of GPIB bus lines
ibln
Check for presence of device on bus
ibloc
Go to Local
ibonl
Place device online/offline
Chapter 3 GPIB 488.1 Library Reference
Programming Reference Manual 3-2 GPIB-488
ibpad
Change Primary address
ibpct
Pass Control
ibppc
Parallel Poll Configure
ibrd
Read data to a string
ibrda
Read data asynchronously
ibrdf
Read data to file
ibrpp
Conduct parallel poll
ibrsc
Request/release system control
ibrsp
Return serial poll byte
ibrsv
Request service
ibsad
Define secondary address
ibsic
Send IFC
ibsre
Set/clear REN line
ibstop
Stop asynchronous I/O operation
ibtmo
Define time limit
ibtrg
Trigger selected device
ibwait
Wait for event
ibwrt
Write data from a string
ibwrta
Write data asynchronously from a string
ibwrtf
Write data from file
Table 3-1. 488.1 Library routines (Continued)
Name Description
Chapter 3 GPIB 488.1 Library Reference
GPIB-488 3-3 Programming Reference Manual
IBASK
Returns software configuration information.
Syntax
C (gpib-32.dll) ibask (int boarddev, int option, unsigned int
*value)
C (gpib488.dll) ibask (int boarddev, int option, unsigned int
*value)
Parameters
boarddev A board handle or device handle
option Specifies which configuration item to return; see Table 3-2.
value Current value of specified item returned here
Table 3-2. ibask Options
Option Valid for Information returned
IbaPAD
bd/dev Primary address of board or device
IbaSAD
bd/dev Secondary address of board or dev
IbaTMO bd/dev
The current timeout value for I/O commands (refer to
ibtmo for a list of possible values)
IbaEOT bd/dev
0 = EOI asserted at end of write
non zero = EOI is not asserted at end of write
IbaPPC bd
The current parallel poll configuration of the board
IbaREADDR dev
0 = Forced re-addressing is disabled
non zero = Forced re-addressing is enabled.
IbaAUTOPOLL bd
0 = automatic at end of write
non zero = automatic serial poll is disabled
IbaCICPROT bd
0 = CIC protocol is disabled
non zero = CIC protocol is enabled
IbaSC bd
0 = board is not system controller
non zero = board is system controller
  • Page 1 1
  • Page 2 2
  • Page 3 3
  • Page 4 4
  • Page 5 5
  • Page 6 6
  • Page 7 7
  • Page 8 8
  • Page 9 9
  • Page 10 10
  • Page 11 11
  • Page 12 12
  • Page 13 13
  • Page 14 14
  • Page 15 15
  • Page 16 16
  • Page 17 17
  • Page 18 18
  • Page 19 19
  • Page 20 20
  • Page 21 21
  • Page 22 22
  • Page 23 23
  • Page 24 24
  • Page 25 25
  • Page 26 26
  • Page 27 27
  • Page 28 28
  • Page 29 29
  • Page 30 30
  • Page 31 31
  • Page 32 32
  • Page 33 33
  • Page 34 34
  • Page 35 35
  • Page 36 36
  • Page 37 37
  • Page 38 38
  • Page 39 39
  • Page 40 40
  • Page 41 41
  • Page 42 42
  • Page 43 43
  • Page 44 44
  • Page 45 45
  • Page 46 46
  • Page 47 47
  • Page 48 48
  • Page 49 49
  • Page 50 50
  • Page 51 51
  • Page 52 52
  • Page 53 53
  • Page 54 54
  • Page 55 55
  • Page 56 56
  • Page 57 57
  • Page 58 58
  • Page 59 59
  • Page 60 60
  • Page 61 61
  • Page 62 62
  • Page 63 63
  • Page 64 64
  • Page 65 65
  • Page 66 66
  • Page 67 67
  • Page 68 68
  • Page 69 69
  • Page 70 70
  • Page 71 71
  • Page 72 72
  • Page 73 73
  • Page 74 74
  • Page 75 75
  • Page 76 76
  • Page 77 77
  • Page 78 78
  • Page 79 79
  • Page 80 80
  • Page 81 81
  • Page 82 82
  • Page 83 83
  • Page 84 84
  • Page 85 85
  • Page 86 86
  • Page 87 87
  • Page 88 88
  • Page 89 89
  • Page 90 90
  • Page 91 91
  • Page 92 92
  • Page 93 93
  • Page 94 94
  • Page 95 95
  • Page 96 96
  • Page 97 97
  • Page 98 98
  • Page 99 99
  • Page 100 100
  • Page 101 101
  • Page 102 102
  • Page 103 103
  • Page 104 104
  • Page 105 105
  • Page 106 106
  • Page 107 107
  • Page 108 108
  • Page 109 109
  • Page 110 110
  • Page 111 111
  • Page 112 112
  • Page 113 113
  • Page 114 114
  • Page 115 115
  • Page 116 116
  • Page 117 117
  • Page 118 118
  • Page 119 119
  • Page 120 120
  • Page 121 121
  • Page 122 122
  • Page 123 123
  • Page 124 124
  • Page 125 125
  • Page 126 126

Advantech PCI-1671UP Startup Manual

Type
Startup Manual

Ask a question and I''ll find the answer in the document

Finding information in a document is now easier with AI