LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write analogue channel to CAN bus

I have a cDAQ with a number of analogue and digital I/O modules installed. What I would like to do is take some of the analogue inputs and transmit them onto a CAN bus using the NI 9862 module. I know the basics of how to read the analogue data but I'm not sure how to get this onto the CAN bus, does anyone have a sugested starting point?

 

Thanks,

 

Richard

 

0 Kudos
Message 1 of 2
(2,153 Views)

Hi Richard,

 

as you use the 9862 on a cDAQ you should have XNET driver installed. This driver comes with a lot of example VIs. Start by studying them!

 

You need to define a CAN message containing your "analog" signal. Then you send that message using XNET write message function…

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 2
(2,148 Views)