Quantcast
Channel: Instrument Control (GPIB, Serial, VISA, IVI) topics
Viewing all articles
Browse latest Browse all 5565

Basic CAN Bus Example

$
0
0

Hi everyone,

I have questions about CAN Bus. It is the only communication bus that I did not use in LabVIEW. So I do not know fundamentals of CAN in LabVIEW.

 

To understand similarity, I will attach a VI that I wrote in LabVIEW to communicate with a device without any NI Hardwares with RS232 cable. This VI works. There is no problem.

 

But as I said, I have no experience with CAN Bus. I created a CAN VI which is similar to the RS232 VI. But in RS232 VI, the data packet came in hex (string) format since I used VISA functions.

 

In CAN VI, I have specification of device. I know numeric representations of variables. But I guess I can not use VISA functions. So the hex packet will come in string or not??

 

Please just make a basic CAN example that is similar to the RS232 VI I attached. In this way, I will be able to imagine what happen.

 

Thanks


Viewing all articles
Browse latest Browse all 5565

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>