Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Frame Channel Conversion: 2 Byte channel

5 views
Skip to first unread message

themad

unread,
Jul 29, 2008, 7:40:09 AM7/29/08
to
I want to perform a channel to frame conversion with the library.
In my dbc there is a message with three channels. One is 4 Bit long, one 1 Byte, one 2 Byte.
When using: Convert Channel To U8 Frame, the value for the 2 Byte channel is not being transformed into the frame array.
Is the conversion library not able to convert 2 Byte channels?
 
Thx in advance

DirkW

unread,
Jul 29, 2008, 10:10:10 AM7/29/08
to
The library doesn't support the rarely used motorola backwards format. This comes into game if you convert 16 bit values.
Otherwise it should work. Could you share your db file?
DirkW

themad

unread,
Jul 30, 2008, 2:40:05 AM7/30/08
to
Sry, can't post even a sample without permission, but my channel is in Motorola format.
Bit 8 ist lsb, then it goes up to 15, then 0 to 7 (Bit 7 is msb).
 
Do you know of any kind of workaround other than modifying my frame manually?
 

DirkW

unread,
Jul 30, 2008, 6:10:09 PM7/30/08
to
See the attached picture for the different byte formats. If your format is motorola backwards, we do not support it. Try to import it into Max>> Data Neighborhood>>CAN channels and then export it to .ncd format. Try this file. The MAX Import filter should convert it to Motorola forward.
DirkW


bit format.jpg:
http://forums.ni.com/attachments/ni/30/3657/1/bit format.jpg

0 new messages