Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:start [2019/05/28 20:09] – [2. Using the Logic Analyzer] Boris Leonov | learn:instrumentation:tutorials:analog-discovery-studio-logic-analyzer:start [2021/06/02 23:49] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Using the Logic Analyzer====== | + | ====== Using the Logic Analyzer (REDIRECT) ====== |
- | + | ~~REDIRECT>test-and-measurement/guides/ | |
- | This guide walks through the process of setting up WaveForms' | + | ~~NOSEMANTIC~~ |
- | + | {{tag>redirect}} | |
- | ==== 1. Opening the Logic Analyzer==== | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 1.1 == | + | |
- | Plug in your <test & measurement device>, then start WaveForms and make sure your device is connected. | + | |
- | + | ||
- | If no device is connected to the host computer when WaveForms launches, the **Device Manager** will launch automatically. | + | |
- | + | ||
- | Make sure that the device is plugged in and turned on, at which point it will appear in the Device Manager' | + | |
- | + | ||
- | **Note:** //The Device Manager can be reopened by clicking on the “Connected Device” button in the bottom right corner of the screen (3), or by selecting “Device Manager” from the “Settings” menu at the top of the screen.// | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{ : | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 1.2 == | + | |
- | Once the Welcome page loads, in the instrument panel at the left side of the window, click on the **Logic** button to open the Logic Analyzer instrument. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 1.3 == | + | |
- | Once the //Logic// instrument opens, the window contains the data plot (1) showing captured data, the configuration panel (2) to left of the plot, and the control toolbar (3) at the top of the window. | + | |
- | </WRAP> | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ---- | + | |
- | + | ||
- | ==== 2. Using the Logic Analyzer==== | + | |
- | //This section walks through setting up the logic analyzer to capture an incoming data signal// | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.1 Software Setup == | + | |
- | On the left panel, select the "Click to Add channels" | + | |
- | + | ||
- | Return to WaveForms' | + | |
- | </WRAP> | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </WRAP> | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 2.2 Capture Data == | + | |
- | In the // | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | ==== 3. Logic Analyzer User Interface Overview ==== | + | |
- | //This section walks through the wide variety of controls and features available in the //Logic// instrument// | + | |
- | + | ||
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.1 Control Buttons == | + | |
- | The " | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: " | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.2 Buffer Configuration== | + | |
- | To the right of the control buttons are various options for filling the buffer and selecting which buffer to look at. | + | |
- | Mode changes between the five acquisition modes: // | + | |
- | + | ||
- | In //Record// mode the Logic Analyzer will repeatedly fill buffers with data and display them on the screen as they' | + | |
- | + | ||
- | //Screen// and //Shift// modes continuously add new data to the screen as it streams in instead of showing full buffers as in //Record//. | + | |
- | //Screen// will fill the screen from left to right and then add new data on the left, overwriting the previous data set. | + | |
- | //Shift// will show new data as it comes in from the right, in effect scrolling the data from right to left. | + | |
- | + | ||
- | //Record// allows for large amounts of data to be captured at a lower sample rate. This can be used for recording data from a sensor that needs to be monitored for several minutes or hours. | + | |
- | + | ||
- | //Sync// offers the ability to use an external clock to control when the Logic Analyzer records samples. Useful with communication protocols such as SPI, I2C, and UART. | + | |
- | + | ||
- | The option **Buffer** allows for selection of buffers, as each acquisition fills a new one (except in //Repeat// mode, where buffers are sequentially filled). The green plus button ({{learn: | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: " | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.2 Trigger Configuration== | + | |
- | Trigger allows for selection of the trigger type. These are //None//, //Auto//, and // | + | |
- | + | ||
- | //None// starts the acquisition immediately after Run is clicked. | + | |
- | + | ||
- | //Auto// starts the acquisition either on the trigger event, or approximately 2 seconds after Run is pressed if the trigger event doesn' | + | |
- | + | ||
- | //Normal// starts the acquisition only on the trigger event. | + | |
- | + | ||
- | The Source dropdown allows the user to trigger the oscilloscope based on events in other instruments. For more information, | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | The three buttons labeled //Simple//, //Pulse//, and // | + | |
- | + | ||
- | //Simple// is used in conjunction with the Trigger column (labeled **T** in the Logic instrument, see image at right). Each channel can be set to trigger on various events: **Ignore** ({{learn: | + | |
- | + | ||
- | //Pulse// opens a menu to configure a trigger on a pulse that is either shorter than a specified time (**Glitch**), | + | |
- | + | ||
- | // | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{: | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.3 Time Configuration== | + | |
- | By default, the Time group in the Configuration panel contains the **Position** and **Base** fields. The Position field centers the plot on the selected time, measured from the trigger. This can be used to view data captured before and after the trigger event. The Base field configures the scale used for the horizontal axis of the plot. Using these two settings can be thought of as “panning” and “zooming” the plot. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | The gear button ({{: | + | |
- | + | ||
- | //Position as a division// toggles between units of seconds and divisions for the position. | + | |
- | + | ||
- | **Range Mode** dropdown has the options //Full//, // | + | |
- | + | ||
- | //Full// changes the units in Base to the full length of the buffer in seconds. | + | |
- | + | ||
- | // | + | |
- | + | ||
- | // | + | |
- | + | ||
- | The **Clock** dropdown changes between the // | + | |
- | + | ||
- | **Noise** toggles the option to acquire noise samples in half of the buffer. | + | |
- | + | ||
- | The **Edge** dropdown allows for selection of the rising, falling, or edge for the external or internal trigger signals. | + | |
- | + | ||
- | The **Buffers** dropdown selects the number of buffers to store in the PC. This changes the maximum value in **Buffer** in section 3.1. | + | |
- | + | ||
- | The //Clear buffers// button clears all the PC buffers. | + | |
- | + | ||
- | **Draw while recording** toggles drawing while in //Record// and //Sync// modes, somewhat resembling //Scan// and //Screen// behavior while collecting data over a long period | + | |
- | + | ||
- | The **Update** dropdown sets the update rate of the //Logic// instrument display. | + | |
- | + | ||
- | + | ||
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.4 Additional Configuration Options == | + | |
- | Pressing the green arrow ({{learn: | + | |
- | + | ||
- | **Samples** selects the number of data points to collect. | + | |
- | + | ||
- | **Rate** selects the sampling rate. Together with the values selected in the Samples dropdown this will determine the Base value. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | FIXME image: " | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.5 Adding Protocol Channels == | + | |
- | In order to add protocol channels, follow the steps in 2.1 and select the appropriate protocol from the list. This will cause a menu with settings specific to that protocol to pop up, allowing for selection of DIO channels for each signal line, and options such as endianness, polarity, bit order, etc. To modify these options after adding the protocol channels, press the Properties icon for that channel (see the red 1 in the image at right). The Protocol and Bus modes will display the data seen on each individual line, as well as the overall value of that combination of channels. These values are marked by red 2's in the image at right. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | == 3.6 View Options == | + | |
- | The **View** menu is located at the top of the //Logic// instrument window, right above **Run**. Selecting any of the views in that menu will open a tabbed window on the right side of the instrument window. The available views are //Data//, //Events//, // | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | + | ||
- | </ | + | |
- | </ | + | |
- | <WRAP group> | + | |
- | <WRAP column half> | + | |
- | //Data// displays a table of all acquired samples. If using the Bus or a protocol, only the overall values (as discussed in 3.5) are displayed. | + | |
- | + | ||
- | //Events// only displays data when it changes. This provides a more compact view than Data, but only displays one channel at a time. Channels can be selected in the dropdown presented at the top of the Events view, as well as filtered by various methods. | + | |
- | + | ||
- | // | + | |
- | + | ||
- | // | + | |
- | + | ||
- | //Cursors// are used to measure data about the waveform detected in the instrument. The drop-down menus contains adjustment controls for the position, reference cursor, and delta x value. | + | |
- | + | ||
- | //Notes// allows for adding of notes and descriptions into projects. | + | |
- | </ | + | |
- | <WRAP column half> | + | |
- | {{learn: | + | |
- | </ | + | |
- | </ | + | |
- | + | ||
- | + | ||
- | {{tag>analog-discovery-studio tutorial}} | + |