I was talking about a counter at the last byte of a message which keeps changing.
I examined the logged data. It seems to repeat in this order : (3,18,33,48)
The change seems to be at a rate of 100Hz.
I am thinking of replicating this by creating a new variable called "counter".
Then,create a Schedule Function to run it at 100 Hz.
The code within the Schedule Function may be :
if(counter<48)
{
Counter=counter+15;
}
else
{
counter=3.0
}
Will this be a correct way to tackle such a problem? Any comments will be welcome.