05-29-2008 05:36 AM
This doesn't seem to work as each access to specific channels seems to clear the other channels to zero rather than masking them out and preserving the data.
Is this how it is supposed to work or am I missing something?
05-29-2008 03:05 PM
If I understand this correctly, you must have three different messages with 5 different channels?
And with your third message if you change the values for your three channels, two of your channels become reset to zero if you change a third channel?
Normaly if you have three channels in one message and you change only one channel value, the other two channels should still have the last value transmitted.
So i guess there is a problem with your coding. Could you post your code, thus i could have a look?
DirkW
05-30-2008 03:06 AM
05-30-2008 09:16 AM
If you use the same message in a second task, the driver writes the channel default value for all uninitialized channels of this message.
In your case you have to use a single task, to write all channels with one write operation. See the attached simplified example.
DirkW