Go to Post I don't think 330 should have built 330's 2016 robot - Joe Ross [more]
Home
Go Back   Chief Delphi > Technical > Programming > NI LabVIEW
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
Reply
 
Thread Tools Rate Thread Display Modes
  #1   Spotlight this post!  
Unread 15-02-2012, 09:01
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 137
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
Re: Can't get CAN status

If you post your code, we can take a look at it.
__________________
Doug Norman
National Instruments
Reply With Quote
  #2   Spotlight this post!  
Unread 15-02-2012, 10:11
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is offline
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,708
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Can't get CAN status

What kind of feedback are you looking for that you're not getting?
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter
Reply With Quote
  #3   Spotlight this post!  
Unread 15-02-2012, 19:02
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Can't get CAN status

Here are the pictures of Begin and periodic tasks
Attached Thumbnails
Click image for larger version

Name:	begin.png
Views:	20
Size:	9.0 KB
ID:	11918  Click image for larger version

Name:	periodic.png
Views:	21
Size:	39.8 KB
ID:	11919  
Reply With Quote
  #4   Spotlight this post!  
Unread 16-02-2012, 09:23
Doug Norman's Avatar
Doug Norman Doug Norman is offline
Registered User
no team (National Instruments)
Team Role: Engineer
 
Join Date: Jan 2010
Rookie Year: 2009
Location: Austin, TX
Posts: 137
Doug Norman will become famous soon enoughDoug Norman will become famous soon enough
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.
__________________
Doug Norman
National Instruments
Reply With Quote
  #5   Spotlight this post!  
Unread 16-02-2012, 12:37
juchong's Avatar
juchong juchong is offline
Electrical Engineer
AKA: Juan Chong
FRC #2655 (Flying Platypi)
Team Role: Engineer
 
Join Date: Aug 2008
Rookie Year: 2008
Location: Greensboro, NC
Posts: 107
juchong is a jewel in the roughjuchong is a jewel in the roughjuchong is a jewel in the rough
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.
__________________
Teams I've worked with:My Website: http://www.juanjchong.com/
What I do: Analog Devices iSensor Product Engineer
Reply With Quote
  #6   Spotlight this post!  
Unread 17-02-2012, 11:20
kuh-nig-its-EL's Avatar
kuh-nig-its-EL kuh-nig-its-EL is offline
Registered User
FRC #1939
 
Join Date: Jan 2011
Location: US
Posts: 26
kuh-nig-its-EL is on a distinguished road
Re: Can't get CAN status

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.
Attached Files
File Type: vi Begin.vi (44.4 KB, 4 views)
File Type: vi Periodic Tasks.vi (34.3 KB, 2 views)
Reply With Quote
Reply


Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 22:12.

The Chief Delphi Forums are sponsored by Innovation First International, Inc.


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