<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE document PUBLIC "-//CNX//DTD CNXML 0.5//EN" "http://cnx.rice.edu/technology/cnxml/schema/dtd/0.5/cnxml_plain.dtd">
<document xmlns="http://cnx.rice.edu/cnxml" xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id3296667">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Student Scope Using NI USB Data Acquisition</name>
<metadata xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
  <md:version xmlns:bib="http://bibtexml.sf.net/">1.3</md:version>
  <md:created xmlns:bib="http://bibtexml.sf.net/">2006/12/14 15:00:09 US/Central</md:created>
  <md:revised xmlns:bib="http://bibtexml.sf.net/">2007/12/20 10:21:40.837 US/Central</md:revised>
  <md:authorlist xmlns:bib="http://bibtexml.sf.net/">
      <md:author xmlns:bib="http://bibtexml.sf.net/" id="spexarth">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Matt</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">J</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Spexarth</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">spexarth@gmail.com</md:email>
    </md:author>
  </md:authorlist>

  <md:maintainerlist xmlns:bib="http://bibtexml.sf.net/">
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="spexarth">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Matt</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">J</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Spexarth</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">spexarth@gmail.com</md:email>
    </md:maintainer>
    <md:maintainer xmlns:bib="http://bibtexml.sf.net/" id="eluther">
      <md:firstname xmlns:bib="http://bibtexml.sf.net/">Erik</md:firstname>
      <md:othername xmlns:bib="http://bibtexml.sf.net/">B</md:othername>
      <md:surname xmlns:bib="http://bibtexml.sf.net/">Luther</md:surname>
      <md:email xmlns:bib="http://bibtexml.sf.net/">erik.luther@ni.com</md:email>
    </md:maintainer>
  </md:maintainerlist>
  
  <md:keywordlist xmlns:bib="http://bibtexml.sf.net/">
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">acquisition</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">analog</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">converter</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">counter</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">daq</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">data</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">data acquisition</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">digital</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">io</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">labview</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">oscilloscope</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">portable</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">scope</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">studentscope</md:keyword>
    <md:keyword xmlns:bib="http://bibtexml.sf.net/">usb</md:keyword>
  </md:keywordlist>

  <md:abstract xmlns:bib="http://bibtexml.sf.net/">The StudentScope is a software oscilloscope specifically designed to work with the National Instruments Low Cost USB data acquisition devices.  The StudentScope was created in LabVIEW.  The front panel controls are modeled after those typically found on a traditional benchtop oscilloscope.</md:abstract>
</metadata>
<content xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id3275026">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">LabVIEW Student Scope Using the NI USB Data
Acquisition</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4027285">The StudentScope is a software oscilloscope
specifically designed to work with the <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://digital.ni.com/express.nsf/bycode/ex4v7m">National Instruments
USB-6009 data acquisition device</link>. To simulate the functionality of
a scope, the StudentScope acquires analog input data across two
channels and then searches for a user-specified trigger level. This
allows periodic waveforms to be lined up and displayed as standing
waves. Controls to scale signals, apply vertical offsets, adjust
the timebase, and measure phase offsets are all meant to function
similarly to a benchtop oscilloscope. Several expanded features are
also available, including a option to log data to an
Excel-compatible spreadsheet file or to export a screenshot to a
printable HTML report.</para>
<figure xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4124233"><media xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="image/png" src="Studentscope.jpg"/>
<caption xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">StudentScope Front Panel</caption>
</figure>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4026310">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Download the StudentScope</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-340">The StudentScope source code can be downloaded here:
 <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="studentscope.zip">StudentScope Source (1.0)</link>.   The StudentScope source requires:  <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://digital.ni.com/demo.nsf/websearch/14f9ce475127ade786256ac60070926c">LabVIEW</link> 8.0 or later, and 

<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://digital.ni.com/softlib.nsf/websearch/11D505B7B355EBD68625722D006A6B97">NI DAQmx</link> 8.0 or later.</para><para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="element-13">The StudentScope stand-alone executable can be downloaded here:
 <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="studentscope_exe.zip">StudentScope.exe (1.0)</link>.   The StudentScope executable requires:  <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="ftp://ftp.ni.com/pub/devzone/tut/cnx_lv8_runtime.exe">LabVIEW RunTime Engine 8.0</link>, and 

<link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://digital.ni.com/softlib.nsf/websearch/11D505B7B355EBD68625722D006A6B97">NI DAQmx</link> 8.0 or later.  You must extract all files from the zip distribution before attempting to use the source or executable versions of this application.  </para></section>



