Skip to main content

Trigger Function

The trigger function automatically starts and stops logging when predefined conditions are detected during monitoring.

  • Operating condition

    • Works only when logging is enabled (Save Log File is checked)
  • Trigger types

  1. Frame detection: when a specific CAN frame is received
  2. Key input: when a user-defined key is pressed

This allows efficient logging only at the required timing.
Configure triggers in the Trigger Window.

Trigger Mode

Trigger operation patterns are as follows.

Trigger ModeConditionOperation
Free Run-Trigger function is not used. Logging starts/stops manually or by normal operation.
TriggeredLog Trigger / Key TriggerStarts or stops logging once when a condition is detected. After stop-trigger detection, monitoring also stops.
ReTriggeredLog Trigger / Key TriggerRepeats start/stop each time a condition is detected. Operates up to 64 times, then stops.

In ReTriggered mode, both start and stop triggers must be configured, and separate log files are created for each trigger.

Trigger Window Screen Description

Trigger Window
ItemDescription
Trigger ModeSelect trigger operation mode.
- Free Run: trigger disabled
- Triggered: operate once when condition is met
- ReTriggered: operate repeatedly whenever condition is met
Start Log TriggerStart logging when trigger log data is received.
Enable by checking the box.
Stop Log TriggerStop logging when trigger log data is received.
Enable by checking the box.
Start Key TriggerStart logging when the configured key input is detected.
Enable by checking the box.
Stop Key TriggerStop logging when the configured key input is detected.
Enable by checking the box.
Clear buttonResets (deletes) all configured trigger conditions.

Log Trigger Setup Procedure

1. Open Trigger Window
Select Trigger Window from the menu or toolbar.

Log Trigger1

2. Select Trigger Mode
When Triggerd or ReTriggerd is selected, the following fields become editable.

  • Start Log Trigger
  • Stop Log Trigger
  • Start Key Trigger
  • Stop Key Trigger

In this example, Triggerd is selected.

Log Trigger2

3. Configure Start Log Trigger or Stop Log Trigger
Turn on the checkbox for the start/stop trigger you want to use.

In this example, Stop Log Trigger is enabled to stop logging by Log Trigger.

Log Trigger3

4. Configure Trigger Frame
Click the Edit button button (note) to open the Log Trigger Setting dialog and configure the trigger condition frame.
In the Log Trigger Setting dialog, click Data Setting (note) to open the Data Setting dialog and configure message conditions by byte unit.
After setting each dialog, click OK to complete trigger settings.
Note: You can also open each dialog by double-clicking the data display area.

In this example, CAN FD frame ID 300 is set as the trigger condition.

Log Trigger4

5. Start Monitoring
When monitoring starts, logging start/stop is executed based on trigger condition detection.

Log Trigger Setting Dialog Description

Configure condition settings for logs targeted for trigger detection.

Log TriggerSetting
ItemDescriptionSetting Values
ChChannel target for trigger (MicroPeckerX unit)Select from:
ALL / 1 / 2 / 3 / 4
InnerChChannel target for trigger (MicroPeckerX internal channel)Select from:
ALL / 1 / 2
DirectionSpecify Tx/Rx frame directionR: receive / T: transmit / R or T: both
StateSpecify normal or error frameSelect from:
OK / NG
TypeSpecify target frame typeSelect from:
[When Status = OK]
- CAN-FD Frame
- CAN Data Frame
- Remote Frame
[When Status = NG]
- All Error
- Bus Error
- Error Warning
- Error Passive
- Bus Off Entry
- Bus Off Recovery
- Overload
- Bus Lock
- Arbitration Lost
- Stuff Error
- Form Error
- Ack Error
- CRC Error
- Recessive Bit Error
- Dominant Bit Error
- Ack Delimiter Error
ID FormatSpecify CAN ID formatSelect Standard (Std.) or Extended (Ext.) format.
CAN ID is shown in hex. If * is entered, CAN ID is not evaluated.
DLCCAN data lengthIf * is entered, DLC is not evaluated.
Data Setting buttonOpen Data Setting dialog-
[1]Data fieldDisplays data set in the Data Setting dialog.

Data Setting Dialog Description

Click Data Setting in the Log Trigger Setting dialog to open the Data Setting dialog.
You can configure data conditions for trigger-target logs. Display can be switched by tabs between Hex (hexadecimal) and Binary.

Log Trigger DataSetting
ItemDescriptionDetails
IDCAN IDCAN ID cannot be edited in Data Setting.
DLCData lengthDisplay of data setting areas [2] and [3] changes according to DLC settings.
If * is entered, DLC is not evaluated.
[1]Hex/Binary display tabSwitch data display between Hex and Binary.
[2]Per-byte data setting area (note1)Each cell represents 1 byte. Top-left cell is Data1.
If * is entered, data is not evaluated.
[3]Editor area (note1)Data can be set as comma-separated bytes.
If * is entered, data is not evaluated.
Settings can be saved/loaded as CSV.
Load button buttonLoad Data Setting fileLoads a CSV file saved from Data Setting.
Save button buttonSave Data Setting fileSaves current Data Setting values as CSV. Target is settings in [3].

note1: Data can be edited in either [2] or [3]. Both views are synchronized.

Key Trigger Setup Procedure

1. Open Trigger Window
Select Trigger Window from the menu or toolbar.

Log Trigger1

2. Select Trigger Mode
When Triggerd or ReTriggerd is selected, the following fields become editable.

  • Start Log Trigger
  • Stop Log Trigger
  • Start Key Trigger
  • Stop Key Trigger

In this example, Triggerd is selected.

Log Trigger2

3. Configure Start Key Trigger or Stop Key Trigger
Turn on the checkbox for the start/stop trigger you want to use.

In this example, Stop Key Trigger is enabled to stop logging by Key Trigger.

Key Trigger1

4. Configure Trigger Key
Select the trigger key from the pull-down list. You can also combine it with modifier keys (Alt, Ctrl, Shift).
This completes trigger key settings.

Key Trigger2

5. Start Monitoring
When monitoring starts, logging start/stop is executed according to the configured key-trigger condition.

Key Trigger Screen Description
key Trigger Setting
ItemDescriptionDetails
[1]Main key settingSet the trigger key.
Available keys: 0-9, A-Z, F1-F12, SPACE
[2]Sub key settingSet modifier keys combined with the main key.
Available keys: Shift, Ctrl, Alt

Forced Logging Start

You can forcibly start logging before the start-trigger condition is detected.
Select Command -> Forced Logging Start from the menu bar.
You can also forcibly start logging with the toolbar Trigger button button.

Force Logging Start

Status Bar Display

Trigger waiting/start/stop states are shown on the status bar.

Waiting (before start trigger condition is detected)

status Wait Start Trigger

Logging Started

status Log Start

Logging Stopped

status Log Stop

When start/stop trigger conditions are detected, the status bar shows the trigger information that occurred.