daqview
daqview
IOtech
DaqView and ViewXL 25971 Cannon Road
457-0909 rev 9.1 Cleveland, OH 44146-1833
(440) 439-4091
Fax: (440) 439-4093
*327515A-01* [email protected]
[email protected]
372515A-01 www.iotech.com
This page is intentionally blank.
Contents
Overview …… v
Before Using DaqView ….. v
1 – Starting DaqView
x
2 – A Tour of DaqView
A Brief Look at the Main Window …… 2-1
Functionality Differences Amongst Devices …… 2-3
A DaqView Walk-Through …… 2-5
From Opening DaqView to DBK Setup … … 2-5
Channel Readings, Acquire, and Post-Acquisition Buttons …… 2-8
6 – Meters
Bar Graph Meters …… 6-1
Analog Meters …… 6-2
Digital Meters …… 6-3
Properties of Meters Windows …… 6-6
7 – Analog Output Window
9 – Counter/Timer Window
The degree of DaqView functionality is dependent upon the data acquisition device. For
example, analog output channels will only be represented for devices capable of analog
output and DBK expansion will only be permitted for devices that accept DBKs. Thus it is
important that you understand your hardware’s capabilities by reviewing the applicable user
manual. PDF versions of the manuals are included on the installation CD.
In order to make DaqView more user-friendly, when a feature does not apply to your system
the affected GUI (Graphical User Interface) aspects will be grayed-out or hidden.
DaqView can only be used with one primary data acquisition device [and its associated
DBKs] at a time.
Installing DaqView
If you have not already installed DaqView, please do so as follows:
Continue with instructions for installing hardware per the instructions in your user’s manual or quick
start guide, as applicable.
Running DaqView
To run DaqView, double-click the DaqView icon or use your Windows desktop <Start> button to navigate
to the programs group from the desktop.
When DaqView detects hardware or if a simulated instrument has been selected the DaqView main window
will open.
Note 1: Although the GUI (graphical user interface) shown above is from a DaqBoard/2000 application, it can be used
to understand the GUI functionality for other device applications.
Note: Actual DaqView screens may appear slightly different than those shown in the example
screen shots.
The Data Destination tab provides a means of designating the desired file formats and directories for
acquired data.
On the left side of the box select any channel’s pull-down box to reveal the external connection options.
Besides the default [Direct Signal Connection] you can choose among the DBK option cards and
modules. The lower left-hand section of the dialog box includes an Advanced Features panel. Note that
the buttons in this panel, <Counters> and <Setpoints>, will only be enabled when applicable to your
device.
The right side of the screen sets up digital connections, if your Daq device is so equipped.
In our tour of DaqView, click <OK> at this time to return to the DaqView main window.
Reference Note:
Chapter 3 is dedicated exclusively to the Configure System Hardware dialog box.
The chapter provides examples of both analog and digital DBK setups.
Select the <Channel Readings> button. If in the Simulated Instrument mode, the
Reading column of the Analog & Scanned Digital Inputs spreadsheet will display
simulated data. Selecting the <Channel Readings> button again freezes the Reading
column display. If working hardware is connected, the readings will quantify actual
signals.
The Acquire selection activates an acquisition of data to file. The Event option under the
Trigger Setup portion of the Main window determines when the Acquire process is
initiated. The Event selections are detailed in the Acquisition Setup section of this
chapter. After Acquire is selected, the process is automatic beginning with the DaqView
Armed screen. This screen posts the Trigger Armed time as well as the Trigger Event
information. The Acquire process makes use of the Data File Setup parameters to format
data collection.
Once the Trigger Event occurs, the DaqView Triggered screen appears. This screen
allows you to witness the data sampling parameters you set in the Main window prior to
initiating the Acquire process as well as the progress of the data acquisition.
If file conversion is selected, the Acquire process concludes by converting the generated
.BIN file from binary to ASCII data. The resulting file is saved under a user-specified
directory and file name or as a default under the DaqView subdirectory as DAQV.TXT.
This .TXT file is available for data processing or analysis by various software packages
such as ViewXL.
Whenever expansion cards are added you must update Configure System Hardware.
Overview
For proper operation most of the DBK options must be configured, both physically on the DBK, and in the
Configure System Hardware dialog box.
“Analog Input” type DBKs will be under the P1 section of the screen, “Digital Input” DBKs will be under
the P2 section.
Prior to setting up a DBK you should review the applicable individual DBK section to ensure that the DBK
option is physically set as desired. Note that certain DBKs do not require configuration.
Understand your DBK’s physical configuration before attempting to set the device in
the Configure System Hardware dialog box. For example, if you were configuring a
DBK45 in DaqView, you would need to know the physical setup of rotary switch SW6
to properly set the address. To expedite the configuration, it is a good idea to have the
identity and setting information ready for each DIP-switch, rotary switch, and jumper,
as applicable.
DaqView & ViewXL User’s Guide 886994 Configure System Hardware 3-1
The Configure System Hardware screen appears, showing the channel assignments.
An alternative to using the expansion down-arrow to access the external connection drop-
down list, is to click within the text box. For example, in the following figure, after clicking
on P1 Channel 0’s “Direct Signal Connection” text, the drop-down list appeared.
3-2 Configure System Hardware 886994 DaqView & ViewXL User’s Guide
3. Select the applicable DBK card from the drop-down list.
If the card has jumper or switch setups that need to be set in DaqView, a related dialog box will appear.
Three extracted examples follow: (a) Switch Settings: S1 Sub Address, (b) Switch Settings: SW6
(rotary), and (c) Shunt Settings: JP16 (3-pin shunt).
In addition to indicating pre-assigned channels, the Analog I/O Expansion Supported, and
Configure System Hardware screen may display a Pre-Dedicated Channels P1-0 and P1-1
device-dedicated GUI panel similar to that shown In this DaqBook/2020 example analog expansion is
at the right (see area “B” in the figure). In this supported. However, notice that the first two
example [from a DaqBook/2020] checking the box channels (designated by “A” in the figure) are
grayed-out. In this case 2 channels were pre-
enables channel P1-2 through P1-15 to be added to
assigned due to channel circuitry built-into the
the channel scan list as direct connect channels. In device.
other words, the channels will appear on the main
DaqBook/2020 uses P1-0 for 16 differential voltage
window spreadsheet along with the P1-0 and P1-1 channels and P1-1 for 16 thermocouple channels.
direct channels. These 32 channels are built-into the device, as
opposed to being obtained from an external DBK.
DaqView & ViewXL User’s Guide 886994 Configure System Hardware 3-3
Setting Up Digital DBKs
Review the applicable DBK section to ensure that the DBK option is physically set as desired. Note that
certain DBKs do not require hardware or software configuration.
1. From DaqView’s main screen, pull down the Device menu, and select
“Configure Hardware Settings.”
DBKs typically have a channel address set on the device, by either a switch or a header.
The channel designated in software must agree with the hardware setting. Thus, in step 2
below, Channel 0 will only be used to select a specific DBK when that DBK is physically set
for Channel 0. Refer to the specific DBK section for more information, if needed.
3-4 Configure System Hardware 886994 DaqView & ViewXL User’s Guide
2. Under Digital Option Cards, select the expansion down-arrow for the chosen Daq Device
channel, for example, P2 Channel 0. A “drop-down” will list the available digital DBK
options.
TIP: An alternative to using the expansion down-arrow to access the external connection drop-
down list, is to click within the text box. For example, in the following figure, after clicking on
P2 Channel 5’s “None,” a drop-down list will appear, like the one shown for Channel 0.
Examples from Setup Dialog Boxes (These vary according to the DBK)
4. If applicable, set the software DIP-switch and other settings (such as jumpers) to match the
hardware settings on the actual DBK(s).
5. After all the settings are confirmed correct, select OK to return to the DaqView main screen.
6. From DaqView, complete the channel setup, acquisition setup, and data destination setup for
each of the new DBKs.
DaqView & ViewXL User’s Guide 886994 Configure System Hardware 3-5
Enhanced Counter Configuration (Applies to 3000 Series Devices Only)
If your Daq device supports enhanced counter configuration, for example, your device is a DaqBoard/3000
Series or a Personal Daq/3000 Series device, you can click on the <Counters> button [located in the
“Advanced Features” panel] at the lower left of the Configure System Hardware screen. This brings up the
“Enhanced Counter Configuration Settings” dialog box. From this dialog you can set several different
parameters, independently, for each of the enhanced counters.
Reference Notes:
o Manuals for the DaqBoard/3000 Series, USB DaqBoard/3000 Series, and Personal
Daq/3000 Series devices each provide detailed information regarding counter
functions.
o Should you desire to convert counter readings to engineering units, refer to
Appendix A, Converting Counter Readings to Engineering Units for 3000 Series
Devices.
3-6 Configure System Hardware 886994 DaqView & ViewXL User’s Guide
A Note about the Internal Clock Speed 100 kHz Prompt
At times [after selecting an expansion DBK] you may receive a message regarding “Internal Clock Speed.
The “Internal Clock Speed” information applies to devices that accept Analog I/O expansion. 200 kHz is
typically used.
Note that the Preferences window can also be accessed from the
Windows pull-down menu.
DaqView & ViewXL User’s Guide 886994 Configure System Hardware 3-7
3-8 Configure System Hardware 886994 DaqView & ViewXL User’s Guide
The Main Window 4
Channel Setup…… 4-1
Acquisition Setup……4-3
Data Destination……4-6
Pull-Down Menus……4-7
Toolbar Items……4-10
Daq devices differ from one another in regard to functionality. Functions that are not
supported by a particular board [or device] will be grayed-out or hidden as discussed in
chapter 2.
Channel Setup
The Channel Setup window (first tab on lower portion of main window) displays the analog and scanned
digital input channels and allows you to configure them. Each row shows a single channel and its
configuration. The number of rows may vary, but each row has seven columns. Some columns allow blocks
of cells to be altered at the same time (clicking a column header can select the entire column). Other
columns allow only a single cell to change. The table summarizes the function of each column.
Scope updates take precedence over all other display modes. Heavy scope activity
pertaining to very fast data acquisition, large data acquisition, high averaging, and
auto-rearm is likely to degrade the performance of meters and the spreadsheet
“readings” display.
DaqView & ViewXL User’s Guide 987691 The Main Window 4-1
Channel Setup Tab
Column Description
CH The channel number (cannot be changed from this window). This number includes the main channel
number and the expansion board number and channel (if used). Expansion channels are configured
using the Hardware Configuration window described later in this module.
On This column allows you to select whether data will be collected from that channel. When a cell or
block of cells in this column is selected, a selection box will appear that allows “Yes” to enable or
“No” to disable the channel. Double-clicking a cell in this column will toggle the channel status. The
Edit menu allows you to Make All Channels Active or Make All Channels Inactive.
Type This column allows you to set the gain or input type for each channel. The gains and types will vary
among the option cards. A block of cells in this column can be selected for multiple channels with
the same type of option card. Double-clicking a cell will select the next available gain or type.
Note: If one of the P3 counters is active in the scan, and Type is selected for frequency
measurement, low frequency input signals will require a slow scan rate setting for accurate
measurement. For example, for a frequency of 200 Hz, set the Scan Rate (in the Acquisition Setup
window) for 1 scan per second or 6 scans per minute.
Polarity This column shows the channel polarity (unipolar or bipolar) for each channel. The polarity can be
programmed here on a per channel basis when using a DaqBook/200, /216, /260 and any DaqBoard
[ISA or PCI type], or a DBK15 Universal Current/Voltage expansion card. When using any other
Daq*s, this column is set in the Hardware Setup window. For selected cells that can be changed, a
selection box will display “Unipolar” or “Bipolar”. Double-clicking in a cell will toggle the polarity. If
the hardware cannot program the polarity, no selection box will be displayed.
Label This column contains a descriptive name for the input channel. The default label is the channel
number, but it can be changed to any 8 characters and must be unique. This label is used when
selecting a channel in the analog trigger and chart selection lists.
Units When a Units-cell [or block of cells] is highlighted, unit options can be selected from a pull-down box.
Double-clicking in a Units-cell cycles through the available choices for each of the channel types, as
follows:
o Voltage: V, mV, Mx + b
o Temperature: °C, °F, °R, °K, Mx + b
o Frequency (Enhanced Counter): Hz, Counts, Mx + b
o Period, Pulsewidth, and Timing (Enhanced Counter): Seconds, Counts, Mx+ b
Reading This column displays the device’s analog or scanned digital input readings. This column cannot be
altered by the user and is enabled by selecting Enable Input Reading Column under the Data menu
or by selecting “Start/Stop All Indicators” under the window menu. This column will update the
readings as fast as the computer will allow. The spreadsheet cannot be altered while the input
reading column is enabled.
4-2 The Main Window 987691 DaqView & ViewXL User’s Guide
Acquisition Setup
Selecting the second tab of the main window displays the Acquisition Setup window. The four main parts of
this window include setup parameters for triggering and configuring the scan. These settings will be used when
an acquisition to disk is started by selecting “Acquire” (last item on the toolbar). When the trigger is satisfied,
the scans are collected at the selected scan frequency and stored to disk in the designated file.
Trigger Event Selects the trigger source, depending on the device. Possible trigger sources include:
Digital Pattern – monitors 8-bit pattern on selected digital input channel; triggers when
parameters (less/greater than or equal to/not equal to) are satisfied.
DaqView & View XL User’s Guide 987691 The Main Window 4-3
If you have a product which supports multi-channel triggering then you should set up the
triggering for each channel in the Setpoints dialog and set the trigger channel to be the
setpoint status.
If you wish to perform an OR operation on the trigger channels -
Multi-channel
Triggering use the “Not Equal” mode and 0 as the value.
If you wish to perform an AND operation on the channels -
use the “Equal To” mode, and use a value which represents the bit pattern corresponding to
the individual setpoint for each channel.
If there are setpoint channels which you do not want to have evaluated
the mask value can be used to ignore those channels.
Stop Event
The Stop Event panel is used to select the event that stops the scanning, depending on the device connected.
Possible sources include:
Number of Scans - can range from 1 to 100,000,000. A scan includes all of the channels that are marked as
“On” in the Analog & Scanned Digital Inputs spreadsheet.
Key Hit – stops acquisition when the user presses a key.
Above/Below Level – monitors value on selected channel; stops scan when parameter is satisfied.
In regard to applicability
Rising/Falling Edge – monitors value with hysteresis on the selected channel; stops the scan when the
of these stop events
parameter is satisfied.
refer to the hardware
manual for your specific Inside/Outside Window – monitors upper and lower values on selected channel; stops scan when parameters
device. are satisfied.
Digital Pattern – monitors 8-bit pattern on selected digital input channel; stops scan when parameters
(less/greater than or equal to/not equal to) are satisfied.
Scan Configuration
SyncMaster – Sets the device as the Master and selects the internal pacer Clock Divider
clock. (SyncMaster does not apply to all devices)
The Clock Divider only
SyncSlave – Sets the device as a Slave unit and uses the clock of a Master appears when SyncSlave is
device to which it is connected. In addition, when SyncSlave is selected a selected from the drop-down
Clock Divider box appears (right-side figure). The value of the divider can be list.
set from 1 to 65535. This sets the scan rate to a fraction of the Master rate.
The fastest rate is set by using a value of “1.” A setting of “10” would result in
a scan once every tenth clock pulse. The slowest possible setting is “65535.”
(SyncSlave does not apply to all devices)
Note: The parameters identified on this and the following page cannot be altered during an acquisition.
4-4 The Main Window 987691 DaqView & ViewXL User’s Guide
Clock Source <Preferences> Button (preceding figure)
The <Preferences> button brings up a Preferences box (following figure), which provides a means of selecting and/or adjusting the
following options. The dialog box can also be accessed from the Window pull-down menu.
For some devices, certain sections of the “Preferences” box may not apply.
Consult your hardware user’s manual in regard to applicability.
Noise Reduction – This panel includes a pull-down list for selecting one of several Line Cycle Rejection functions and a second list
for selecting the amount of oversampling to be performed.
Line Cycle – Used to reject noise resulting from 50 Hz or 60 Hz source power. Selection can be made for all analog channels
or exclusively for thermocouple channels.
Oversample – For /3000 Series devices an “oversampling” function can be selected via the associated checkbox. Available
values are: 2, 4, 8, 16, 32, … … up to 16384 (in multiples of 2). The selected number is the sample value to be used for the
averaging of data, before the data is delivered to the buffer. Refer to your hardware manual for detailed information. Note that
the oversampling panel will be grayed-out for devices which do not make use of the function. Oversampling is sent to the
scope. See “Note” below regarding “Averaged” data and “Oversampled” data.
Scan Rate The scan frequency can be set in units of seconds, milliseconds, minutes, or hours via a pull-down box. Typing into the
numeric field changes the rate. The maximum scan frequency is dependent on the number of channels that are enabled
and whether or not averaging is enabled. Enabling more channels or averaging will lower the maximum scan frequency.
Averaging The checkbox allows averaging of the analog input data to be enabled or disabled. Averaging can be used to increase
the effective accuracy of a noisy signal. Averaging will increase the actual scan frequency and number of scans, but the
perceived scan frequency and number of scans (which is set by DaqView) does not change. Averaged data is not sent
to the scope. See “Note” below.
Averaged Data is not sent to the Scope. To see DaqView’s averaged data in a scope display you must use an Analog,
Averaged Time Scope with DaqView’s settings.
Oversampled Data is sent to the Scope. Any of the scope display modes can be used to view oversampled data.
See Chapter 5 for information regarding the Scope Window.
DaqView & View XL User’s Guide 987691 The Main Window 4-5
Data Destination
Selecting the third tab of the main window displays the Data Destination window. The two parts of this
window let you designate the directory for acquired data and the desired file formats.
Data Destination
Data File Name Acquired data is saved to this file name. This file always has a “.bin” file extension.
Base Directory This is the directory from which other directories are created to store the converted and
acquired data. You can type in changes or use the <Browse> button to direct files elsewhere,
including other disk drives.
Auto Re-Arm
With the Enable Auto Re-Arm box checked, you can specify when file conversions are
performed and the sequence range of incrementing file names.
4-6 The Main Window 987691 DaqView & ViewXL User’s Guide
Pull-Down Menus
Some items on the main window pull-down menus can also be enabled from the toolbar. Their description
in the toolbar section is more detailed than is presented in this section.
File
File Menu Items and Descriptions
New Set all parameters to their startup, default setting.
Open Set all parameters as directed by a specified setup file.
Save Save the existing configuration for later recall (overwrites the existing version).
Save As Saves the existing configuration for later recall; asks whether to overwrite the original
version or save under a new filename.
Export (Ctrl + E) Brings up the “Export configuration to DaqCOM format” dialog box.
Exit Leave the DaqView program.
Edit
Edit Menu Items and Descriptions
Hide Inactive This command collapses the spreadsheet to show only those channels that are turned on.
Channels It can be selected repeatedly as needed.
Show All Channels This command shows all channels, whether turned on or off.
Make All Channels This command places a “No” in the On field of all channels. To scan only a few channels it
Inactive may be easier to make all channels inactive, then turn on the desired channels.
Make All Channels This command places a “Yes” in the On field of all of the channels.
Active
Fill Down For multiple cells selected within a column, this command copies the value in the top cell to
all the cells below.
F8
Data
Data Menu Items and Descriptions
Acquire (Ctrl +G) This command arms the hardware for an acquisition to disk. When the trigger is satisfied,
the acquisition begins. All of the interactive I/O controls are disabled while the system is
armed. No acquisition parameters can be altered at this time.
Convert Existing During an acquisition, a raw binary file is created and updated as data is read. This
Files command lets you convert raw binary files to the selected formats. This allows you to
convert files that may not have been converted when the data was acquired.
Enable Input This command reads the analog inputs and scanned digital inputs and puts the numeric
Reading Column values in the spreadsheet in the “Reading” column. If the Reading column is already
enabled, this command disables it.
DaqView & View XL User’s Guide 987691 The Main Window 4-7
Window
Window Menu Items and Descriptions
Scope Opens the Scope Display Window.
Bar Graph Meters Displays a bar graph meter.
Analog Meters Displays an analog dial meter.
Digital Meters Displays a digital meter.
Start All Indicators Starts displaying data in the Reading column and any open Chart or meters window.
Stop All Indicators Stops displaying data in the Reading column and any open Chart or meters window.
View File Data Launches the post acquisition data analysis application.
Analog Output Displays the analog output window.
Digital I/O Displays the digital I/O window.
Counter/Timer Displays the counter/timer window.
Waveform & Displays the arbitrary waveform and streamed output windows.
Pattern Output
Preferences Displays a preferences box that shows user-selectable options the particular Device
model may have.
Device
Select Device . . . (Ctrl + D)
Configure Hardware Settings . . . (Ctrl + H)
Session Status . . . (Ctrl + S)
4-8 The Main Window 987691 DaqView & ViewXL User’s Guide
Configure Opens the Configure System Hardware window that lets you tell the software how the
Hardware hardware is set up. Setup sections include: Analog I/O Option Cards (DBKs), Digital
Settings Option Cards, A/D Input Polarity, A/D Signal Reference, and D/A External Reference.
Options that do not apply to a particular device will be grayed-out when applicable.
Help
The Help menu provides access to the on-line Help file.
About provides the current software version number.
DaqView & View XL User’s Guide 987691 The Main Window 4-9
Toolbar Items
Main Window Buttons
Each item in the main window toolbar has its own icon and is accessible from the pull-down menu. Placing
the cursor on the icon and clicking the mouse button enables the tool or opens the corresponding window.
When a function does not apply to a particular device, the toolbar button will be grayed-out.
4-10 The Main Window 987691 DaqView & ViewXL User’s Guide
Turn All Visible Channels On, Turn All Visible Channels Off
These toolbar buttons can turn all the channels ON or OFF at a single stroke. This feature is convenient
during setup and troubleshooting or if only 1 or 2 channels must be set differently from the rest. Both these
commands are also available from the Edit pull-down menu as Make All Channels Active and Make All
Channels Inactive.
With All Visible Channels Off the Channel Reading Button is Disabled
Channel Readings
This toolbar item enables/disables the Reading column of the Analog and Scanned Digital Input spreadsheet
to provide a numeric view of incoming data. This function toggles on and off when the button is repeatedly
selected. Some windows require the Reading column to be disabled while changing channels or other
parameters. This command is available from the Data pull-down menu as Enable Input Reading Column.
When all visible channels are off, as indicated in the preceding figure, the Channel Readings button is
grayed-out and disabled.
When at least 1 visible channel is on the Channel Readings button is enabled, as indicated in the first screen
image above and the two below. However, even though the Channel Readings button is enabled, it must be
“clicked” to start the readings as in the first figure below. Notice that while the readings are in progress the
Show, Hide, On, and Off buttons are all grayed out and that the Channel On “Yes/No” pull-down is hidden.
See following figure.
Scope updates take precedence over all other display modes. Heavy scope activity
pertaining to very fast data acquisition, large data acquisition, high averaging, and
auto-rearm is likely to degrade the performance of meters and the spreadsheet
“readings” display.
Readings in Progress The Show, Hide, On and Off Channel Buttons are Grayed-Out
Readings Halted The Show, Hide, On and Off Channel Buttons are all Enabled
DaqView & View XL User’s Guide 987691 The Main Window 4-11
4-12 The Main Window 987691 DaqView & ViewXL User’s Guide
The Scope Window 5
Overview …… 5-1
Global Toolbar …… 5-2
Display-Dedicated Toolbars …… 5-4
Pull-down Menus …… 5-5
Scroll Bars…… 5- 5
Changing Display Parameters …… 5-5
Understanding the Status Bar …… 5-8
Overview
DaqView’s Scope feature provides a means of setting up several display pages, each with one or more scopes and
single or multiple channels to view as Analog, Counts, or Logic traces in real time [with one type per scope]. You
can activate the Scope Window by clicking the Scope button on DaqView’s Main Window or by selecting Scope
from the Main Window’s Window pull-down menu. To add channels to a scope, simply click on the desired
channel [from the scan list] and drag it into the appropriate scope.
Note that you cannot mix channel types within a scope; attempting to do so will result in a message stating, for
example, Only Analog Channels can be added to an Analog Scope.
Display charts are intended for viewing general data trends and employ a decimation
process to facilitate continuous scrolling. Because of the decimation process it is common for
Charts and Scopes to present a different rendering of the same signal. The Scope display will
always be the more accurate of the two renderings since it represents all data points.
DaqView & DaqViewXL User’s Guide 877893 The Scope Window 5-1
Global Toolbar Affects All Scope Window Displays
The Scope Window’s global toolbar impacts all displays. In addition, each display includes its own toolbar for
addressing parameters specific to that display. The secondary toolbar will be discussed shortly.
Note: (a) Drag Channels from the Scan List to the Display Page, or (b) right-click on a channel and use the “move to” feature.
2 Manual Trigger Issues a Software Trigger to the data acquisition device. Whenever the device is
armed and waiting for a trigger, you can take this action to force data acquisition to
start.
3 Stop Stops receiving data. The data displayed will remain or will be discarded
according to the selection in the Display Preferences tab of the Options window.
4 Auto Rearm When enabled, the acquisition device is automatically re-armed whenever an
acquisition ends. With this feature, you can use the device as an oscilloscope to
display a rapid series of channel inputs.
Auto Re-Arm: Strip Charts, Scrolling Overlays, and Scrolling Block Updates will likely fail to
display the last block of data when auto rearm is used. This is because the automatic restart
of scrolling begins before the last data has had time to display. If this is undesirable you can
either (a) manually restart acquisitions instead of using auto rearm, or (b) use auto rearm, but
compensate for the restart/display aspect by acquiring an extra block of data.
5 Record (Direct to Disk) Provides a means of writing acquired data directly to disk files. The record
function makes use of DaqView’s Data Destination settings, with exception of Auto
Re-arm.
7 Cursors The Cursor button switches the cursor(s) from On to Off or visa-versa. Clicking
the adjacent down-arrow displays a pull-down list of the following cursor options:
Clicking the button adds an Analog Scope in Raw Time mode. Clicking the
adjacent down-arrow displays a pull-down list of 4 display options, as indicated in
the figure. Moving the cursor over an option highlights the selection and displays
additional options. These are presented below.
Scope – Allows the user to select to add an Analog, Counts, or Logic Scope Display. When “analog” is
selected the user has a choice of adding a scope which exhibits one of the following functions:
○ Raw Time ○ Filter
10 Add Display Page Adds a blank page and labels it via an associated tab, e.g., Display Page 2,
Display Page 3, etc. Use the add display button (#8) to populate the page with
displays.
Display-Dedicated Toolbar*
* Depending on mode and display type, certain toolbar items will not be visible at all times.
*** Upper Scroll Bar and Block Identifier only appear for Filter, Spectrum, Frequency Transform, and Windowing charts.
Scroll Bars
DaqView Scope makes use of two scroll bars, each of which applies to specific display types. We will refer to the
bars as “upper” and “lower.” The two bars will not be visible at the same time for a given display.
The upper scroll bar appears at the upper right of the display when using
Filter, Spectrum, Frequency Transform or Windowing charts. For these
displays the acquisition data is separated into custom block sizes, as set in the
display Options dialog box in the Scans per Block field. When a block is being displayed only that specific block
will be visible on the display. The other blocks will not show data until the scroll bar is used to select them. The
leftmost side of this scroll bar displays the first block. The rightmost side of the scrollbar displays the last block. A
block identifier resides just to the right of the upper scroll bar.
The lower scroll bar is located directly beneath the display and runs the entire
length of the display. This bar is not visible for Filter, Spectrum, Frequency
Transform and Windowing charts. When the bar applies, you can use the slider to efficiently scroll through data.
With the slider located at the far left, the earliest data points from the acquisition are displayed. As you move the
slider right, later data points are displayed.
Remember that the changes made from the Display Preferences tab are global changes, i.e., they will be
applied to every display on every display page.
To change the parameters for a specific display, and leave the other displays as currently configured, simply
click on the tab associated with the display for which you want to change parameters.
These limits are for display purpose only. They have no relation to acquisition
limits which are used as triggers.
You can set an upper and/or lower limit for display and change the color of these display limits. If
you select to use a limit [by checking the associated box] then traces that exceed the limit value
will become noticeably thicker.
You can display the upper and lower limit lines, regardless of whether or not you decide to use the
trace-thickening feature, and visa versa.
Note: Certain labels applicable to a display’s status bar will not be visible until after the first calculation is
made; for example, RMS, THD, Peak, and Power.
Channel 1 is
currently selected.
Note: In this figure you can tell that the second cursor was the last cursor moved because the status bar matches
the cursor’s time [0.08 seconds on the X-axis] and amplitude [-8.966626 Volts on the Y-axis].
Time: The time value (from the x-axis) for the position of the cursor last moved.
Value: The amplitude (from the y-axis) of the selected channel at the cursor position.
Avg.: The average value for all data points of the selected channel.
Min: The largest negative value reached by the selected channel.
Max: The highest value reached by the selected channel.
RMS: The root-mean-square (RMS) value for all data points of the selected channel.
RMS is not available for stripcharts.
Display charts are intended for viewing general data trends and employ a decimation process to
facilitate continuous scrolling. Because of the decimation process it is common for Charts and
Scopes to present a different rendering of the same signal. The Scope display will always be the
more accurate of the two renderings since it represents all data points.
Time: The time value (from the x-axis) for the position of the cursor last moved.
Value: The logic value, 1 (High) or 0 (Low) for the selected Bit at the cursor position.
Duty Cycle: For the span between two cursors, duty-cycle is the percentage time that the signal
remains at logic state 1 (High). For example, if the waveform signal is at logic 1 for half the
duration and at logic 0 the other half, the duty cycle is 50%.
Port Value (Hex): The aggregate value in hexadecimal format.
Freq.: The frequency value (from the x-axis) for the position of the cursor last moved.
Value: The amplitude (from the y-axis) of the selected channel at the cursor position.
Min: The largest negative value reached by the selected channel.
Max: The highest value reached by the selected channel.
Peak: The frequency peak of the transform spectrum.
Power: Power calculation.
Freq.: The frequency value (from the x-axis) for the position of the cursor last moved.
Value: The amplitude (from the y-axis) of the selected channel at the cursor position.
AC: The calculated AC component of power.
DC: The calculated DC component of power.
Peak: The frequency peak of the power spectrum.
Power: Power calculation.
THD: Total Harmonic Distortion. This parameter only applies, and is only visible, when Harmonic
Analyzer is selected as the Spectral Analysis type (in the Options dialog box).
Overview …… 6-1 Scope updates take precedence over all other display
Bar Graph Meters …… 6-1 modes. Heavy scope activity pertaining to very fast
data acquisition, large data acquisition, high
Analog Meters …… 6-2 averaging, and auto-rearm is likely to degrade the
Digital Meters …… 6-3 performance of meters and the spreadsheet
Properties of Meters Windows …… 6-4 “readings” display.
Overview
DaqView includes a set of three meters for the convenience of viewing data in Bar Graph, Analog,
and/or Digital format. The three meter types can be displayed individually or simultaneously.
Each meter includes a user-friendly toolbar comprised of the following buttons, with exception of the
Digital Meter, which has no <Reset Peak Hold> button.
Scale - set the high and low points and the format (number of decimal places)
Limits - set the high and low points and whether to display these limits
Misc - set option to show the Trend Indicator and/or the Peak Hold Indicators.
Bar Graph Meters Properties Digital Meters Properties Analog Meters Properties
Scale Tab Selected Limits Tab Selected Miscellaneous Tab Selected
This window provides interactive access to the analog outputs for the devices that support analog output.
When set to the default internal reference, these outputs can be set from 0 to +10 VDC.
The output voltage can be with the slide control, or by placing the cursor in the numeric field and entering a
valid voltage value. Selecting the <Execute> button sends the voltage values to the outputs.
Two versions of this window exist. If a DBK2 or DBK5 is active in the Analog & Scanned Digital Input
spreadsheet, then the window will accommodate voltage and current output in addition to the DAC
reference, as indicated below. Otherwise the window will appear as in the first figure.
Note: The Analog Output Window is not available when the arbitrary waveform window is visible.
The digital I/O windows are displayed when the <Digital I/O> button on the main window is selected.
These windows provide interactive control of all configured digital I/O ports, as configured in the
Configure System Hardware window.
The 8-bit ports of P2 can be configured as either inputs or outputs, as indicated in the preceding figure.
Note: 3000 Series devices do not use a P3 connector. The P3 tab (above figure) will be not be
visible for 3000 Series devices.
Note: Most devices have three 8-bit ports designated as Port A, Port B, and Port C. DaqBook/3000USB
only has two 8-bit ports (Port A and Port B), as indicated in the hardware manual for that device.
If high-speed digital I/O is supported (via connector P3), then a second window is available for
configuring inputs and outputs as indicated in the following figure.
Note: The above figure does not apply to 3000 Series devices, as they do not make use of the P3 tab.
Up to twenty 8-bit ports can be accessed when expansion boards are added.
When the <Execute> button is pressed, all ports [that are configured as outputs] will be updated and all
input ports will be read.
Totalize Input – Counts rising or falling edges of signals from the related pin on P3 adapter. Each channel
has its own <Reset> button as indicated in the following figure.
Square Wave Generator Output – Outputs a square wave on each of 2 channels with a selectable
frequency and duty cycle.
With most devices channels that are enabled in the scan cannot be used from the
asynchronous counter/timer window.
If your Daq device supports enhanced counter configuration [for example: DaqBook/3000USB, a
DaqBoard/3000 Series, or Personal Daq/3000 Series device] you can use the “Enhanced Counter
Configuration Settings” dialog box [following figure] to independently set several parameters for each of
four counters.
A dialog box, Enhanced Counter Configuration Settings, will open as indicated in the
following figure.
*This dialog box is not an aspect of the Counter/Timer Window. Instead, it is accessed from the Hardware
System Configuration dialog box when applicable to a device, for example: DaqBook/3000USB, a
DaqBoard/3000 Series, or Personal Daq/3000 Series device.
Reference Notes:
o Manuals for DaqBook/3000USB, DaqBoard/3000 Series, USB DaqBoard/3000
Series, and Personal Daq/3000 Series devices provide detailed information regarding
counter functions. The manuals are available in PDF format on the installation CD,
our website, and can also be found in the Programs group on the host PC [when you
install the software from the CD].
o Should you desire to convert counter readings to engineering units, refer to
Appendix A, Converting Counter Readings to Engineering Units for 3000 Series
Devices.
Within DaqView there exists a waveform mode for devices that have analog output channels. DaqView
allows the associated DACs to be configured in interactive mode or waveform mode.
The window has two tabs: Analog Waveform and Streaming Output.
Selecting the Analog Waveform tab accesses the standard analog output window.
Selecting the Streaming Output tab accesses the arbitrary waveform window. This tab cannot be used
with DBK46 or with several other devices including those in the following series: DaqBook/2000,
DaqLab/2000, and DaqScan/2000.
Note: This window is not available when the analog output window is visible.
The following material identifies the functions of various buttons and regions of the window. Refer to the
following screen shot as needed.
DaqView User’s Guide 888994 Waveform & Digital Pattern Output Window 10-1
In the Waveform Type box, you can select a standard function generator waveform (sine, square, triangle,
sawtooth) or a freehand drawing. In Freehand, move the mouse to the waveform window and draw a
waveform using the left mouse button.
The <Save Waves> button allows you to save the values of each displayed waveform to disk in an ASCII
format. The files created are compatible with spreadsheets and word processors, allowing you to
numerically inspect and/or alter the saved waveforms.
Sample Waveform File Format Examples
One Channel Two Channels
2043<CR> 2432<TAB>293<CR> In the “Two Channels” example [second
1019<CR> 394<TAB>345<CR> column, immediate left], the entry preceding
300<CR> 2934<TAB>3456<CR> <TAB> is for the first channel and the entry
923<CR> 743<TAB>875 <CR> after <TAB> is for the second channel.
The <Load Waves> button reads any ASCII file of numbers up to the number of points specified in the
Updates per Channel field.
The <Copy Waves> and <Paste Waves> buttons use the system clipboard to post and receive waveform
data from all DAC channels. The data formats are identical to the Save and Load operations. <Copy> and
<Paste> are recommended for use with spreadsheets to numerically inspect and/or modify waveforms.
Waveforms can also be copied and pasted from the popup menu that is displayed when the mouse is right
clicked over the Waveform display. The waveform selected in the DAC selection list-box is the target of
the Cut or Paste. If multiple channels of data are on the clipboard, you can select the one that you want to
paste into the selected DAC channel.
The size of the memory buffer allocated for each DAC channel is determined by the number of updates that
you specify. Different Daq devices have different limits on the maximum updates that can be specified.
You can select one of three clock sources to pace the DAC output. The three options are as follows:
DAC Pacer with a rate set in the Sample Update Rate field. When using the DAC pacer, the
Update Rate field controls the speed at which the DAC is updated.
If the DAC Pacer clock is selected, you must enter the update rate that
paces the DAC outputs.
Acq Pacer, the clock used by the analog input section of the DaqBoard. Using the Acq pacer
clock synchronizes the update of the DAC output with the analog input data collection.
External TTL. Update rate is controlled by the rate of the clock signal applied to the external
input pin.
The selection for the DAC channel, for which you want to create a waveform, is made in the DAC selection
listbox. From the same listbox you can control the channel's output by clicking the checkbox on or off.
Note that of the devices that support analog output channels, some have two DACs, and will therefore allow
for only two channels to be selected; while other devices have four DACs and allow for up to for DAC
analog output channels to be selected.
In the Waveform selection box, you can select a standard function generator waveform (sine, square,
triangle, sawtooth) or an arbitrary freehand drawing. In arbitrary mode, move the mouse to the waveform
window and draw a waveform using the left mouse button. The drawn waveform will be loaded into the
channel selected in the DAC channel listbox. You can also create a waveform by right clicking the mouse
with the cursor over the waveform window. Select the waveform type from the resulting popup menu.
Repeat this process for each channel in the DAC selection listbox.
To start the waveforms playing on the DACs, click the <Start Waveforms> button.
10-2 Waveform & Digital Pattern Output Window 888994 DaqView User’s Guide
Auto Scale Waveform
DaqView provides an easy method to determine the upper and lower extents of the selected DAC
waveform. Simply right click the mouse over the Waveform display, and select the Auto Scale item from
the popup menu. DaqView scans the waveform for the highest and lowest values, then sets the upper and
lower waveform range fields to these values. This causes the waveform to be displayed full scale within
the waveform display.
This is useful if the waveform is off scale on the high or low end (indicated by the range input field color set
to red) and you want to bring it back to a full scale view.
Auto Fit Waveform
The DaqView Auto Fit feature is similar to Auto Scale. However, Auto Fit causes the data to be re-scaled
so it fits full scale in the range defined by the values in the upper and lower range input fields.
Note: For some devices, when hardware triggering has been selected to trigger an acquisition, DAC1 will
be used internally to supply the desired threshold voltage. In this case, CH 1 is not available for
waveform output. The <Copy Waves> and <Paste Waves> buttons use the system clipboard to post
and receive waveform data. The data formats are identical to the Save and Load operations. Copy
and Paste are recommended for use with spreadsheets to numerically inspect and/or modify
waveforms.
To start the waveforms playing on the DACs, click the <Start Waveforms> button.
DaqView User’s Guide 888994 Waveform & Digital Pattern Output Window 10-3
10-4 Waveform & Digital Pattern Output Window 888994 DaqView User’s Guide
The Setpoints Window 11
Applies to /3000 Series Devices Only
Overview …… 11-1
Accessing the Setpoints Window …… 11-1
Input Panel …… 11-2
Detection Panel …… 11-3
Output Panel ……11-4
Setpoint Configuration Summary …… 11-5
Setpoint Status Register …… 11-6
Overview
Certain devices such as DaqBook/3000USB, DaqBoard/3000 Series boards, and Personal Daq/3000 Series
modules include a feature which enables the user to individually configure up to 16 detection setpoints associated
with scan group channels. These devices can make use of DaqView’s Setpoints window (following figure).
With possible exception of the two buttons [just beneath the title bar] the window is self-descriptive. In regard to
the buttons, the first allows you to add a setpoint tab to the window; you can have up to 16 setpoints. The second
button is used to remove the last setpoint tab from the window.
The lower half of the window consists of a graphic representation of the configuration setup. This allows the user
to quickly see the relationship of the input signal to the detection signal and the criteria. Though each
representative image is static, the limit and output values change to reflect the actual configuration values.
DaqView & DaqViewXL User’s Guide 978691 The Setpoints Window 11-1
Accessing the Setpoints Window
If applicable, you can open the Setpoints Window from DaqView’s main window as follows:
1. Open the Device pull-down menu.
2. Select “Configure Hardware Settings;” the Configure System Hardware dialog box will
open.
3. At the lower center of the box, click the <Setpoints> button. Note that “Setpoints” is an
advanced feature which is not available to all devices. If the feature does not apply to your
device, the <Setpoints> button will be grayed-out.
After clicking the <Setpoints> button the DaqView Setpoints window will display.
Input Panel
Input Panel
The Input Panel, located on the left side of the upper window, provides a means of selecting the input signal
which is to be compared to the user-configured criteria. The input signal can be any one analog channel,
digital channel, or counter channel.
It should be noted that P2 Port C comes up as a digital input by software default. However, P2 Port C can
be used as an output signal. The Output Panel text, page 11-4, contains additional information.
Correct: Wrong:
Setpoint 0 – Channel 0 Setpoint 0 – Channel 1
Setpoint 1 – Channel 1 Setpoint 1 – Channel 0
Note: It is recommended that the Equal to Limit A mode only be used with counter or digital input channels
as the channel source. If similar functionality is desired for analog channels, then the “Inside
Window” mode should be used.
Reference Note:
If your device supports setpoint configuration, refer to you hardware user’s manual for
discussions of setpoint configuration and examples.
When a device has P2 Port C available, the port will, by software default, come up as a
digital input. If you want the P2 Port C signal to be a digital output [in some initial
state before an acquisition is started] and P2 Port C is to be updated by set point
criterion, then you must do an asynchronous write to P2 Port C before the acquisition
is started. The initial value will only be output if the asynchronous write to P2 Port C
has been performed.
When using setpoints to control any of the DAC outputs, increased latencies may occur
if attempting to stream data to DACs or pattern digital output at the same time. The
increased latency can be as long as the period of the DAC pacer clock. For these
reasons, avoid streaming outputs on any DAC or pattern digital output when using
setpoints to control DACs.
Reference Note:
If your device supports setpoint configuration, refer to you hardware user’s manual for
discussions of setpoint configuration and examples. Several examples include output
channels. The manuals are available in PDF format on the installation CD, our website, and
can also be found in the Programs group on the host PC [when you install the software from
the CD].
Equal to value Signal is equal to Limit A, Limit B is not used. Note that the Equal to
mode is intended for use with counter or digital input channels [as the
source channel]. See the TIP below.
Hysteresis mode Outside the window high forces Output 2 until an outside the window low
condition exists; then Output 1 is forced. Output 1 continues until an
outside the window high condition exists. The cycle repeats as long as
the acquisition is running in Hysterisis mode.
◊ Update Mode:
Update on True Only
Update on True and False
None - Do not update
◊ 16-bit DAC value, P2C value, or Timer value when input meets criteria
◊ 16-bit DAC value, P2C value, or Timer value when input does not meet criteria
◊ Type of Action:
None
Update P2C (see note)
Update DACx
Update TImerx
When a device has P2 Port C available, the port will, by software default, come up as a
digital input. If you want the P2 Port C signal to be a digital output [in some initial state
before an acquisition is started] and P2 Port C is to be updated by set point criterion, then
you must do an asynchronous write to P2 Port C before the acquisition is started. The
initial value will only be output if the asynchronous write to P2 Port C has been performed.
TIP: It is recommended that the “Equal to Limit A” mode only be used with counter or
digital input channels as the channel source. If similar functionality is desired for analog
channels, then the “Inside Window” mode should be used.
A setpoint status register can be used to check the current state of the 16 possible setpoints. In the register,
Setpoint 0 is the least significant bit and Setpoint 15 is the most significant bit.
Each setpoint is assigned a value of 0 or 1. “0” indicates that the setpoint criteria is not met, i.e., the
condition is false. “1” indicates that the criteria has been met, i.e., the condition is true.
In the following example, the criteria for setpoints 0, 1, and 4 is satisfied (True); but the criteria
for the other 13 setpoints has not been met.
Setpoint # 15 14 13 12 11 10 9 8 7 6 5 4 3 2 1 0
True ( 1 ) 0 0 0 0 0 0 0 0 0 0 0 1 0 0 1 1
False ( 0 )
<<< Most Significant Bit Least Significant Bit >>>
From the above table we have 10011 binary, or 19 decimal, derived as follows:
Setpoint 0, having a True state, shows “1;” giving us decimal “1.”
Setpoint 1, having a True state, shows “1;” giving us decimal “2.”
Setpoint 4, having a True state, shows “1;” giving us decimal “16.”
This appendix applies only to 3000 Series devices when used with DaqView. It refers to the Enhanced
Counter Configuration Settings dialog box (preceding figure). Complete the following steps to access the
dialog box:
The counters are configured for 32-bit mode; However, DaqView separates the 32-bit component into two
16-bit results [listed with 32H and 32L extensions the Type column] in DaqView’s spreadsheet. Note that
acquired data is also saved to file as two 16-bit results for each channel.
The results are expressed in units of counts. If you desire a single 32-bit word result (or Engineering Units),
you will need to convert the two 16-bit results with simple equations, as discussed later.
Note: If you configured the counters for counter or totalize mode there is no engineering unit conversion;
the result is reported as two 16-bit count results.
Appendix A 907994 Converting Counter Readings to Engineering Units for 3000 Series Devices A-1
Using the Select Mode Pull-Down List to Select the Count Mode (Type)
The counter modes for the channels are selected in DaqView’s spreadsheet area (preceding figure) by either
double-clicking in the channel’s Type cell or by selecting the desired cell and using the Select Mode pull-
down list.
The tick duration and the number of periods [referred to in the following equations] are found in the
enhanced counters configuration box (following figure). X1 equals 1 period, X10 equals 10 periods, etc.
A-2 Converting Counter Readings to Engineering Units for 3000 Series Devices 907994 Appendix A
Using the Configure Engineering Units Dialog Box
You can use DaqView’s y = mx + b scaling factors by double-clicking in the channel’s Units cell.
This brings up the Configure Engineering Units dialog box (following figure).
You can use the dialog box to compute the contribution of both 16-bit results to the final 32-bit result so
they appear as engineering units. You can manually add both numbers directly from the screen or later
during post analysis, from data saved in a file.
1
period modes [32H*65535]*tickduration/number of periods
[32L]*tickduration/number of periods
1 1
pulsewidth or timing [32H*65535]*tickduration
modes [32L]*tickduration
Appendix A 907994 Converting Counter Readings to Engineering Units for 3000 Series Devices A-3
A-4 Converting Counter Readings to Engineering Units for 3000 Series Devices 907994 Appendix A
Appendix B ViewXL
Overview
ViewXL is a Microsoft Excel Add-In that provides setup and data acquisition for personal computers
running 32-bit versions of Microsoft Windows. The features of Excel and the selected data acquisition
server, for example, ChartView or DaqView, combine seamlessly to form a powerful data acquisition tool.
ViewXL:
Augments Microsoft Excel with data acquisition capability.
Automatically converts data to engineering units.
Allows multiple data acquisitions [obtained using auto-rearm] to be
placed into multiple worksheets.
Can import data from previously acquired data files.
Once the ViewXL add-in is installed, a ViewXL toolbar and related menu appear in Excel. These provide
all configuration and data acquisition controls.
With ViewXL, you can obtain automated reports by taking advantage of the Software Components
concept. For example, you can embed an Excel spreadsheet object into a Word document. When the
spreadsheet object is activated, it gives you access to ViewXL. In this case, the Word document holds all
text, as well as an embedded Excel worksheet object. The Excel worksheet object holds raw and calculated
data and graphics.
Double-clicking on the Excel worksheet object in Word can access ViewXL, allowing the user to
efficiently prepare a statistical report. This compound document allows you to collect, configure, analyze,
graph, and annotate data, with a just a few clicks of a mouse button.
Program Requirements
ViewXL requires the following software:
A data acquisition server application, such as 32-bit ChartView or DaqView, that can implement the
View-App Interface standard.
Microsoft Excel 2000 or later
32 bit Microsoft Windows Operating System (Windows 2000, XP, or Vista)
ViewXL Menu
The ViewXL menu gives you access to all of the Add-Ins features. The first six menu items are also
available from the ViewXL Toolbar.
Reference Note:
Refer to the Toolbar section, beginning on page vxl-3, for a description of the functions that
can be accessed by both the Toolbar and the pull-down Menu.
Options
Brings up the Options dialog box. The ViewXL options settings are made from the Options dialog box.
From there you can select, among other options, the desired data acquisition application.
Reference Note:
For detailed information, refer to page vxl-4, Options.
About
Brings up the About dialog box. This displays copyright and version information about the Add-In.
Help
Displays the Help File.
The first three buttons are used to control the data acquisition application [also referred to as “server.” The
remaining three are used to control the way data is displayed in the worksheets. The toolbar can be left
floating over the worksheet, as shown in the above figure, or docked along with the other Excel toolbars.
To dock the toolbar, simply drag it to the toolbar area of the Excel main window.
Load Configuration
The Load Configuration dialog box presents a list of
configuration files that are compatible with the
currently running data acquisition application (such
as ChartView or DaqView).
Options
The Options dialog allows you select a data acquisition
server program, and choose how the Add-In performs
specific operations.
Data Acquisition Server
If a server program, such as ChartView or DaqView,
is running you can stop it by selecting the application
from the Select pull-down list, and pressing the
<Unload Server> button. After selecting a new server
program from the list, press the OK button to enable
the selection.
Before the ViewXL Add-In can control a data
acquisition application [server], you must select the
desired application from the list. The selected server
name will be saved when Excel is closed, and restored
the next time Excel is started. This is the default server
that will be started when the Configure Toolbar button
is pressed, or Menu item is selected.
Automatically start server when Excel opens.
When checked, this informs the Add-In that the default
data acquisition application [server] should be
automatically started when Excel is started. The
Configure button does not have to be pressed to start
the server.
ViewXL Options Dialog Box
Timestamps
Enable Timestamps
If checked, the Add-In attempts to read timestamp information [from the data file] and add it to the
worksheet. Timestamps are placed in the first column of the worksheet. All channels are moved to the
right one column, to make room for the timestamps. If timestamps are not supported, they are not
displayed in the worksheet. You can check if timestamps are supported in a particular file by selecting the
file in the "Import Files" dialog, and checking the Preview Info button. With timestamps enabled, you can
select the type of timestamp to be displayed.
() Display Absolute Time (if available).
If supported, Absolute timestamps are displayed in a Date / Time format. For example "01/24/02
10:33:20 AM". Since these timestamps only have a One Second resolution, they are not practical
for data that was acquired at moderate to fast scan rates. Unless your scan rate is very slow, it is
recommended that you use Relative timestamps.
() Display Relative Timestamps.
Relative timestamps show the time, in seconds, of a scan relative to the trigger position. For
example, if you have an acquisition that has three pretrigger scans, and the pre and post trigger scan
rates were 1000 scans / second, the timestamps for the first four scans would be -0.003, -0.002,
-0.001 and 0.000 respectively. This indicates that the first scan was taken 3 ms prior to the trigger
point; the next scan 2 ms prior; and the next 1 ms prior. Scan number four was the trigger point so
its relative time was zero.
Import Files
The Import Previously Acquired Binary Data Files dialog box allows you to open and view data files that
were previously acquired by one of the supported data acquisition software programs. These include:
DaqView, WaveView, LogView, ChartView Binary, Personal DaqView, DaqExplorer, and data files that
were saved by the DaqCOM data acquisition component.
When the ViewXL Add-In is running, independent of a data acquisition application, then the “Import
Previously Acquired Binary Data Files” dialog box opens with an appearance similar to that shown in the
above figure. You can use the Browse feature to locate data files that are accessible to your PC. Simply
press the <Browse> button, select the desired file, and then press the <Open> button.
Note: The files listed are the data descriptor files. Descriptor files contain information about their
associated binary data files. At this point, it is the descriptor that you are selecting, not the actual
binary data file.
After selecting a compatible descriptor file, select the data type of the file from the drop down list
(see the following figure).
If you do not know the data file type, you can select Unknown from the list. However, there
exists a possibility that an Unknown file may be identified as the wrong data type, and
produce undefined results.
Drop-Down List of
Previously Acquired Binary Files
2. With the Visual Basic toolbar visible, click the <Visual Basic Editor>
button.
An Example Macro
We will now be looking at an example of a macro that uses
ViewXL to tell a data acquisition application [server], to Load
a Configuration File, and to Arm the acquisition. This macro
assumes that the specified file is known to be compatible with
the currently running acquisition application, for example
ChartView or DaqView.
1. Start by clicking the <Run Macro> toolbar button Clicking the Run Macro Button
following figure). This brings up the Macro dialog
box, where we will create a new macro.
2. Enter the name "GetData" in the "Macro name" field; then press the <Create> button
as indicated in the following figure.
You will see the newly created macro in the Visual Basic editor
GetData Macro
5. Enter a Blank Space after the macro and enter the name of the configuration file.
In this case we will use "exceltest.cfg" as indicated in the following figure.
Sub GetData()
VIEWXL.Interface.vxlLoadConfigFile “exceltest.cfg”
VIEWXL.Interface.vxlArmServer
End Sub
Entering “exceltest.cfg” as the Configuration File Name
When done, your macro should look like the one shown above.
At this point you can return to the Macro dialog box and Run your "GetData" macro.