How to repeatedly send 4 different data in sequence
How to repeatedly send 4 different data in sequence
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. …
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. …
Re: How to repeatedly send 4 different data in sequence
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
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
Re: How to repeatedly send 4 different data in sequence
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.
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.
Re: How to repeatedly send 4 different data in sequence
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
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
-
- Posts: 4
- Joined: Mon 24. Mar 2025, 12:36
Re: How to repeatedly send 4 different data in sequence
Hello Riedl,
you mentioned the lin SLAVE can only publish the data. So can we set the configuration in such a way only when there is a request from LIN master to send the data , the LIN Slave can publish.. without we manually triggering to send the data..
Regards
Kiran
you mentioned the lin SLAVE can only publish the data. So can we set the configuration in such a way only when there is a request from LIN master to send the data , the LIN Slave can publish.. without we manually triggering to send the data..
Regards
Kiran
Re: How to repeatedly send 4 different data in sequence
Hello Kiran,
The most recently updated data is automatically published by the slave when the master requests it with the corresponding subscriber frame.
How the data is updated is up to you.
As mentioned before, there are two different methods in PLIN-View Pro.
For further information, see the software documentation and the following chapters:
Regards
M.Riedl
The most recently updated data is automatically published by the slave when the master requests it with the corresponding subscriber frame.
How the data is updated is up to you.
As mentioned before, there are two different methods in PLIN-View Pro.
For further information, see the software documentation and the following chapters:
- Program Features -> Transmitting LIN Frames
- VBScript Support -> Essentials and Initialization and the PublishData and ReadData functions
Regards
M.Riedl