Go to Post All hail the amazing duct tape and the mighty zip-tie!!! :] - Gabe [more]
Home
Go Back   Chief Delphi > FIRST > General Forum
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 24-01-2010, 21:41
Technic-R-C Technic-R-C is offline
Registered User
FRC #2358
 
Join Date: Dec 2008
Location: Chicago
Posts: 21
Technic-R-C is an unknown quantity at this point
Labview Programming Help

Hey,

I have a question for you guys.

When I load labview and attempt to run the sample 2010 Breakaway FRC template code (with a bit of modifitactions - added compressor VI and Relay VI's in the teleop code) the code does NOT enter execute mode (stays in init mode). I tried to counter this my making the teleop case structure set to execute through a constant but that gave out errors...) When I build the project and deploy/run as startup and then switch to driver station mode the code does not work...

Quick Clarification: I can't seem to find the experimental framework.. did they remove it?

When I try to run regular sample VI's the code seems to be running (using lightbulb debug) but the cRIO does not respond to the commands... I am really frustrated and would appreciate your guys input.

I have formatted the cRIO but I think I might as well do it again. I don't have the camera connected while running the code so this might be causing the teleop mode "init" hangup

Thank you and best regards,

Technic-R-C

Last edited by Technic-R-C : 24-01-2010 at 22:28.
Reply With Quote
  #2   Spotlight this post!  
Unread 24-01-2010, 22:13
Joe Ross's Avatar Unsung FIRST Hero
Joe Ross Joe Ross is offline
Registered User
FRC #0330 (Beachbots)
Team Role: Engineer
 
Join Date: Jun 2001
Rookie Year: 1997
Location: Los Angeles, CA
Posts: 8,581
Joe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond reputeJoe Ross has a reputation beyond repute
Re: Labview Programming Help

Are you clicking the enable button on the driver station?
Reply With Quote
  #3   Spotlight this post!  
Unread 24-01-2010, 22:27
Technic-R-C Technic-R-C is offline
Registered User
FRC #2358
 
Join Date: Dec 2008
Location: Chicago
Posts: 21
Technic-R-C is an unknown quantity at this point
Re: Labview Programming Help

Yes
Reply With Quote
  #4   Spotlight this post!  
Unread 24-01-2010, 22:32
Mark McLeod's Avatar
Mark McLeod Mark McLeod is online now
Just Itinerant
AKA: Hey dad...Father...MARK
FRC #0358 (Robotic Eagles)
Team Role: Engineer
 
Join Date: Mar 2003
Rookie Year: 2002
Location: Hauppauge, Long Island, NY
Posts: 8,844
Mark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond reputeMark McLeod has a reputation beyond repute
Re: Labview Programming Help

Try running a new copy of the default code just to see if it works without any changes.
That baseline will tell us if it's an operator error or coding error.

Are the statuses on the Driver Station and the RSL on the Digital Sidecar okay?

P.S. The experimental framework was removed with LabVIEW Update 2.0
__________________
"Rationality is our distinguishing characteristic - it's what sets us apart from the beasts." - Aristotle

Last edited by Mark McLeod : 24-01-2010 at 22:36.
Reply With Quote
  #5   Spotlight this post!  
Unread 24-01-2010, 22:52
Technic-R-C Technic-R-C is offline
Registered User
FRC #2358
 
Join Date: Dec 2008
Location: Chicago
Posts: 21
Technic-R-C is an unknown quantity at this point
Re: Labview Programming Help

Quote:
Originally Posted by Mark McLeod View Post
Try running a new copy of the default code just to see if it works without any changes.
That baseline will tell us if it's an operator error or coding error.

Are the statuses on the Driver Station and the RSL on the Digital Sidecar okay?

P.S. The experimental framework was removed with LabVIEW Update 2.0
Ok I will try that out tomorrow. The statuses on the Driver Station were good (3 green LED indicators) and the digital sidecar seemed fine..

Thats what I thought when it came to the experimental framework.. oh well.

Thank you, I'll get back to you tomorrow

Technic-R-C
Reply With Quote
  #6   Spotlight this post!  
Unread 25-01-2010, 23:39
Technic-R-C Technic-R-C is offline
Registered User
FRC #2358
 
Join Date: Dec 2008
Location: Chicago
Posts: 21
Technic-R-C is an unknown quantity at this point
Re: Labview Programming Help

Update:
The cRIO was reimaged (again.....) with V19 image and then an attempt was made to run sample code (again...) (the joystick sample code to be exact) No matter what USB setting we tried it did not work (tried two labtops). Afterwards I attempted to run a clean untouched 2010 FRC project. When built, ran as startup, and set to enable teleop in driver station mode, the camera image did not come up and when we moved the joystick the PWM values took extremely long to update on the dashboard. (1 second delays) I am out of ideas to what the problem could be.

Later the cRIO was imaged with JAVA and the code worked flawlessly. However I would like to know why LabView is not working. Any ideas?

Thank you

Regards

Technic-R-C
Reply With Quote
  #7   Spotlight this post!  
Unread 26-01-2010, 09:54
Greg McKaskle Greg McKaskle is offline
Registered User
FRC #2468 (Team NI & Appreciate)
 
Join Date: Apr 2008
Rookie Year: 2008
Location: Austin, TX
Posts: 4,752
Greg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond reputeGreg McKaskle has a reputation beyond repute
Re: Labview Programming Help

Just a comment, but the dashboard values are actually polled and updated only once a second. So if it takes one second for the PWM value to match the joystick input, that is normal.

If LV isn't working, is it possible that you do not have the LabVIEW update installed? If the WPILib doesn't match the FPGA version, the program will run, but the outputs will never be enabled.

Greg McKaskle
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Labview servo programming Delvadar NI LabVIEW 9 01-02-2010 20:29
Programming Mecanums in Labview Hadi379 NI LabVIEW 6 21-01-2010 19:45
Labview programming help - Deploy mode not working ferc Programming 3 20-10-2009 18:32
Joystick Button Programming in Labview Help Needed domoarigato NI LabVIEW 11 28-01-2009 10:55
FRC LabVIEW programming dlesley National Instruments LabVIEW and Data Acquisition 2 15-12-2008 13:21


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

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