<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4026319">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Getting Started</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4060472">First, be sure you have the LabVIEW Run-Time
Engine version 8.0 and the DAQmx driver version 8.0 or later
installed under the default installation options. Both can be
downloaded free of charge from ni.com. The installer included with
the Student Scope includes the LabVIEW Run-Time Engine, but DAQmx
must be downloaded separately. Next, connect your <link xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" src="http://digital.ni.com/express.nsf/bycode/ex4v7m"> National
Instruments USB-6009</link> to your PC. Windows should detect the device
and configure the appropriate driver. If this is the first time
that a USB-6009 device is installed on your computer, you might be
prompted to install a USB-6xxx Firmware Loader. Please complete the
Windows Hardware Wizard prompts to completely install this
device.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4096268">To run the StudentScope, you will need to
determine the device number of your USB-6009, which is how the
hardware is identified by the scope software. Find this by opening
National Instruments Measurement and Automation Explorer (MAX). In
MAX, expand Devices and Interfaces. Then expand NI-DAQmx Devices.
If the DAQmx driver is installed properly, and the USB-6009 is
connected, you will see an item such as USB-6009: "Dev1" where Dev1
indicates device # 1. Make a note of the device number.</para>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id3348825">When you run the StudentScope, you will need
to select the correct device number. If the wrong device number is
selected, you will receive an error message. To fix this, be sure
the USB-6009 plugged in, select the correct device number, and
press the reset button.</para>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id3348829">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Hardware Connections</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4125989">Connect input signals to differential channels
0 and 1 on the USB-6009. Terminals 2 and 3 on the 6009 correspond
to the positive and negative inputs for differential channel 0.
Terminals 5 and 6 the 6009 correspond to the positive and negative
inputs for differential channel 1. For more information on
terminals and connections, consult the help manual for the
device.</para>
</section>
<section xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id4021270">
<name xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Controls</name>
<para xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" id="id3764749">The following controls on the StudentScope
front panel are used to control the behavior of the scope. The
controls are modeled after a traditional benchtop
oscilloscope.</para>
<list xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/" type="bulleted" id="id3772772">
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Device: Specifies the Device Number of the 6009, which
uniquely identifies the hardware. This number can be found in
Measurement and Automation Explorer (MAX). If you adjust this
input, you will have to press reset for the changes to take
effect.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Channels: Specifies the number of channels to scan. By
acquiring only a single channel of data, twice the sampling rate
can be achieved over acquiring two channels of data. If you adjust
this input, you will have to press reset for the changes to take
effect.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Input Voltage Range: Sets the internal programmable gain
amplifier on the 6009. This applies an appropriate analog gain to
the signal prior to digitization. For best results, choose the
smallest range setting that completely encapsulates the expected
signal. If you adjust this input, you will have to press reset for
the changes to take effect.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Reset: If Device, Channels, or Input Voltage Range values are
changed, the StudentScope needs to be reset for the changes to take
effect.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Display On: Toggles the visibility of each channel's trace.
Note: This does not change whether or not the data is actually
being acquired by the USB-6009; it merely allows the user to turn
on or off the display of that data.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Offset: Adjusts the vertical position of the trace on the
display by adding or subtracting a voltage offset.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Zero: Removes any offsets added with the Offset knob.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Center: Automatically adjusts the Offset knob so that the
waveform is centered vertically on the display.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Scale: Sets the Volts per division along the vertical axis in
order to "zoom" vertically.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Timebase: Sets the time per division along the horizontal
axis in order to "zoom" horizontally. This does not change the rate
of acquisition of the hardware.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Trigger Channel: Specifies which channel will generate the
trigger.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Edge: Toggles between triggering off of a rising or falling
edge of the signal.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Level: Specifies the voltage level at which a trigger will be
generated. Note: If the level is never crossed by the periodic
signal, the trigger will not work properly and the waveform will
not display correctly. Also, the trigger is defined in software,
and will only correctly display periodic signals with a period of
less than 1/8 second.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Cursors (On/Off): Toggles display of the cursors on or
off.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">Lock Cursors: Toggles whether cursors are free-floating or
locked to a channel trace. If cursors are free floating, the
voltage level at each cursor will not be displayed.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">C1: If Lock Cursors is toggle on, this selects the channel to
which Cursor 1 is locked.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">C2: If Lock Cursors is toggle on, this selects the channel to
which Cursor 2 is locked.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">X Axis Scroll: Adjusts the center frequency of the Spectrum
Analyzer. Page Up and Page Down can fine tune this control left and
right.</item>
<item xmlns:md="http://cnx.rice.edu/mdml/0.4" xmlns:bib="http://bibtexml.sf.net/">X Axis Zoom: Adjusts the min and max range of the X axis of
the Spectrum Analyzer.</item>
</list>
</section>
</section>
</content>
</document>
