Hello,
I'm trying to create an application sending LIN frames (master mode) and using schedules (using KDI LabVIEW API), but I can't get it working. Is is possible to change the payload of the LIN frames while the schedule is running?
Thanks, best regards.
LIN scheduled frames change
Re: LIN scheduled frames change
Hello,
The following is described to use with our PLIN API.
If connected as LIN master and a scheduler is running you have to change the LIN frame data
by using the PLIN API function LIN_UpdateByteArray instead of LIN_Write.
Regards
M.Riedl
The following is described to use with our PLIN API.
If connected as LIN master and a scheduler is running you have to change the LIN frame data
by using the PLIN API function LIN_UpdateByteArray instead of LIN_Write.
Regards
M.Riedl
Re: LIN scheduled frames change
Hello,
That's what I've tried. I use the KDI Labview API and don't know if I have to configure the schedule in any particular way previously. The message is properly timed, but I can't chage it from default value (all payload 0x00).

Thanks, best regards.
That's what I've tried. I use the KDI Labview API and don't know if I have to configure the schedule in any particular way previously. The message is properly timed, but I can't chage it from default value (all payload 0x00).

Thanks, best regards.
Re: LIN scheduled frames change
Hello,
please take into consideration that only publisher frames can get its data updated using the function LIN_UpdateByteArray. If you are trying to update the data of another frame type, this will not work.
If your frames are publisher, then it may be a problem within the KDI driver. For questions and further information, please contact Mr. Kunze: support[at]digiinst.de.
please take into consideration that only publisher frames can get its data updated using the function LIN_UpdateByteArray. If you are trying to update the data of another frame type, this will not work.
If your frames are publisher, then it may be a problem within the KDI driver. For questions and further information, please contact Mr. Kunze: support[at]digiinst.de.
Best regards,
Keneth
Keneth
Re: LIN scheduled frames change
Hello,
Thanks, that was the problem... I was testing the different options but made a mistake with the frame I was using and that was hidding the main error.
Thanks, best regards.
Thanks, that was the problem... I was testing the different options but made a mistake with the frame I was using and that was hidding the main error.
Thanks, best regards.
-
- Posts: 1
- Joined: Wed 24. Apr 2019, 09:13
Re: LIN schedule frames isn't working
Hi, I'm having troubles trying to send two LIN frames enlisted in the same pSchedule cluster.
For any reason it only works by using two pSchedule clusters and alternating between them. but it’s not the right way to do it.
Do you have any clue why this, isn't working?Re: LIN scheduled frames change
Hello,
For questions and further information about the use of the KDI, please contact Mr. Kunze: support[at]digiinst.de.
For questions and further information about the use of the KDI, please contact Mr. Kunze: support[at]digiinst.de.
Best regards,
Keneth
Keneth