Restrictions
This page describes restrictions when developing applications with this product and when using applications developed with it.
Maximum Number of Recognizable MicroPeckerX Units
Applications developed with this product can recognize up to 4 MicroPeckerX units.
You cannot arbitrarily select which MicroPeckerX units are recognized.
Reserved Areas in Structures
This product uses 4-byte alignment. Therefore, some structures include reserved members for alignment adjustment.
If you write to those structures, reserved member values are ignored. If you read them, reserved member values are undefined.
Log Information Acquisition
Send/receive log information is stored in a StMPXLog structure (log information) buffer allocated inside the DLL.
The structure buffer size is 1 MB per CH.
Log information can be acquired with the following APIs.
| API | Function | Notes |
|---|---|---|
| MPXGetLog | Acquires log information (send/receive data) during monitoring from the StMPXLog structure (log information) buffer allocated inside the DLL. | The caller does not need to prepare a structure array for storing the acquired log information. |
| MPXCANGetLogEx | Acquires log information (send/receive data) during monitoring into a caller-prepared array of StMPXCANLog structures (CAN log information). | The caller must prepare a structure array for storing the acquired log information. |
| MPXLINGetLogEx | Acquires log information (send/receive data) during monitoring into a caller-prepared array of StMPXLINLog structures (LIN log information). | The caller must prepare a structure array for storing the acquired log information. |
If there is no area available for storing log information in the buffer, a buffer overrun occurs and log information that could not be stored is lost. Periodically call APIs such as MPXGetLog before a buffer overrun occurs to acquire log information.
However, if there is no need to acquire or analyze log information, such as when the operation mode is set to simulation mode and only transmission is performed, a buffer overrun does not affect transmission processing.
Setting Parameters in StMPXCANSlot (Slot Information)
Meanings of SendDelay, SendOffset, SendCycle, and MinTransInterval in StMPXCANSlot are as follows.
| Member Name | Effect | Related Operation Mode |
|---|---|---|
| SendDelay | After trigger condition set by MPXSetLogReplayTrigger or MPXChangeSlot is satisfied, first frame is transmitted after SendDelay. | Simulation mode |
| SendOffset | After monitoring starts, first frame is transmitted after SendOffset. | Simulation mode |
| SendCycle | Next frame is transmitted after SendCycle has elapsed since previous frame transmission. | Simulation mode |
| MinTransInterval | Next frame is not transmitted until MinTransInterval has elapsed since previous frame transmission. | Simulation mode |
Application Development with Microsoft Visual Basic .NET
When using Microsoft Visual Basic .NET as development environment, some APIs are unavailable.
Target APIs and effects are as follows.
| API | Effect |
|---|---|
| MPXGetLog | Use MPXCANGetLogEx or MPXLINGetLogEx to acquire logs. |