I tried various optimizations:
1. response caching to answer to 3D frame as fast as possible
2. 3C request and 3D answer moved into a C library to minimize latency (in case python can't reliably guarantee milliseconds latency)
3. all other frames are forwarded to python and processed there.
Current ...
Search found 7 matches
- Mon 1. Dec 2025, 18:04
- Forum: PLIN-USB
- Topic: Troubles using PLIN-USB (via PLinApi from python) as Slave
- Replies: 5
- Views: 31409
- Thu 27. Nov 2025, 16:13
- Forum: PLIN-USB
- Topic: Troubles using PLIN-USB (via PLinApi from python) as Slave
- Replies: 5
- Views: 31409
Re: Troubles using PLIN-USB (via PLinApi from python) as Slave
Thanks for the reply, but I'm still confused.
In my use case, the response depends on the 3C frame payload.
I.e. Master requests, in a burst:
RX ID: 3C Data: 02 03 22 00 04 FF FF FF CRC: D4
RX ID: 3C Data: 02 03 22 01 04 FF FF FF CRC: D3
RX ID: 3C Data: 02 03 22 03 04 FF FF FF CRC: D1
RX ID: 3C ...
In my use case, the response depends on the 3C frame payload.
I.e. Master requests, in a burst:
RX ID: 3C Data: 02 03 22 00 04 FF FF FF CRC: D4
RX ID: 3C Data: 02 03 22 01 04 FF FF FF CRC: D3
RX ID: 3C Data: 02 03 22 03 04 FF FF FF CRC: D1
RX ID: 3C ...
- Thu 27. Nov 2025, 11:24
- Forum: PLIN-USB
- Topic: Troubles using PLIN-USB (via PLinApi from python) as Slave
- Replies: 5
- Views: 31409
Troubles using PLIN-USB (via PLinApi from python) as Slave
Hi,we are developing a Windows application that aims to Simulate a LIN Pump.
The simulator acts as a Slave and must answer to requests from a Master board.
Master board requests multiple 0x3C packets with different SIDs and DIDs in a small amount of time (up to 10 requests per second)
Our suspect ...
The simulator acts as a Slave and must answer to requests from a Master board.
Master board requests multiple 0x3C packets with different SIDs and DIDs in a small amount of time (up to 10 requests per second)
Our suspect ...
- Thu 27. Nov 2025, 11:22
- Forum: PCAN-USB
- Topic: Troubles using PCAN-USB (via PLinApi from python) as Slave
- Replies: 1
- Views: 11218
Re: Troubles using PCAN-USB (via PLinApi from python) as Slave
sorry, wrong forum page. moving to PLIN-USB.
- Wed 26. Nov 2025, 16:43
- Forum: PCAN-USB
- Topic: Troubles using PCAN-USB (via PLinApi from python) as Slave
- Replies: 1
- Views: 11218
Troubles using PCAN-USB (via PLinApi from python) as Slave
Hi,we are developing a Windows application that aims to Simulate a LIN Pump.
The simulator acts as a Slave and must answer to requests from a Master board.
Master board requests multiple 0x3C packets with different SIDs and DIDs in a small amount of time (up to 10 requests per second)
Our suspect ...
The simulator acts as a Slave and must answer to requests from a Master board.
Master board requests multiple 0x3C packets with different SIDs and DIDs in a small amount of time (up to 10 requests per second)
Our suspect ...
- Thu 9. Oct 2025, 18:44
- Forum: PCAN-LIN
- Topic: PCAN-LIN configuration as a 'Gateway' to a Slave LIN Pump simulator running on PC
- Replies: 3
- Views: 23409
Re: PCAN-LIN configuration as a 'Gateway' to a Slave LIN Pump simulator running on PC
Some updates, maybe useful to others:
Wrong PID and Checksum => I was interpreting thing by the wrong protocol! It is not "transparent" LIN data, but lin message bytes wrapped into PCAN-LIN protocol described by https://www.peak-system.com/produktcd/Pdf/English/PCAN-LIN_ProtDef_eng.pdf ...
Wrong PID and Checksum => I was interpreting thing by the wrong protocol! It is not "transparent" LIN data, but lin message bytes wrapped into PCAN-LIN protocol described by https://www.peak-system.com/produktcd/Pdf/English/PCAN-LIN_ProtDef_eng.pdf ...
- Tue 7. Oct 2025, 18:09
- Forum: PCAN-LIN
- Topic: PCAN-LIN configuration as a 'Gateway' to a Slave LIN Pump simulator running on PC
- Replies: 3
- Views: 23409
PCAN-LIN configuration as a 'Gateway' to a Slave LIN Pump simulator running on PC
I recently bought a PCAN-LIN interface to communicate with a Master board.
I'm completely new to LIN
My target is to develop a LIN Slave Pump simulator running on PC (python 3.x).
I was expecting the adapter to be 'transparent' and be able to simply access the LIN bus reading/writing LIN frames on ...
I'm completely new to LIN
My target is to develop a LIN Slave Pump simulator running on PC (python 3.x).
I was expecting the adapter to be 'transparent' and be able to simply access the LIN bus reading/writing LIN frames on ...