Skip to main content
Version: 4.00

LIN Slave Simulation Sequence

In the flow below, solid-line boxes indicate required processing and dashed-line boxes indicate optional processing. ☆ means call multiple times depending on the number of MicroPeckerX units, and ★ means call multiple times depending on the total number of channels in use.

Sequence Table​

#APIProcessDescription
1MPXOpenRecognize MicroPeckerX unitsConnect all target MicroPeckerX units to the PC, then call this API.
2MPXLINSetParamSet communication parametersCall this API for each channel in use. Parameters can be configured independently per channel.
3MPXSetGetLogModeSet log acquisition modeCall this API per channel. Mode can be set independently per channel.
Channels where this API is not called operate in log acquisition API mode.
4MPXLINSetSlaveSimConfigure slave simulationConfigure slave simulation settings.
5MPXMonitorStartStart monitoringCall this API for each MicroPeckerX unit in use.
For synchronized operation, start all slave-mode units first, then the master-mode unit.
6MPXGetLog
or
MPXLINGetLogEx
Acquire log informationPeriodically call this API for each CH to acquire log information.
If log information is not acquired for an extended period, a buffer overrun occurs, but operation itself is not affected.
7MPXLINSetSlaveItem
or
MPXLINChangeSlaveItem
or
MPXLINSlaveWakeup
Enable/disable item-level slave simulation settings / change item-level slave simulation settings / send wakeup pulseChange slave simulation settings and send wakeup pulses as needed.
8MPXMonitorStopStop monitoringCall this API for each unit when stopping monitoring.
For multiple units, stop master-mode unit first, then slave-mode units sequentially.
9MPXCloseRelease MicroPeckerX recognitionCall once to release recognized units.
To start monitoring again while keeping recognition, restart from #2.