Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

Frame Channel Conversion Library: Write

In LabView I use "Add selected channels from file" and use my .dbc
 
In a CAN message I have more than one channel.
I now want to write to the first channel in the message. This does not work.
The "Convert Channel to Frame" always creates a data frame that fits the last channel in the message. Well, there is no way to wire "Channel" to the vi.
 
Is this correct and is there a workaround?
 
0 Kudos
Message 1 of 4
(6,961 Views)

could you provide a database file containing this message and all the channels for that message?

DirkW

Message 2 of 4
(6,929 Views)

I've worked it out.

The key was to not just send a single value but an array of data fitting the channel/message order.

Thx anyway.

 

0 Kudos
Message 3 of 4
(6,924 Views)

one single frame has 0-8 byte of data (Data byte). In Data byte field we logically allocate more channels.

Using frame API is it possible to write one single channel? I don't want to write all data field only a single channel.

 

Thanks!

Paolo.

0 Kudos
Message 4 of 4
(6,736 Views)