Go to Post Iteration is something everyone can do. - [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

 
 
 
Thread Tools Rate Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 13-01-2012, 12:24
eat4fun's Avatar
eat4fun eat4fun is offline
sudoer
AKA: Eric Bryce
FRC #1325 (Inverse Paradox)
Team Role: Leadership
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Mississauga, Canada
Posts: 9
eat4fun is an unknown quantity at this point
Jags not taking data

Hey guys,

We’re having trouble with our CompactRIO; specifically, Jaguars are not responsive to data from the driver station. I wrote a piece of LabVIEW code to run the Jaguars either using joystick inputs or using a numerical constant (0.5). However, upon deploying this code to the cRIO, there was no indication that the code was running.

To ensure that the code was in fact running, I wrote a bit of LabVIEW code to set the value of the Jag to 0.5, and then to get the value of the speed controller and compare it to the input. I observed that while the value of 0.5 was being sent to the Jag, I was not getting the same value when I get the output of the speed controller. This leads me to believe that it is a programming error.

I have attached printscreens of the code I am using. It is not changed at all from the default code except for the actual motor code. I have also checked with different Jaguars, breakout boards, and sidecars to no avail. I have also probed the PWM ports manually with a multimeter (can't afford an oscilloscope), it does not read any significant signal on either the power, ground, or signal cables.

Thanks,
Eric

Last edited by eat4fun : 16-02-2013 at 18:33.
Reply With Quote
 


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 09:26.

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