Logic Analyzer

The Logic Analyzer allows acquisition and visualization of digital inputs.

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

 

1. Menu

See Menu in Common Interfaces.


1.1. View

 

2. Control

The acquisition bar contains the following:

 

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, Remove, and Edit menus.

The waveform area is divided in three sections: top, bottom, and center.

On the bottom area, the time position can be adjusted by horizontal left mouse button drag and the time base by right mouse button drag.

With higher row hight for Bus or interpreter the analog representation of the bus values is drawn.

 

3.1. HotTrack

See HotTrack in Common Interfaces.

When the mouse cursor position is in a signal row, it will place a vertical cursor along with two more horizontal ones towards the right, measuring the pulse-width and period. Otherwise, it will place s single vertical cursor showing the time position and the waveform's level at the intersections with the vertical cursor.

 

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. Property Editor

The property editor can be opened for the selected signal, bus, or interpreter 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:

 

4.3. SPI

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

 

4.4. I2C

For I2C or Two Wire Interface interpreter, the clock and data signals can be selected.

 

4.5. UART

The UART interpreter for asynchronous serial protocols lets you select:

 

4.6. CAN

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

 

4.7. I2S

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

 

4.8. Custom

The Custom interpreter allows defining custom protocol interpreter. See Script in Common interfaces.
The interpreter is defined by a Decoder and a Value to text script.
The Decoder has as input the rgData, the array of acquisition samples, and outputs two array: 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, 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, the second shows the time stamp followed by the event for the selected channel.
The events can be filtered containing (like: "*FF*"), staring with (like: "h00*"), ending with (like: "*WR") or equal (like: "ACK") the give text.

 

5.3. 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.4. Cursors

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

 

6. Export

See Export in Common Interfaces.