Search found 1698 matches

by M.Maidhof
Wed 15. Jan 2025, 09:04
Forum: PLIN-API
Topic: Assistance Needed with PLIN Example 3 - GUI Signal Change
Replies: 5
Views: 1491

Re: Assistance Needed with PLIN Example 3 - GUI Signal Change

Hi,

to have a GUI you need to write an own application using our PLIN-API. There are examples and documetation available for the different compilers in the PLIN-API package:

https://www.peak-system.com/fileadmin/m ... in-api.zip

regards

Michael
by M.Maidhof
Tue 14. Jan 2025, 16:09
Forum: PLIN-API
Topic: Assistance Needed with PLIN Example 3 - GUI Signal Change
Replies: 5
Views: 1491

Re: Assistance Needed with PLIN Example 3 - GUI Signal Change

Hi, if you want to use a GUI based system, you have to write an application using the PLIN-API. Please see the PLIN-API Examples for more details. If you want to work with PLIN-View Pro, you could insert two publisher frames with your signal set to 0 and 1, and send the publisher data to the hardwar...
by M.Maidhof
Tue 14. Jan 2025, 09:55
Forum: PLIN-USB
Topic: Slave response with still-alive counter
Replies: 1
Views: 1527

Re: Slave response with still-alive counter

Hi,

there is no example available for that, but you can setup a slave node application with PLIN-API, and change the publisher data after you have received the last publisher frame with LIN_Read(). In that case each successful read will be the trigger to increase your counter.

regards

Michael
by M.Maidhof
Mon 13. Jan 2025, 12:49
Forum: PLIN-API
Topic: Error when PLIN_API_example
Replies: 2
Views: 244

Re: Error when PLIN_API_example

Hi,

which PLIN hardware do you use? Does PLIN-View Pro work on your system correctly?

regards

Michael
by M.Maidhof
Mon 13. Jan 2025, 12:45
Forum: PLIN-API
Topic: Assistance Needed with PLIN Example 3 - GUI Signal Change
Replies: 5
Views: 1491

Re: Assistance Needed with PLIN Example 3 - GUI Signal Change

Hi,

do you want to use the PLIN-View Pro application, or do you want to build an own application using the PLIN-API?

regards

Michael
by M.Maidhof
Mon 13. Jan 2025, 12:41
Forum: PCAN-Basic
Topic: PCANBASIC MODULE ERROR
Replies: 1
Views: 148

Re: PCANBASIC MODULE ERROR

Hi,

please install our latest driver package, which will also install the PCANBasic API files.

https://www.peak-system.com/quick/DrvSetup

regards

Michael
by M.Maidhof
Tue 17. Dec 2024, 13:55
Forum: PCAN-USB X6
Topic: Busload discrepancies
Replies: 2
Views: 826

Re: Busload discrepancies

Hello, the PCAN FD hardware calculates the busload in an internal interval of (clock freq/prescaler)*8 and each 4095 intervalls a busload frame is generated. To get the best precision, you have to use each busload frame and build an average over all. If you only poll the busload, you may miss some b...
by M.Maidhof
Tue 17. Dec 2024, 12:00
Forum: PCAN-Basic
Topic: 80h: TX | Stuff Error
Replies: 4
Views: 744

Re: 80h: TX | Stuff Error

Hi,

simply use a 1ms sleep, to be sure the frame could be sent on a 500k bus (empty CAN, no arbitration losses!).

How about termination of your cables? A stuff error is mostly a termination issue....

regards

Michael
by M.Maidhof
Tue 17. Dec 2024, 11:22
Forum: PCAN-Basic
Topic: 80h: TX | Stuff Error
Replies: 4
Views: 744

Re: 80h: TX | Stuff Error

Hi,

please check that you use termination resistors on both ends of your CAN cable. A small sleep between write and CAN_Unitialize() could also help, maybe you close the channel before the frame was fully written to the bus.

regards

Michael