How to repeatedly send 4 different data in sequence

Windows® Compatible Software for Displaying LIN Messages
Post Reply
A.Suzuki
Posts: 2
Joined: Sun 25. Aug 2024, 06:27

How to repeatedly send 4 different data in sequence

Post by A.Suzuki » Sun 25. Aug 2024, 06:41

We are using PLIN View Pro Version 3.2.0.174.
We are using PLIN View Pro as a slave node, and when Frame ID 0x17 is sent from the master node, we want to repeatedly send the following 4 data in sequence.
If it is possible to achieve this with PLIN View Pro, please let us know how.

1. ID=0x17 : Data={ 0x10, 0x11, 0x00, 0x00 }
2. ID=0x17 : Data={ 0x11, 0x22, 0x00, 0x00 }
3. ID=0x17 : Data={ 0x12, 0x33, 0x00, 0x00 }
4. ID=0x17 : Data={ 0x13, 0x44, 0x00, 0x00 }
5. ID=0x17 : Data={ 0x10, 0x11, 0x00, 0x00 } *Same as 1.
6. Same as 2.
7. …

User avatar
M.Riedl
Software Development
Software Development
Posts: 32
Joined: Wed 22. Sep 2010, 13:28

Re: How to repeatedly send 4 different data in sequence

Post by M.Riedl » Mon 26. Aug 2024, 13:35

Hello,

There are two possibilities for this.

1. Write a Before Publish script for the frame in the Publish list.
This way you can control the data before sending, but not the timing. You have to trigger each send manually.
For further information, see the software documentation and the Automation chapter, especially Use in Publisher Frames.

2. Use the VBScript support to write a small script that controls the publish data and the timing.
For further information, see the software documentation and the VBScript Support chapter and the PublishData function.

Regards
M.Riedl

A.Suzuki
Posts: 2
Joined: Sun 25. Aug 2024, 06:27

Re: How to repeatedly send 4 different data in sequence

Post by A.Suzuki » Tue 27. Aug 2024, 10:31

Thank you for your response.

I was able to execute it using method 1. This method requires manual operation for the sending trigger, but is it possible to automate the sending in PLIN-View Pro?

I would like to know how to automate sending in PLIN-View Pro.

User avatar
M.Riedl
Software Development
Software Development
Posts: 32
Joined: Wed 22. Sep 2010, 13:28

Re: How to repeatedly send 4 different data in sequence

Post by M.Riedl » Tue 27. Aug 2024, 17:05

Hello,

As I wrote in method 1, sending cannot be automated, also because the software is connected as a LIN slave.
Only the LIN master can send data automatically with a scheduler and the LIN slave can only publish data.
For further information, please refer to the software documentation and the chapter Program Features -> Transmitting LIN Frames.

If you want to automate the sending respectively publishing data as a LIN Slave, you must write it with VBScript (method 2).
For further information, see the software documentation and the chapter VBScript Support -> Essentials and Initialization and the function PublishData.

Regards
M.Riedl

Post Reply