Go to Post The practical experience that students learn by working with the mentors on a real life problem -- with real life constraints -- helps produce people who are good at those professions. - MechEng83 [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, 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
  #2   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
  #3   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
  #4   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