Wiki

This version (18 Apr 2017 20:09) was approved by rgetz.The Previously approved version (17 Mar 2017 18:02) is available.Diff

Scopy

About

Scopy is a multi-functional software toolset with strong capabilities for signal analysis.

Download

Installation

Once you downloaded the installer, run it and follow all the required steps. After completion, system reboot is required.

Launching

Run Scopy from the Desktop Shortcut / Start Menu / Installation Folder (Scopy.exe).

Using the Application

Home

The Home view is divided into three sections:

  • Devices: List of devices (USB or remote) that Scopy can connect to. USB devices are detected automatically at startup. The Add button can be used to add remote devices to the list.
  • Instruments Menu: List with instruments provided by the application.
  • Information Window: Welcome page with tool information and links to useful online resources.

Scopy Home View


Connecting to a USB device

If a compatible USB device is available it will be displayed under the Select a device section. To connect to that device click on the device and then click the Connect button. If the connection was established, the button will turn green.

Scopy Home View


Connecting to a remote device

To connect to a remote device click on the Plus icon. Enter the IP of the remote device into the Hostname field and click the Connect button. If a device can be detected at the IP you provided, the Connect button will change to an Add button and you can click on it to add the remote device to the list of detected devices. The last step is to click on the icon of the remote device and click on the Connect button.

Scopy Home View


Instruments Menu

Scopy interacts with only one hardware device at a time. Once a device is selected to be used with the application, a list of instruments that are available for that device will be enabled. Each instrument can be opened from the left menu. The icon on the right of the instrument name specifies that the instrument is enabled and provides a shortcut that allows an instrument to be turned on or off.

The instruments menu can be minimized by clicking on the Scopy button near the top-left window. Scopy Home View


Voltmeter

The voltmeter instrument displays the voltage readings on the two channels of the ADC. A plot of the measurement history is displayed next to the readings.

Voltmeter settings:

  • AC/DC: Selects the measurement domain of a channel: Alternating Current or Direct Current
  • History: Sets the history plot display (on/off) and time span of the history (dropdown menu)

To switch to this instrument click on the Voltmeter button from the left menu. Scopy Voltmeter View


Oscilloscope

The oscilloscope instrument consists of a central signal plot and a control panel with the settings for the different instrument options. The plot displays the waveforms that are captured on the available scope channels.

To switch to this instrument click on the Oscilloscope button from the left menu. Scopy Oscilloscope View

The control panel slides in and out from the right side of the screen and can be opened by pressing the button Scopy Right Panel Settings of any element from the right side of the bottom menu bar. The elements can be:

  • Channel Settings
  • Cursors
  • Measure
  • Trigger

The channels list is available on the left side of the bottom menu bar. A channel can be activated/deactivated by pressing the radio button on the left of the channel name. Scopy Channel Settings

When pressing on the channel, name of the channel is selected. Only one channel can be selected at a time. The Channel Settings, Cursors, Measurements and Trigger settings will all apply (if enabled by pressing their corresponding radio buttons) to the selected channel.

Scopy Channel Setting Channel settings:

  • Time Base: – It can be changed either by pressing the +/- buttons or by writing a value in the edit box. Pressing the center of the range circle toggles between fine/coarse modes. Dropdown menu is available for selecting the proper measurement unit.
  • Horizontal Position: – It can be changed either by pressing the +/- buttons or by writing a value in the edit box. Pressing the center of the range circle toggles between fine/coarse modes. Dropdown menu is available for selecting the proper measurement unit.
  • Volts/Div: – It can be changed either by pressing the +/- buttons or by writing a value in the edit box. Pressing the center of the range circle toggles between fine/coarse modes. Dropdown menu is available for selecting the proper measurement unit.
  • Vertical Position: – It can be changed either by pressing the +/- buttons or by writing a value in the edit box / drag the waveform on the screen vertically using the offset handles on the left of the plot. Pressing the center of the range circle toggles between fine/coarse modes. Dropdown menu is available for selecting the proper measurement unit.
  • CH Thickness: Changes the line thickness of the selected channel waveform that is drawn on the plot canvas.

When pressing the General Settings button Scopy Right Panel Settings on the right side panel a checkbox will appear, providing the option to compute and plot the FFT of the acquired signals.

Pressing the (+) button on the right side of the two channels selection buttons will open a Math panel. Here the user can compute different equations by using also the signals acquired through the channels. After the equation is defined, by pressing the “Apply” button, a new channel is added and the plot of the equation will be displayed.

Signal Generator

To switch to this instrument click on the Signal Generator button from the left menu. Scopy Signal Generator View


Power Supply

The Power Supply instrument displays the set voltage and the measured voltage generated at the output for each of the two channels available. There are two types of output, one providing positive voltage and one negative voltage.

To switch to this instrument click on the Power Supply button from the left menu. Scopy Power Supply View

Power Supply Settings:

  • Tracking ratio control - the two channels can have either Independent Controls (values set separately) or can be Tracking, meaning that the second channel value is set automatically as a percentage of the first channel value. The percentage is controlled by the user.
  • Positive output - It can be changed either by pressing the +/- buttons or by writing a value in the edit box. Pressing the center of the range circle toggles between fine/coarse modes. Dropdown menu is available for selecting the proper measurement unit.
  • Negative output - It can be changed either by pressing the +/- buttons or by writing a value in the edit box. Pressing the center of the range circle toggles between fine/coarse modes. Dropdown menu is available for selecting the proper measurement unit.
  • Enable - one button for each of the two outputs, enables the channel to provide the desired value at the output.


