E-mail: info@natinst.com
FTP Site: ftp.natinst.com
Web Address: http://www.natinst.com
Bulletin Board Support
BBS United States: (512) 794-5422
BBS United Kingdom: 01635 551422
BBS France: 01 48 65 15 59
Fax-on-Demand Support
(512) 418-1111
Telephone Support (U.S.)
Tel: (512) 795-8248
Fax: (512) 794-5678
International Offices
Australia 02 9874 4100, Austria 0662 45 79 90 0, Belgium 02 757 00 20,
Canada (Ontario) 905 785 0085, Canada (Québec) 514 694 8521, Denmark 45 76 26 00,
Finland 09 527 2321, France 01 48 14 24 24, Germany 089 741 31 30, Hong Kong 2645 3186,
Israel 03 5734815, Italy 02 413091, Japan 03 5472 2970, Korea 02 596 7456,
Mexico 5 520 2635, Netherlands 0348 433466, Norway 32 84 84 00, Singapore 2265886,
Spain 91 640 0085, Sweden 08 730 49 70, Switzerland 056 200 51 51, Taiwan 02 377 1200,
U.K. 01635 523545
National Instruments Corporate Headquarters
6504 Bridge Point ParkwayAustin, TX 78730-5039Tel: (512) 794-0100
Important Information
Warranty
The media on which you receive National Instruments software are warranted not to fail to execute programming
instructions, due to defects in materials and wor kmanshi p, for a pe riod of 90 days from dat e of ship ment, as ev idenced
by receipts or other documentation. National Instruments will, at its option, repair or replace software media that do
not execute programming instructions if National Instruments receives notice of such defects during the warranty
period. National Instruments does not warrant that the operation of the software shall be uninterrupted or error free.
A Return Material Authorization (RMA) number must be obtained from the factory and clearly marked on the outside
of the package before any equipment will be accepted for warranty work. National Instruments will pay the shipping
costs of returning to the owner parts which ar e covered by warranty.
National Instruments believes that the information in this manual is accurate. The document has been carefully
reviewed for technical accuracy. In the event that technical or typographical errors exist, National Instruments reserves
the right to make changes to subsequent editions of thi s document wit hout p rior notice to holders of this ed ition. The
reader should consult National Instruments if errors are suspected. In no event shall National Instruments be liable for
any damages arising out of or related to this document or the information contained in it.
Copyright
E
XCEPT AS SPECIFIED HEREIN
SPECIFICALLY DISCLAIMS ANY WARRANTY OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE
C
USTOMER’S RIGHT TO RECOVER DAMAGES CAUSED BY FAULT OR NEGLIGENCE ON THE PART OF NATIONAL
I
NSTRUMENTS SHALL BE LIMITED TO THE AMOUNT THERETOFORE PAID BY THE CUSTOMER
WILL NOT BE LIABLE FOR DAMAGES RESULTING FROM LOSS OF DATA, PROFITS, USE OF PRODUCTS, OR INCIDENTAL OR
CONSEQUENTIAL DAMAGES, EVEN IF ADVISED OF THE POSSIBILITY THEREOF
Instruments will apply regardless of the form of action, whether in contract or tort, including negligence. Any action
against National Instruments must be brought within one year after the cause of action accrues. National Instruments
shall not be liable for any delay in performance due to causes beyond its reasonable control. The warranty provided
herein does not cover damages, defects, malfunctions, or service failures caused by owner’s failure to follow the
National Instruments installation, operation, or maintenance instructions; owner’s modification of the product;
owner’s abuse, misuse, or negligent acts; and power failure or surges, fire, flood, accident, actions of third parties, or
other events outside reasonable control.
Under the copyright laws, this publication may not be reproduced or transmitted in any form, electronic or mechanical,
including photocopying, recording, storing in an information retrieval system, or translating, in whole or in part,
without the prior written consent of National Instruments Corporation.
, N
ATIONAL INSTRUMENTS MAKES NO WARRANTIES, EXPRESS OR IMPLIED, AND
.
. N
ATIONAL INSTRUMENTS
. This limitation of the liability of National
Trademarks
DAQCard™, natinst.com™, NI-DAQ™, SCXI™, and VirtualBench™ are trademarks of National Instruments
Corporation.
Product and company names listed are trademarks or trade names of their respective companies.
WARNING REGARDING MEDICAL AND CLINICAL USE OF NATIONAL INSTRUMENTS PRODUCTS
National Instruments products are not designed with co mponent s and testing in tended to en sure a level of reli ability
suitable for use in treatment and diagnosis of humans. Applications of National Instruments products involving
medical or clinical treatment can create a potential for accidental injury caused by product failure, or by errors on the
part of the user or application designer. Any use or application of National Instruments products for or involving
medical or clinical treatment must be performed by properly trained and qualified medical personnel, and all traditional
medical safeguards, equipment, and procedures that are appropriate in the particular situation to prevent serious injury
or death should always continue to be used when N a tional Instruments products are being used . National Instruments
products are NOT intended to be a substitute for any for m of establish ed process , procedure, o r equipm ent used to
monitor or safeguard human health and safety in medical or clinical treatment.
About This Manual
Conventions Used in This Manual...................................................................................vii
The VirtualBench suite of tools is a high-performance, easy-to-use
virtual instruments application program for Microsoft Windows 3.1x,
Windows 95, or Windows NT. Getting Started with VirtualBench gives
you step-by-step instructions on how to use each instrument. It also
includes a description of the front panel of each instrument.
Conventions Used in This Manual
The following conventions are used in this manual:
boldBold text denotes a parameter, menu name, palette name, menu item,
return value, function panel item, or dialog box button or option.
italicItalic text denotes mathematical variables, emphasis, a cross reference,
or an introduction to a key concept.
bold italic
monospaceText in this font denotes text or characters that you should literally enter
Bold italic text denotes an activity objective, note, caution, or warning.
from the keyboard. Sections of code, programming examples, and
syntax examples also appear in this font. This font also is used for the
proper names of disk drives, paths, directories, programs, subprograms,
subroutines, device names, variables, filenames, and extensions, and for
statements and comments taken from program code.
About
This
Manual
<>Angle brackets enclose the name of a key on the keyboard, for example,
<PageDown>.
»The » symbol leads you through nested menu items and dialog box
options to a final action. The sequence
File»Page Setup»Options»Substitute Fonts directs you to pull down
the File menu, select the Page Setup item, select Options, and finally
select the Substitute Fonts option from the last dialog box.
National Instruments CorporationviiGetting Started with VirtualBench
About This Manual
pathsPaths in this manual are denoted using backslashes (\) to separate drive
names, directories, and files, as in
C:\dir1name\dir2name\filename
This icon to the left of bold, italicized text denotes a note, which alerts
you to important information.
Customer Communication
National Instruments wants to receive your comments on our products
and manuals. We are interested in the applications you develop with our
products, and we want to help if you have problems with them. To make
it easy for you to contact us, this manual contains comment and
configuration forms for you to complete. These forms are in the
appendix, Customer Communication, at the end of this manual.
Welcome to VirtualBench, a suite of high-performance, easy-to-use
virtual instruments for Microsoft Windows 3.1x, Windows 95, and
Windows NT. This document contains installation instructions, lists of
system requirements and new features, and updated information to help
you get started with VirtualBench.
VirtualBench Installation for Windows
You must install VirtualBench along with two other items:
•A National Instruments data acquisition (DAQ) device
•NI-DAQ driver software
Minimum System Requirements
To run VirtualBench you must have the following:
•MS-DOS, version 5.0 or later
•Microsoft Windows 3.1 or later; Microsoft Windows 95 or
Microsoft Windows NT 4.0 or later
•Personal computer using at least a 33 MHz 80486 or higher
microprocessor (National Instruments recommends a 66 MHz
80486 or higher microprocessor.)
•VGA resolution (or higher) video adapter
•Math coprocessor or one of the following coprocessor emulation
programs:
National Instruments Corporation1-3Getting Started with VirtualBench
Chapter 1Welcome to VirtualBench
What Is Installed by the Setup Program
If you purchased the full VirtualBench suite, the setup program installs
the VirtualBench engine and nine virtual instruments: the oscilloscope
(Scope), dynamic signal analyzer (DSA), digital multimeter (DMM),
function generator (FG), logger, arbitrary waveform generator (Arb),
DC analog output controller (AODC), digital input/output controller
(DIO), and device calibrator. Each instrument comes with online help.
If you did not purchase the full VirtualBench suite, the setup program
for VirtualBench installs the VirtualBench engine and the instruments
you purchased. The VirtualBench toolbar enables only the buttons for
the instruments you purchased. However, you can access online help for
all the VirtualBench instruments.
Note:Do not rename the VirtualBench folders:
arb, aodc, dio, and cal. VirtualBench must have this folder hierarchy to
work correctly.
Note:Be sure to view the VirtualBench
VirtualBench installation disk for the latest infor mation concerning t he
installation and use of VirtualBench.
readme.txt
scope, logger, dmm, fg, dsa,
file in
Disk 1
of the
Connecting Signals to Your Data Acquisition Device
Refer to the user manual for your National Instruments DAQ device for
instructions on connecting signals to your device.
In Windows 3.1x, you launch VirtualBench-Scope by double-clicking
on the Scope icon in the VirtualBench window within the Program
Manager. In Windows 95/NT 4.0, you launch VirtualBench-Scope by
selecting Start»Programs»VirtualBench»VirtualBench-Scope.
National Instruments Corporation2-1Getting Started with VirtualBench
Graphics
Display
Chapter 2VirtualBench-Scope
The front panel of VirtualBench-Scope has the following features:
•Channel Selector—selects a waveform for display on the Graphics
display.
•Channel Settings—adjusts the vertical sensitivity of the selected
channel. Turning the knob clockwise increases the sensitivity (each
vertical division represents a smaller voltage value).
•Timebase—allows you to change the timebase setting. Turning the
knob clockwise results in a shorter time period displayed in the
Graphics display (each horizontal division represents a shorter time
period).
•Graphics Display—displays waveforms.
•Vertical Slider—adjusts voltage offset for each channel. This slider
is useful when you want to view multiple waveforms in the
Graphics display.
•Trigger Settings Group—controls the conditions required for a
signal to be acquired; for example, whether to wait for a digital
trigger before acquiring data, or whether to acquire data in free-run
mode (no triggering).
•Main Control Bar Buttons
–Run—acquires data continuously. When clicked off, the
VirtualBench-Scope is placed in idle mode.
–Single —instructs VirtualBench-Scope to perform a
single-sweep acquisition.
–Auto Setup—starts configuration of the scope for the best
timebase, volts per division, and trigger setting for each
channel currently selected with the channel selector.
–Mode—sets the mode of the scope to either Volts versus Time
or X versus Y mode.
–X Scroll—scrolls along the X-axis or time axis.
Note:Please refer to the VirtualBench-Scope Online Help for additional help on
You can start acquiring signals with VirtualBench-Scope by completing
the following steps:
1.Connect a signal to the Channel 0 input of your National
Instruments DAQ device. See the user manual of your DAQ device
for details. For example, on a 68-pin MIO E-series device, connect
a signal to pins 68 (ACH0) and 67 (AIGND) for a Referenced
Single Ended input.
2.Configure VirtualBench-Scope.
a.Select Settings from the Edit menu on the front panel.
b.Select the National Instruments device you want to use from
the General tab of the Settings dialog box. If a device does not
appear in the Device menu ring, make sure you have properly
configured the device using the NI-DAQ Configuration Utility.
c.Specify which channels on the data acquisition device
correspond to the VirtualBench-Scope channels, using the
Channels tab. For an MIO E-series device, you would select
VirtualBench-Scope Ch 1 to be representative of DAQ
In Windows 3.1x, you launch VirtualBench-Logger by double-clicking
on the Logger icon in the VirtualBench program group. In
Windows 95/NT 4.0, you launch VirtualBench-Logger by selecting
Start»Programs»VirtualBench»VirtualBench-Logger.
National Instruments Corporation3-1Getting Started with VirtualBench
Performance
Indicator
Chapter 3VirtualBench-Logger
The front panel of VirtualBench-Logger has the following features:
•Strip Chart Display—displays the logged data.
•Y-Axis Select Controls—selects which channel Y scale to display
on either the left or right Y axis of the Strip Chart Display.
•Status Display—shows the Current Time, Start Time, and Stop
Time of the current data acquisition.
•Channel Select Control—selects which channels to display on the
Strip Chart Display. You can use the Labels/Values radio buttons
below the Channel Select control to switch between the Channel
Labels and the Channel Values.
•Legend Control—changes the trace attributes of each Display
Channel. Clicking on a trace in the Legend Control brings up a
menu that allows you to make changes to the Point Style, Line
Style, Interpolation method, and Color of the trace.
•Acquire Data Controls
–Logging On/Off—starts or stops logging of data to disk when
you run the instruments.
–Clear Chart—clears the Strip Chart Display. Clicking on this
button does not affect the acquisition of data.
–Start—starts the acquisition of data using the current logger
configuration.
–Stop—stops the acquisition of data and data logging when
enabled.
–Pause—temporarily stops the flow of data to the Strip Chart
and Log file when enabled.
•Performance Indicator—shows how efficiently
VirtualBench-Logger is running in data acquisition mode. You
should strive to keep VirtualBench-Logger running as efficiently as
possible. As the performance decreases, the indicator turns red to
indicate poor performance. When the performance reaches 0, an
error message pops up and the Logger stops collecting data.
Note:Please refer to the VirtualBench-Logger Online Help for additional help on