Search found 3 matches

by andy_tengam.com
Fri 2. Aug 2024, 17:30
Forum: PLIN-API
Topic: Different connection results: PLIN-View PRO vs. PLIN_API_Console.py
Replies: 4
Views: 3063

Re: Different connection results: PLIN-View PRO vs. PLIN_API_Console.py

Also added these lines

Code: Select all

 if i == 0x0a : 
                lFrameEntry.Direction = PLinApi.TLIN_DIRECTION_PUBLISHER
                lFrameEntry.ChecksumType = PLinApi.TLIN_CHECKSUMTYPE_CLASSIC
         
by andy_tengam.com
Fri 2. Aug 2024, 16:11
Forum: PLIN-API
Topic: Different connection results: PLIN-View PRO vs. PLIN_API_Console.py
Replies: 4
Views: 3063

Re: Different connection results: PLIN-View PRO vs. PLIN_API_Console.py

Michael

No. I am ignorant, a very new LIN student, and did not. I see I need to change the code in the API_Console.py here, code lines 233-239:


# length values is set to LIN 1.2.
if ((i >= 0x00) and (i <= 0x1F)):
lFrameEntry.Length = c_ubyte(2)
elif ((i >= 0x20) and (i <= 0x2F ...
by andy_tengam.com
Thu 1. Aug 2024, 16:38
Forum: PLIN-API
Topic: Different connection results: PLIN-View PRO vs. PLIN_API_Console.py
Replies: 4
Views: 3063

Different connection results: PLIN-View PRO vs. PLIN_API_Console.py

Hardware:
PLIN-USB, PC

Software:
PEAK software downloaded within past week. PLIN_API_Console.py is internally dated 09.11.2015
Python 3.10, Win10

Goal:
Control several PLIN-BUS in production setting to test functionality of manufactured pump product at various stages of build. Using Python with ...