09-21-2018 06:22 AM
Hi,
I am trying to convert frame to channel.
created .ncd file and it has multiplexer in it.
I am suing NI CAN 8473 so I have installed XNET NI CAN compatibility utility for that.
I am going receive tow messages from the same message ID but having different message information in it.
So I created two mode in it.
I created ncd file from max and loaded that in VI
then I followed steps
1) Create message table(channel API)
2)Add selected channels from file(channel API)
3)get channels(channel API)
4) CAN config & CAN RX (Frame API)
5)Frame to API conversion (channel API)
I want to read only one channel from the received CAN frames. I also given such input (only one channel inarray ) to the add selected channels from file.vi.
the problem is it is giving me the channel in output at scaled data.
Attching code and ncd file .
kindly help if any one knows about it.