Chief Delphi

Chief Delphi (http://www.chiefdelphi.com/forums/index.php)
-   NI LabVIEW (http://www.chiefdelphi.com/forums/forumdisplay.php?f=182)
-   -   Can't get CAN status (http://www.chiefdelphi.com/forums/showthread.php?t=102648)

kuh-nig-its-EL 12-02-2012 16:23

Can't get CAN status
 
This problem has been posted in the CAN forum already but because this is primarily a programming problem and this problem has yet to be solved I have decided to bring it to the attention of the programmers of the wonderful world of LabVIEW. In my team's attempts to use CAN for the first time we have run into a problem. For some mysterious reason we are not able get the status from the jag. We have all the same components as the example for CAN, the speed controller version, implemented into robot code. From what I have read this problem has occurred with other teams this season but I am yet to find a thread with a solution. Any help would be appreciated.

-Ethan Lopez

Doug Norman 15-02-2012 09:01

Re: Can't get CAN status
 
If you post your code, we can take a look at it.

Kevin Sevcik 15-02-2012 10:11

Re: Can't get CAN status
 
What kind of feedback are you looking for that you're not getting?

kuh-nig-its-EL 15-02-2012 19:02

Re: Can't get CAN status
 
2 Attachment(s)
Here are the pictures of Begin and periodic tasks

Doug Norman 16-02-2012 09:23

Re: Can't get CAN status
 
I don't notice anything wrong with your code pictures. Does the example you took this code from work for you? You should make sure it does before you merge it into your robot code. If the example works, then post your actual code (not pictures) so we can try it.

juchong 16-02-2012 12:37

Re: Can't get CAN status
 
If you're using the encoders included in the KOP, try changing your encoder type from "Quad Encoder" to "Encoder". Also, double-check your encoder connections to the Jag.

You might consider getting an example working before trying this in a robot project.

kuh-nig-its-EL 17-02-2012 11:20

Re: Can't get CAN status
 
2 Attachment(s)
The example code worked fine and the software designed to work the CAN worked as well. Here is the code itself, just periodic and begin.


All times are GMT -5. The time now is 11:23.

Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
Copyright © Chief Delphi