<< Chapter < Page | Chapter >> Page > |
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.
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.
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.
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.
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.
Notification Switch
Would you like to follow the 'Electronics experiments using usb data acquisition' conversation and receive update notifications?