Automotive and Embedded Networks

cancel
Showing results for 
Search instead for 
Did you mean: 

CAN PROBLEM

Solved!
Go to solution

Hi,

 

I`m trying to communicate my sbRIO 9636 with my PC via CAN and I have several problems. First of all, where can I find the CAN communication button to pull it to Labviews block diagram panel (picture1)? I only have AI (analog input) , AO, DI, DO... but not CAN. 

 

Then, I need to send and receive via CAN different signals (receive: 42 voltage signals, 12 temperature signals, send: 42 boolean signals). Does someone have some example or something similar to start? can anyone help me please? 

 

I`m new in Labview and I need to get this working!

 

Thanks

 

 

 

 

0 Kudos
Message 1 of 10
(6,136 Views)

http://digital.ni.com/public.nsf/allkb/159150F5DE5C20CF8625798F0014F5C2

 

Also based on the form of your question I highly recommend going through some of the LabVIEW training.  If this is your first LabVIEW project you are going to struggle for a long time, tackling a LabVIEW FPGA project comes with its own challenges.

 

NI Learning Center

NI Getting Started

-Hardware Basics

-MyRIO Project Essentials Guide (lots of good simple circuits with links to youtube demonstrations)

-LabVEW Basics

-DAQ Application Tutorials

-cRIO Developer's Guide

 

Learn NI Training Resource Videos

6 Hour LabVIEW Introduction
Self Paced training for students
Self Paced training beginner to advanced, SSP Required

1

0 Kudos
Message 2 of 10
(6,125 Views)

OK, thanks. So do you think its a driver problem?

0 Kudos
Message 3 of 10
(6,111 Views)

My problem is that I dont have accsess to CAN blocks that should be located here 'Functions Palette » Industrial Communications » Embedded CAN for RIO' 

 

I need those blocks but I dont have them in my function pallette:

 

Sin título.png

 

Labview example (I need those blocks):imagen.png

 

Im working with the evalution board sbRIO 9636. IS it a driver problem? I think that I have the correct ones installed.

 

Thanks

 

0 Kudos
Message 4 of 10
(6,105 Views)
Solution
Accepted by topic author Anderpru

If you are missing palette items you may want to either do a repair install of those toolkits, or maybe those weren't installed in the first place.  I've never used that hardware, or that palette so I'm not sure what software package installs those tools.

Message 5 of 10
(6,095 Views)

do you know where can I dowload that CAN pallette? Icnat find it

 

Thanks!

0 Kudos
Message 6 of 10
(6,069 Views)

NI-Embedded CAN for RIO is bundled with the NI Compact RIO driver.

 

Make certain that the VI you are editing is saved under the RIO target in the project. If the VI is saved under the windows host the palettes may not be available.

Jeff L
National Instruments
0 Kudos
Message 7 of 10
(6,055 Views)

Hi,

 

Thanks for your answer. The VI where Im working is on the RIO target. Unfortunatelly, CAN blocks are not included on the evaluation board instalation CDs that I bought. I contacted NI and they will find a solution, hopefully for free. 😉

 

Thanks!!

0 Kudos
Message 8 of 10
(6,039 Views)

@Anderpru wrote:

 

 I contacted NI and they will find a solution, hopefully for free. 😉


I would be extremely surprised if NI charged for this, they generally don't charge for driver level control of their hardware you already bought.  I'm sure it is as simple as installing the software that is needed.  Contacting NI will clear this up.

0 Kudos
Message 9 of 10
(6,033 Views)
Solution
Accepted by topic author Anderpru

Hi,

 

I have solved the problem. These drivers where missing http://www.ni.com/download/ni-rio-15.0/5363/en/ , not CAN drivers. If anyone have this problem, just install that drivers and you problem will be solved.

 

Thanks for your help.

 

 

0 Kudos
Message 10 of 10
(6,025 Views)