From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN frame to channel conversion

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.block diagramblock diagram

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0 Kudos
Message 1 of 1
(1,960 Views)