<< Chapter < Page Chapter >> Page >
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.

Labview student scope using the ni usb data acquisition

The StudentScope is a software oscilloscope specifically designed to work with the National Instruments USB-6009 data acquisition device . To simulate the functionality of a scope, the StudentScope acquires analog input data across twochannels and then searches for a user-specified trigger level. This allows periodic waveforms to be lined up and displayed as standingwaves. Controls to scale signals, apply vertical offsets, adjust the timebase, and measure phase offsets are all meant to functionsimilarly to a benchtop oscilloscope. Several expanded features are also available, including a option to log data to anExcel-compatible spreadsheet file or to export a screenshot to a printable HTML report.

StudentScope Front Panel

Download the studentscope

The StudentScope source code can be downloaded here: StudentScope Source (1.0) . The StudentScope source requires: LabVIEW 8.0 or later, and NI DAQmx 8.0 or later.

The StudentScope stand-alone executable can be downloaded here: StudentScope.exe (1.0) . The StudentScope executable requires: LabVIEW RunTime Engine 8.0 , and NI DAQmx 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.

Getting started

First, be sure you have the LabVIEW Run-Time Engine version 8.0 and the DAQmx driver version 8.0 or laterinstalled under the default installation options. Both can be downloaded free of charge from ni.com. The installer included withthe Student Scope includes the LabVIEW Run-Time Engine, but DAQmx must be downloaded separately. Next, connect your National Instruments USB-6009 to your PC. Windows should detect the device and configure the appropriate driver. If this is the first timethat a USB-6009 device is installed on your computer, you might be prompted to install a USB-6xxx Firmware Loader. Please complete theWindows Hardware Wizard prompts to completely install this device.

To run the StudentScope, you will need to determine the device number of your USB-6009, which is how thehardware is identified by the scope software. Find this by opening National Instruments Measurement and Automation Explorer (MAX). InMAX, expand Devices and Interfaces. Then expand NI-DAQmx Devices. If the DAQmx driver is installed properly, and the USB-6009 isconnected, you will see an item such as USB-6009: "Dev1" where Dev1 indicates device # 1. Make a note of the device number.

When you run the StudentScope, you will need to select the correct device number. If the wrong device number isselected, you will receive an error message. To fix this, be sure the USB-6009 plugged in, select the correct device number, andpress the reset button.

Hardware connections

Connect input signals to differential channels 0 and 1 on the USB-6009. Terminals 2 and 3 on the 6009 correspondto the positive and negative inputs for differential channel 0. Terminals 5 and 6 the 6009 correspond to the positive and negativeinputs for differential channel 1. For more information on terminals and connections, consult the help manual for thedevice.

Controls

The following controls on the StudentScope front panel are used to control the behavior of the scope. Thecontrols are modeled after a traditional benchtop oscilloscope.

  • Device: Specifies the Device Number of the 6009, which uniquely identifies the hardware. This number can be found inMeasurement and Automation Explorer (MAX). If you adjust this input, you will have to press reset for the changes to takeeffect.
  • Channels: Specifies the number of channels to scan. By acquiring only a single channel of data, twice the sampling ratecan be achieved over acquiring two channels of data. If you adjust this input, you will have to press reset for the changes to takeeffect.
  • Input Voltage Range: Sets the internal programmable gain amplifier on the 6009. This applies an appropriate analog gain tothe signal prior to digitization. For best results, choose the smallest range setting that completely encapsulates the expectedsignal. If you adjust this input, you will have to press reset for the changes to take effect.
  • Reset: If Device, Channels, or Input Voltage Range values are changed, the StudentScope needs to be reset for the changes to takeeffect.
  • Display On: Toggles the visibility of each channel's trace. Note: This does not change whether or not the data is actuallybeing acquired by the USB-6009; it merely allows the user to turn on or off the display of that data.
  • Offset: Adjusts the vertical position of the trace on the display by adding or subtracting a voltage offset.
  • Zero: Removes any offsets added with the Offset knob.
  • Center: Automatically adjusts the Offset knob so that thewaveform is centered vertically on the display.
  • Scale: Sets the Volts per division along the vertical axis in order to "zoom" vertically.
  • Timebase: Sets the time per division along the horizontal axis in order to "zoom" horizontally. This does not change the rateof acquisition of the hardware.
  • Trigger Channel: Specifies which channel will generate the trigger.
  • Edge: Toggles between triggering off of a rising or falling edge of the signal.
  • Level: Specifies the voltage level at which a trigger will be generated. Note: If the level is never crossed by the periodicsignal, 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.
  • Cursors (On/Off): Toggles display of the cursors on or off.
  • Lock Cursors: Toggles whether cursors are free-floating or locked to a channel trace. If cursors are free floating, thevoltage level at each cursor will not be displayed.
  • C1: If Lock Cursors is toggle on, this selects the channel to which Cursor 1 is locked.
  • C2: If Lock Cursors is toggle on, this selects the channel to which Cursor 2 is locked.
  • X Axis Scroll: Adjusts the center frequency of the Spectrum Analyzer. Page Up and Page Down can fine tune this control left andright.
  • X Axis Zoom: Adjusts the min and max range of the X axis of the Spectrum Analyzer.

Questions & Answers

profit maximize for monopolistically?
Usman Reply
what kind of demand curve under monopoly?
Mik Reply
what is the difference between inflation and scarcity ?
Abdu Reply
What stops oligopolists from acting together as a monopolist and earning the highest possible level of profits?
Mik
why economics is difficult for 2nd school students.
Siraj Reply
what does mean opportunity cost?
Aster Reply
what is poetive effect of population growth
Solomon Reply
what is inflation
Nasir Reply
what is demand
Eleni
what is economics
IMLAN Reply
economics theory describes individual behavior as the result of a process of optimization under constraints the objective to be reached being determined by
Kalkidan
Economics is a branch of social science that deal with How to wise use of resource ,s
Kassie
need
WARKISA
Economic Needs: In economics, needs are goods or services that are necessary for maintaining a certain standard of living. This includes things like healthcare, education, and transportation.
Kalkidan
What is demand and supply
EMPEROR Reply
deman means?
Alex
what is supply?
Alex
ex play supply?
Alex
Money market is a branch or segment of financial market where short-term debt instruments are traded upon. The instruments in this market includes Treasury bills, Bonds, Commercial Papers, Call money among other.
murana Reply
good
Kayode
what is money market
umar Reply
Examine the distinction between theory of comparative cost Advantage and theory of factor proportion
Fatima Reply
What is inflation
Bright Reply
a general and ongoing rise in the level of prices in an economy
AI-Robot
What are the factors that affect demand for a commodity
Florence Reply
price
Kenu
differentiate between demand and supply giving examples
Lambiv Reply
differentiated between demand and supply using examples
Lambiv
what is labour ?
Lambiv
Got questions? Join the online conversation and get instant answers!
Jobilize.com Reply

Get Jobilize Job Search Mobile App in your pocket Now!

Get it on Google Play Download on the App Store Now




Source:  OpenStax, Electronics experiments using usb data acquisition. OpenStax CNX. Dec 15, 2006 Download for free at http://cnx.org/content/col10393/1.1
Google Play and the Google Play logo are trademarks of Google Inc.

Notification Switch

Would you like to follow the 'Electronics experiments using usb data acquisition' conversation and receive update notifications?

Ask