05-11-2024 10:27 AM - edited 05-11-2024 10:47 AM
"Handling ACKs in LabVIEW for CAN Message Reception on sbRIO"
Hello everyone, I'm working on a project involving CAN communication between an sbRIO board and a DSP. I'm curious about how to handle ACKs in LabVIEW for CAN message reception on the sbRIO board. Is there any function or method in LabVIEW that allows me to verify if an ACK was received after receiving a CAN message on the sbRIO? Any help or suggestions would be greatly appreciated.
Thank you in advance for your time!
05-11-2024 11:52 AM
The ACK bit is controlled by the recipient node when it receives the message. If sbRIO receives a CAN message, it will send the ACK bit to the transmitter.
05-11-2024 11:58 AM
Thank you for your response. However, I was wondering if there is any specific function in LabVIEW that allows me to access ACK information after receiving a CAN message on the sbRIO board. Are you aware of any tools or methods in LabVIEW that I could use to achieve this? I really appreciate your help. Thank you
05-11-2024 03:52 PM
If you Read VI returns any messages, sbRIO has received the message and sent the ACK bit. If the ACK bit is not sent, Read VI returns nothing and timeouts.
05-13-2024 03:35 PM
I understand. However, my issue is that if I'm not sending anything, or nothing is being received, I'm getting an error stating that the queue is full or something similar. I don't understand why.
Thank you for your help!
05-13-2024 06:41 PM
My recommendation: