I'm new to this forum so the question might be trivial, but...
I've a message which consist of three signals:
I'm using this vi to send the data over.
It works with in while loop.
However, along with the data signal - which value of can send on demand (explicit call) - I have to send the checksum signal and counter signal EVERY frame sent (implicit calls) out from XNET.
How I can do it? How I can tell to XNET: every signal frame sent has to increment the counter in particular way?
Solved! Go to Solution.
If you need to send custom frame bytes (such as checksum), and it is not defined as a signal in your database, you will need to explicitly send the frame with the checksum computed in your code. There is no inherent XNET functionality for doing this as youve described.
You can do this with XNet but it takes some trickery. I've posted a blog post on the subject and describe how to do this with some XNet examples.
Basically you can define the payload for each frame that will be sent out on a hardware timer. So you queue up a bunch of frames to be sent out, and then when the queue is getting empty, queue up a bunch more. There is also a lesser known (not fully supported) method I'm working on packaging up but isn't quite ready.