Skip to main content

Microsoft Visual Basic .NET Sample Program

Microsoft Visual Basic .NET Simulation Program

Screen Layout

VB .NET Simulation Program

| Item | Description

---|---|---

  • | Connect button | Recognizes MicroPeckerX connected to the PC when clicked.
  • | Start button | Starts monitoring and transmits periodic preset frames every 0.5 seconds when clicked.
  • | Stop button | Stops monitoring and periodic preset frame transmission when clicked.
  • | Send Slot button | Sends the event-transmission preset frame when clicked.
  • | Change Data button | Changes data of the periodic preset frame (D1 only) to 00H when clicked.
  • | Send Direct button | Sends the direct-transmission preset frame when clicked. 1 | Log display area (*1) | Displays transmitted/received log information. Up to 1024 log entries are retained. When exceeded, older logs are cleared first.
    If monitoring is stopped and started again, all previous logs are cleared.

Log Display Details

Display format is as follows, and fields are comma-separated.

| Item | Description

:---:|---|--- 1 | (No item name) | Displays timestamp in sssss.mmmuuu format. 2 | Rx/Tx | Displays log direction.
Rx: received log, Tx: transmitted log 3 | ID | Displays CAN ID and ID format. CAN ID is shown in hexadecimal, and ID format is shown as below.
Std: standard ID, Ext: extended ID 4 | DLC | Displays data length (1 to 64). 5 | Data | Displays data (D1 to D64) in hexadecimal. Data is space-separated.

Preset Frames

The contents of each preset frame are as follows.

Frame TypeSlotProtocolIDDLData (Hex)
FormatCAN IDD1D2...D8...D64
Periodic preset frame (*1)1CAN FDStandard ID100H640001...07...3F
Event-transmission preset frame2CANStandard ID200H82021...27
Direct-transmission preset frame-CAN FDStandard ID300H83031...37

*1: Only D1 is incremented (+1) on each transmission.