Hi,
Which kind of API are you working with, channel API or Frame API? The Channel API is favored by many because it provides access to the CAN network in simple physical units that are easy to use. Using this API, the NI-CAN software converts the raw data of the CAN messages to or from the physical units of each channel in the channel configuration. can you attach your VI or your configuration file to the discussion forum post for us to appreciate what you are attempting to do? Please note that NI-CAN V2.1.2 does not support mode dependent messages.
CAN frames are typically 8 byte packets where bytes can be for different modes for example voltage, temperature, value staus of valves etc. In mode dependent certain bits in the frame tell what sort of data the rest of the frame will contain like 'header'
Usually, customers are trying to import a .DBC file into MAX and receiving the error, "This file contains mode dependent messages. Mode dependent messages are not supported by NI-CAN 2.0".
NI-CAN 2.2 has support for mode dependent messages.
I hope this helps!
Kind Regards,
Kirtesh Mistry
Applications Engineer
National Instruments UK & Ireland.