-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Buffersize & others #25
Comments
Could you post more info what you sending and what you are using to receive the data. Maybe a small sample / screenshots of your findings. Depending of the function block you need to create a rising edge on to process the data. This information is already at the function block interface in the .fun file. |
Type of Struct: |
Also, in the example is used .NewDataValid. |
Also can you send me a working example code with RegPar functions. I do not get it working. |
Hi, I have no issues with the test project from the repo. Please check the samples and see what you can take from there. Hope you find the necessary information within the demo. |
Thanks for the response. What I read in you answer: |
Hello @stefanlk, I don't really understand your comment about
Each string has to be \0 (zero terminated) at the end no matter where you use it. The output "NewDataValid" is used to signal, that for the subscribed topic a message can be read from the buffer. When this signal is TRUE, you can retrieve a message using the "Read" input. After the message is copied to the provided buffer, the signal "MessageRetrieved" is set to TRUE. Resetting the "Read" input will reset the signal "MessageRetrieved". Please let me know if there is anything else we can help with. |
we just found out, when publishing data and subscribed on other system, there is one byte less received than in buffer size.
also there has to toggel the Read and Send flags. There is nothing in Readme?
Stefan
The text was updated successfully, but these errors were encountered: