This shows you the differences between two versions of the page.
Next revision | Previous revisionNext revisionBoth sides next revision | ||
university:tools:m2k:scopy:logicanalyzer [21 Jun 2017 12:35] – created Antoniu Miclaus | university:tools:m2k:scopy:logicanalyzer [16 May 2018 15:35] – Update docs to match the new UI and include new features Alexandra Trifan | ||
---|---|---|---|
Line 2: | Line 2: | ||
===== General ===== | ===== General ===== | ||
To switch to this instrument click on the Logic Analyzer button from the left menu. | To switch to this instrument click on the Logic Analyzer button from the left menu. | ||
- | |||
- | {{: | ||
This instrument can run continuously, | This instrument can run continuously, | ||
- | The logic analyzer instrument consists of a channel manager, a central signal plot and a control panel for different settings. | + | 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 | + | {{: |
- | The channel manager can be collapsed by pressing the button {{: | + | \\ |
- | {{: | + | ==== Channel manager configuration ==== |
+ | |||
+ | 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 | ||
+ | |||
+ | The channel manager can be collapsed by pressing the button {{: | ||
Channel manager configuration for a pin: | Channel manager configuration for a pin: | ||
+ | |||
+ | {{: | ||
* Switch for enabling/ | * Switch for enabling/ | ||
Line 22: | Line 26: | ||
* Dropdown for trigger selection. | * Dropdown for trigger selection. | ||
* Check box for selecting a channel. | * Check box for selecting a channel. | ||
- | |||
- | {{: | ||
Channel manager configuration for a pin belonging to a group: | Channel manager configuration for a pin belonging to a group: | ||
+ | |||
+ | {{: | ||
* Channel name. | * Channel name. | ||
Line 32: | Line 36: | ||
* Dropdown for trigger selection. | * Dropdown for trigger selection. | ||
* Orange delete mark for removing channel from group. | * Orange delete mark for removing channel from group. | ||
- | |||
- | {{: | ||
Channel manager configuration for a group: | Channel manager configuration for a group: | ||
+ | |||
+ | {{: | ||
* Switch for enabling/ | * Switch for enabling/ | ||
Line 46: | Line 50: | ||
The plot displays the signal data captured on the enabled channels and the decoded data for active groups. | 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 | + | The control panel can be opened by pressing the Trigger settings |
- | The available elements in the bottom menu bar are Trigger Settings and Cursor Settings. | + | |
+ | \\ | ||
+ | ==== 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 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. | * **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. | ||
+ | * **Repeated Mode**: – Using the instrument in this mode consists of repeatedly waiting, acquiring and displaying one buffer at a time. However, when the time base is greater than 1 s/div, in order to avoid waiting too much for a buffer, the time trigger is moved on the leftmost position on the screen and the signals are plotted immediately, | ||
+ | * **Stream Mode**: – When the Stream mode is enabled, the time trigger is moved automatically to the leftmost position on the screen, the Frequency control is enabled, allowing the user to stream at any chosen frequency. In this mode, the signals are continuously drawn in the right side, not limited by one screen. If the time trigger position is modified, the instrument returns to the waiting mode, regardless of the time base value. | ||
+ | * **Frequency**: | ||
+ | * **Export**: – The Logic Analyzer can export current data in .csv (Comma-separated values) and .vcd (Value change dump) format. Using the “Export All” switch you can select and export data from all the available channels or you can create a custom selection using the dropdown. After deciding which channels should be exported, click “Export” and choose a file. The exported .csv files are compatible with instruments throughout the application, | ||
\\ | \\ | ||
\\ | \\ | ||
\\ | \\ | ||
- | The default values for this instrument can be set by pressing the button {{: | ||
- | Channel | + | ==== Channel |
If a channel is highlighted in the channel manager, the settings for that particular channel are displayed in this panel. | If a channel is highlighted in the channel manager, the settings for that particular channel are displayed in this panel. | ||
All the channels/ | All the channels/ | ||
- | The buttons | + | The buttons from the top right side of the panel allow navigation through the list of active channels, as shown in the following illustration. For groups, if a decoder is set, the required and optional roles for that decoder are displayed in this panel. |
- | {{ :university: | + | {{ university: |
- | For groups, if a decoder is set, the required and optional roles for that decoder are displayed in this panel. | + | |
- | + | ||
- | {{: | + | |
\\ | \\ | ||
\\ | \\ | ||
Line 81: | Line 87: | ||
\\ | \\ | ||
==== Enable & run multiple channels ==== | ==== Enable & run multiple channels ==== | ||
- | < | + | |
- | - Disable 8 channels using the channel manager located in the left side of the plot. To disable a channel use {{: | + | - Disable 8 channels using the channel manager located in the left side of the plot. To disable a channel use {{: |
- Use {{: | - Use {{: | ||
- | - To acquire 1 s of data, change the time base to 100 ms, using the time base selector in the right menu. Open the right menu using {{: | + | - To acquire 1 s of data, change the time base to 100 ms, using the time base selector in the right menu. Open the right menu using the General |
- | - Start the acquisition using {{: | + | - Start the acquisition using the " |
- | </ | + | |
- | \\ | + | |
- | ==== Reset instrument ==== | + | |
- | ==Reset instrument to default settings== | + | |
- | < | + | |
- | - Open the right menu using {{: | + | |
- | - Click {{: | + | |
- | </ | + | |
\\ | \\ | ||
==== Create channel groups, decode & change UI elements ==== | ==== Create channel groups, decode & change UI elements ==== | ||
- | ==Create channel groups, run and decode the signals, setup protocol decoders and change visual parameters for signals (color, thickness).== | + | |
- | < | + | - Create |
- | - Create | + | - Setup a **Parallel** decoder for this group. Use the dropdown located in the right side of the group name to set a decoder.\\ The roles for these 3 channels |
- | - Move the channel group at the top of the channel list. Use drag and drop to move the channel group. | + | - Start the acquisition using the " |
- | - Setup a **Parallel** decoder for this group. Use the dropdown located in the right side of the group name to set a decoder.\\ | + | - Change the name of the existing group.\\ Select the group. Open the right menu using the Channel |
- | - Start the acquisition using {{: | + | - Create another channel group with 3 channels. (See step 1). Merge the two channel groups.\\ To merge two channels group, use drag and drop. Select one channel group, and drag it inside the other channel group.\\ You should have 5 channels in the first channel group (“GROUP1”) and the second channel group should stay the same.\\ {{: |
- | - Change the name of the existing group.\\ Select the group. Open the right menu using {{: | + | - |
- | - Create another channel group with 2 channels. (See step 1). Merge the two channel groups.\\ To merge two channels group, use drag and drop. Select one channel group, and drag it inside the other channel group.\\ You should have 5 channels in the first channel group (“GROUP1”) and the second channel group should stay the same.\\ {{: | + | - Change signal color and thickness.\\ Select GROUP1. Open the right menu using the Channel |
- | - | + | |
- | - Change signal color and thickness.\\ Select GROUP1. Open the right menu using | + | |
- | | + | |
- | </ | + | |
\\ | \\ | ||
==== Trigger Settings ==== | ==== Trigger Settings ==== | ||
- | < | ||
- From the left menu, choose the Pattern Generator tool.\\ Select channel 0 and create a group. \\ Select the group and set the //Clock// pattern using the right menu. \\ Do not start the Pattern Generator. | - From the left menu, choose the Pattern Generator tool.\\ Select channel 0 and create a group. \\ Select the group and set the //Clock// pattern using the right menu. \\ Do not start the Pattern Generator. | ||
- | - From the left menu, choose the Logic Analyzer tool.\\ Open the right menu using {{: | + | - From the left menu, choose the Logic Analyzer tool.\\ Open the right menu using the General |
- | - Set a “rising edge” | + | - Setup a trigger |
- | - Press {{: | + | - Press the " |
- Now Start the Pattern Generator using the left menu. \\ The Pattern Generator generates a clock on the first channel, so the Logic Analyzer should trigger, and the signals should now be visible on the plot. | - Now Start the Pattern Generator using the left menu. \\ The Pattern Generator generates a clock on the first channel, so the Logic Analyzer should trigger, and the signals should now be visible on the plot. | ||
- | </ | ||
\\ | \\ | ||
==== Interaction with Scopy Pattern Generator ==== | ==== Interaction with Scopy Pattern Generator ==== | ||
- | < | ||
- From the left menu, choose the Pattern Generator tool.\\ Select channel 0 and create a group. \\ Select the group and set the UART pattern using the right menu. Set the following parameters: | - From the left menu, choose the Pattern Generator tool.\\ Select channel 0 and create a group. \\ Select the group and set the UART pattern using the right menu. Set the following parameters: | ||
- baud: 115200 | - baud: 115200 | ||
- data to send = “hello”. | - data to send = “hello”. | ||
- Start the Pattern Generator using the top right button. | - Start the Pattern Generator using the top right button. | ||
- | - From the left menu, choose the Logic Analyzer.\\ Create a group that contains channel 0. The group will be created at the bottom of the channel manager. Select the group and open the right menu using {{: | + | - From the left menu, choose the Logic Analyzer.\\ Create a group that contains channel 0. The group will be created at the bottom of the channel manager. Select the group and open the right menu using the Channel Settings button. |
- Set the UART decoder to the group. | - Set the UART decoder to the group. | ||
- Set the RX role to channel 0. | - Set the RX role to channel 0. | ||
- | - Press {{: | + | - Press the " |
- | - Enable the cursors using {{: | + | - Enable the cursors using the box on the left of the " |
- | </ | + | |
+ | \\ | ||
+ | **Return to [[university: |