Pattern Generator

The pattern generator instrument can be used to generate output from the M2K with user configurable parameters. It consists of 3 parts:

  • Channel manager
  • Signals Plot
  • Control Panel

{{ :university:tools:m2k:scopy:pg_3.png?300 | The Run button starts the pattern generation. The Single button should start a single shot generation, but it is not currently implemented. The gearwheel button activates the general settings menu in the control panel. The sliders button activates the pattern settings menu in the control panel. The plot shows a preview of the generated signals by the pattern generator. For the enabled channels, the generated waveform is shown. For channel groups (groups of one or more channels) a “decoder” is displayed and has the purpose to graphically represent the binary value of the channel group. The channel manager panel lists all available channels on the device, and allows the user to create custom channel configurations.

The user can enable channels by clicking the button, setting the channel as an output. The channel name is shown in the second column of the channel manager. This name can be changed from the control panel The channel number is in the third column. This is the actual DIO number of the device. The select button is used to merge multiple channels together into a channel group. Channel groups are used to generate more complex patterns that span over multiple channels.

In order to create a channel group, select multiple channels and click the button.

The buttons can be used to remove a channel from the channel group or to dissolve the channel group (if the button next to the channel group is clicked). The channel group can also be dissolved if the user selects the channel group and clicks the button. Channel groups can be merged with other channels or channel groups by applying the same procedure as before, select channels and channel groups and group them. An alternative to the select/group mechanism is to drag and drop elements in the channel manager like this: An advantage dragging and dropping elements over using select/group mechanism is that it allows the user to reorder the elements in an intuitive way.

The button hides elements that are not enabled, showing only the enabled elements in the channel manager and plot. Whenever an element in the channel manager is clicked, it becomes highlighted. The highlighted element has a darker tint in the channel manager and the associated waveform in the plot is enclosed within two vertical white lines. The highlighted element indicates that settings in the control panel apply to this element.

The control panel allows the user to set the parameters of the waveform to be generated. The buttons allow navigation through the channel manager. The Pattern combobox allows the user to select one of the currently implemented patterns.
The currently implemented patterns are:

  • Clock – generates a clock signal having user selectable frequency, phase and duty cycle.
  • Random – generates random values at a user selectable frequency.
  • Binary Counter – generates a binary counter on the channels in the channel group.
  • UART – generates a UART message.

The Name editbox changes the name of the channel/channelgroup.





Logic Analyzer

To switch to this instrument click on the Logic Analyzer button from the left menu.

Scopy Logic Analyzer

This instrument can run continuously, repeatedly triggering, by pressing the Run button or triggering once, by pressing the Single button.

The logic analyzer instrument consists of a channel manager, a central signal plot and a control panel for different settings.

The channel manager allows the user to enable or disable channels, set triggers, create groups of signals or set protocol decoders to groups. The groups can be created by selecting channels and pressing the button Scopy Group Channels or by dragging one channel/group over another channel/group. The drag and drop mechanism also allows the user to reorder the channels.

The channel manager can be collapsed by pressing the button Scopy Collapse Manager located above the plot.

Logic Analyzer Pin

Channel manager configuration for a pin:

  • Switch for enabling/disabling a channel.
  • Channel name.
  • Channel index.
  • Dropdown for trigger selection.
  • Check box for selecting a channel.

Logic Analyzer Pin in Group

Channel manager configuration for a pin belonging to a group:

  • Channel name.
  • Channel index.
  • Dropdown for decoder role selection.
  • Dropdown for trigger selection.
  • Orange delete mark for removing channel from group.

Logic Analyzer Group

Channel manager configuration for a group:

  • Switch for enabling/disabling a group.
  • Arrow button for collapsing/expanding the group.
  • Group name.
  • Dropdown for decoder selection.
  • Orange delete mark for removing the group
  • Check box for selecting the group.

The plot displays the signal data captured on the enabled channels and the decoded data for active groups.

The control panel can be opened by pressing the button Scopy Right Panel Settings of any element from the right side of the bottom menu bar, by using the General Settings button Scopy Right Panel Settings or the Channel Settings button Scopy Right Panel Settings. The available elements in the bottom menu bar are Trigger Settings and Cursor Settings.

Logic Analyzer General Settings General Settings:

  • Time Base: – It can be changed either by pressing the +/- buttons or writing a value in the edit box. Pressing the center of the range circle toggles between fine/coarse modes.
  • Time Trigger Position: – It can be changed either by pressing the +/- buttons or writing a value in the edit box. Pressing the center of the range circle toggles between fine/coarse modes.




The default values for this instrument can be set by pressing the button Scopy Reset Instrument.

Channel Settings:

If a channel is highlighted in the channel manager, the settings for that particular channel are displayed in this panel. All the channels/groups allow the user to change the name by writing a value in the edit box.

The buttons Scopy Channel Navigation from the top right side of the panel allow navigation through the list of active channels.

For groups, if a decoder is set, the required and optional roles for that decoder are displayed in this panel.



Source code

The source code for the entire application is at github.

university/tools/m2k/scopy.txt · Last modified: 29 Mar 2017 12:39 by amiclaus

  沪ICP备09046653号