Logic Analyzer

The Logic Analyzer allows acquisition and visualization of digital inputs.

It is possible to configure the information being visualized in four ways: choose which signals to visualize, group signals in buses, configure protocol interpreters, and visualize them in a specific order.

 

1. Menu

See Menu in Common Interfaces.


1.1. View

 

2. Control

The control toolbar contains the following:

 

2.1 Trigger

The simple triggers, like edge and level, can be configured in the Trigger column of the signal grid.
For protocol specific trigger options, see the protocols description.
The following triggers can be configured under the Pulse button option on the control toolbar:

 

3. Signal Grid

The Signals Grid allows you to customize the display of the signals that you are interested in. See the operations found in the Lists section.

The grid menu contains the following options:

The grid columns are as follows:

The overall trigger condition is built by AND-ing all level conditions together with the result of OR between edge conditions of each pin. The following trigger conditions are possible for each pin:

The grid context menu opens on mouse right-click. This contains similar buttons as the grid toolbar's Add and Remove menus.

The waveform area context menu, the following operation can be performed:

The waveform area is divided in the following sections: scroll, state, waveform (center), and bottom.

With higher row height for Bus or protocol, the analog representation of the values is drawn.

 

3.1. Quick Measure

See Quick Meausure in Common Interfaces.

 

3.2. Cursors

The Cursors are available for main time view. See Cursors.

The Cursor's drop-down menu contains adjustment controls for the position, reference cursor, delta x value, and remove button.

 

4. Protocols

The protocols property editor can be opened for the selected protocol under the grid toolbar edit menu.

4.1. Signal

In the signal property editor, the name can be specified and the device pin changed.

 

4.2. Bus

In the bus property editor, the following can be configured:

The BUS trigger lets you specify the value to trigger on.

 

4.3. SPI

SPI interpreter lets you define a synchronous serial data link with the following options:

The SPI trigger wizard lets you specify the following options:

 

4.4. SPI MOSI/MISO

SPI interpreter lets you define a synchronous serial data link with the following options:

 

4.5. I2C

For I2C or Two-wire Interface interpreter, the clock and data signals can be selected. The address representation selects between 7 bits, 8 bits with or without the read/write bit.

The I2C trigger wizard lets you specify the following options:

 

4.6. UART

The UART interpreter for asynchronous serial protocols lets you select:

The UART trigger wizard lets you specify the following options:

 

4.7. USART PS/2

The USART interpreter for synchronous serial protocols lets you select:

The USART trigger wizard lets you specify the following options:

 

4.8. CAN

The CAN bus (controller area network) interpreter lets you select:

The data is decoded with following notation:

The CAN trigger wizard lets you specify the following options:

 

4.9. I2S

The I2S interpreter lets you define a synchronous serial data link with the following options:

The I2S trigger wizard lets you specify the following options:

 

4.10. 1-Wire

The 1-Wire interpreter lets you select:

It can decode the following 1-Wire data:

The 1-Wire trigger wizard lets you specify the following options:

 

4.11. HDMI CEC

The HDMI CEC interpreter lets you select:

The 1-Wire trigger wizard lets you specify the following options:

 

4.12. Manchester

The Manchester interpreter lets you select:

The encoding methods:

The Manchester trigger lets you specify the following options:

 

4.13. JTAG

The JTAG interpreter lets you select:

The JTAG TAP states are the following: Test-Logic-Reset, Run-Test/Idle, Select-DR-Scan, Select-IR-Scan, Capture-DR, Capture-IR, Shift-DR, Shift-IR, Exit1-DR, Exit1-IR, Pause-DR, Pause-IR, Exit2-DR, Exit2-IR, Update-DR, Update-IR.

The JTAG trigger lets you select between TLR and RTI. Note these use 0x1F and 0x2E TMS bits.

 

4.14. GPIB

The GPIB interpreter lets you select:

The D1-7 bits are sampled at DAV falling edge as data or command depending on ATN signal level.

The GPIB trigger lets you select and specify Command or Data value to trigger.

 

4.15. SWD

The Serial Wire Debug interpreter lets you select:

The protocol sections:

The SWD trigger lets you select Reset.

 

4.16. SAE J1850 VPW

The SAE J1850 VPW interpreter lets you select:

 

4.17. Custom

The Custom interpreter allows defining the custom protocol interpreter. See Script in Common interfaces.
The interpreter is defined by a Decoder and a Value to text script.
The Decoder has the rgData as input, the array of acquisition samples, and outputs two arrays: rgValue to store the decoded 32-bit values and rgFlag to characterize each value, like a mask.
The Value to text script will be called when a value needs to be displayed, converting value and flag to text format.

 

5. Views

5.1. Data

The Data view displays the data samples.

The column header shows the sample index and the first column shows the time stamp followed by the values of the added channel's components.

 

5.2. Events

The Events view displays the data changes and the time stamps for the selected channel.

The first column shows the event index and the second shows the time stamp followed by the event for the selected channel.
The events can be filtered by containing, equal, starting with, ending with, or not the give text.

 

5.3. Measurements

The Measurements view shows the list of the selected measurements.

The first column in the list shows the channel, the second shows the type, and the third shows the measurement result. See the mouse operations found in the Lists section.

Pressing the Add Default Measurement button opens the Add Measurement window. On the left side is the channel list, and on the right side is a tree view containing the measurement types in groups. Pressing the Add button here (or double-clicking an item) adds it to the measurement list.

The Show menu options allows you to create statistics out of measurements for current capture or across multiple acquisitions, which can be cleared with the Reset button.

 

5.4. Logging

See Logging in Common Interfaces.

The script allows custom saving of data or processed information. The Locals are the instrument object called Logic. Index and Maximum are the values shown above the script.


// condition for saving, DIO0 to exist
if('DIO0' in Logic.Channels){
    // instantiate file object for acquisition
    var file = File("C:/temp/dio0_"+Index+".csv")
    var data = Logic.Channels.DIO0.data
    // write data to file
    file.write(data)
    // increment Index
    Index++
}

 

5.5. Counter

The counter view is available with devices which support trigger counter and timer feature.

 

5.6. Cursors

The X Cursors show cursor information in table view. See Cursors for more information.

 

6. Export

See Export in Common Interfaces.