Chapter 10 - Search/Filter

Contents


Searching


Filtering

Like the TriggerForms™ described in Chapter 4 - Setup step three: triggering, the GoLogic software provides SearchForms™ which simplify finding specific samples in the captured data. FilterForms™ are also provided which can remove specific samples from the captured trace data.

The SearchForms and FilterForms are nearly identical to the TriggerForms with only minor changes. The TriggerForms define which samples are stored to memory while running and when the GoLogic triggers. In contrast, the SearchForms and FilterForms operate on trace data which has already been captured. You can either find or remove specific samples in the captured trace data.

Since the SearchForms and FilterForms are nearly identical to the TriggerForms, this chapter does not discuss how to use the forms. See Chapter 4 - Setup step three: triggering for details on how to define the search and filter forms. Instead, this chapter covers the how the search and filter setup differs from the triggering setup.
 

I2C Searching

SPI Searching

The UART, CAN, LIN, and bitstream search/filter forms are exceptions. The GoLogic cannot trigger on these serial buses, so these forms are only available in the Search and Filter tabs. Therefore, the UART, CAN, LIN, and bitstream forms are described in this chapter.

 
Source data
If searching, select the source data to search. Either the trace or reference data can be searched...

   
Likewise, select the source data if filtering...

 
Search actions
Select the action to take each time the SearchForm matches a sample. The following search actions are available...
 

 
  • Go to matching sample - The software scrolls to the sample which matches the SearchForm.
  • Count all matches - The software displays a message indicating the total matches in the data.
  • Bookmark all matches - A bookmark is placed at each matching sample in the data. To prevent excessive bookmarks, you can limit the total bookmarks in case the SearchForm matches too many samples.
  • Find next (F3) - Executes the search feature. Finds the next match starting at the active scroll position. The F3 key also executes the search feature.
  • Find prev (Shft+F3) - Executes the backwards search feature. Finds the previous match starting at the active scroll position. The Shift+F3 key also executes the backwards search feature.
The "After download" system option can be used with the above search actions. The "After download" system option is located under the "Options > System options..." menu command. Each time a new trace is captured, the software automatically executes the search feature starting at the trigger sample.
Filter actions
Select the action to take each time the FilterForm matches a sample. The following filter actions are available...
 

 
  • Remove matching samples - Starting at the first sample and ending at the last sample, the software removes each sample which matches the FilterForm.
  • Leave matching samples - Starting at the first sample and ending at the last sample, the software removes each sample which differs from the FilterForm.
  • Apply Filter - The FilterForm is used to remove/leave all matching samples in the selected source data.
Serial bus search/filter
SearchForms and FilterForms are provided for each serial bus the GoLogic supports. These forms are available only when a serial bus capture mode is active.

The I2C and SPI Search/Filter forms are identical to their TriggerForms. Therefore, this section only describes the serial bus types which cannot trigger the GoLogic. See the Triggering chapter for details on the I2C and SPI Search/FilterForms.
 
Select a bus
To search/filter on any serial bus data, choose the specific bus from the "Bus" drop-down list. The serial buses are define in the Sampling tab...


 

UART options

Select the number of data values. Up to 16 values can be entered...

The values must occur consecutively in the serial data.


UART Searching

 
Enter the data value(s)...

 
CAN options

Choose the CAN form type...


CAN Searching

  • ID-field - Find a specific ID field in the data.
  • ID-field series - Find a consecutive series of ID fields in the data. Ignores non-ID fields.
  • Full packet - Find a complete CAN packet in the data.
  • Packet series - Find a consecutive series of full CAN packets in the data. Up to 4 full packets can be entered.
  • Any error - Finds any error in the data.
ID-field
The ID-field can use the standard 11-bit form...

...or the extended 32-bit form...

The ID-field can be edited in hexadecimal or binary...

The basic rules for trigger/search patterns apply. The "x" character is an 'anything' placeholder. The bits associated with each "x" can be any value and match the pattern.
 

ID-field series
Up to 8 consecutive ID-fields can be entered...

Each ID-field is defined the same as a single ID-field search.
 

Full packet
A full packet search allows all fields to be specified...

The number of data bytes in a full packet can vary from 0 to 8. The "any" value ignores any data bytes which may appear in the packet. If you choose a specific number of data bytes and leave all the data values to "x", then the packet must contain the number of data bytes specified, but each data byte can be any value.
 

Packet series
Up to 4 consecutive full packets can be entered...

Each packet is defined the same as a single full-packet search.
 

LIN options

Select the LIN form type...


LIN Searching

  • ID-field - Find a specific ID field in the data.
  • ID-field series - Find a consecutive series of ID fields in the data. Ignores non-ID fields.
  • Full packet - Find a complete LIN packet in the data.
  • Packet series - Find a consecutive series of full LIN packets in the data. Up to 4 full packets can be entered.
  • Any error - Finds any error in the data.
ID-field
The ID-field is an 8-bit value...

The ID-field can be edited in hexadecimal or binary...

The basic rules for trigger/search patterns apply. The "x" character is an 'anything' placeholder. The bits associated with each "x" can be any value and match the pattern.
 

ID-field series
Up to 8 consecutive ID-fields can be entered...

Each ID-field is defined the same as a single ID-field search.
 

Full packet
A full packet search allows all LIN packet fields to be specified...

The number of data bytes in a full packet can vary from 0 to 8. The "any" value ignores any data bytes which may appear in the packet. If you choose a specific number of data bytes and leave all the data values to "x", then the packet must contain the number of data bytes specified but each data byte can be any value.
 

Packet series
Up to 4 consecutive full packets can be entered...

Each packet is defined the same as a single full-packet search.
 

Bitstream options

Select the number of data values. Up to 16 values can be entered...

The values must occur consecutively in the serial data.


Bitstream Searching

 
Enter the data value(s)...

 
Copyright and trademark information
Contents