Assistance Needed with PLIN Example 3 - GUI Signal Change

The free LIN software API (Application Programming Interface) for Windows® (only for usage with the PCAN-USB Pro CAN/LIN interface)
Post Reply
gagan.k
Posts: 7
Joined: Mon 30. Dec 2024, 09:17

Assistance Needed with PLIN Example 3 - GUI Signal Change

Post by gagan.k » Mon 6. Jan 2025, 07:31

Hello,
I'm currently working on a project involving PLIN View Pro, and I'm trying to integrate a "Heating On" command into the GUI. My goal is to change the HV_Htr_On_Rq signal from 0 to 1 in the COMMAND_HVH frame through the GUI in the PLIN example 3.

Here's a brief overview of what I've done so far:
Added a "Heating On" radio button to the GUI.

Could you provide guidance on how to properly send the command to PLIN View Pro to change the HV_Htr_On_Rq signal in the COMMAND_HVH frame? Any tips or examples would be greatly appreciated!

Best regards,
Gagan K

M.Maidhof
Support
Support
Posts: 1701
Joined: Wed 22. Sep 2010, 14:00

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

Post by M.Maidhof » Mon 13. Jan 2025, 12:45

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

gagan.k
Posts: 7
Joined: Mon 30. Dec 2024, 09:17

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

Post by gagan.k » Tue 14. Jan 2025, 14:18

Hello
I am using PLIN View Pro application, I wanted to develop a small GUI to change the signal value in the Publisher and trigger it.

Need your assistance in this project.
Regards,
Gagan K

M.Maidhof
Support
Support
Posts: 1701
Joined: Wed 22. Sep 2010, 14:00

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

Post by M.Maidhof » Tue 14. Jan 2025, 16:09

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 hardware by hitting the space bar on your keyboard after selecting the defined frame for 0 and 1.

regards

Michael

gagan.k
Posts: 7
Joined: Mon 30. Dec 2024, 09:17

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

Post by gagan.k » Wed 15. Jan 2025, 06:49

Hello,
The above steps you mentioned is working fine and I am able to make the changes manually, but I want to develop an GUI for PLIN View Pro to change the signal value through GUI.
How can I develop?

Regards,
Gagan

M.Maidhof
Support
Support
Posts: 1701
Joined: Wed 22. Sep 2010, 14:00

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

Post by M.Maidhof » Wed 15. Jan 2025, 09:04

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

Post Reply