Go to Post Don't worry so much about the wording of the rules but the intent of the rules. - Greg Needel [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 25-07-2013, 15:31
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 71
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Problem with my Test mode

I have set up a test for the Test mode which opens a new window which is used to adjust motor speeds and other values on our Launcher. It seems that when I change between disabled and enabled a few times at least some of the program stops. When I do this on a PC in simulated mode (you may have to change between disabled and enabled several times) a window comes up that says "Resetting VI: Test.vi" and the program stops. For this to happen in simulated mode it seems you have to have the Dashboard running in debug mode. So how can I work around this?

If you need to see the code you can use what I have already uploaded to another post here: http://www.chiefdelphi.com/forums/sh...50&postcount=3

Please let me know if you need more information.

Thanks
Reply With Quote
  #2   Spotlight this post!  
Unread 26-07-2013, 15:58
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,751
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: Problem with my Test mode

I believe I've seen something like this in the past but didn't have the time to track it down. Thanks for the reminder. I'll look at it when I'm back from vacation. In the meantime, you may try a few things like waiting five seconds between switching from enabled and disabled. When I saw it, it felt like a timing related issue.

Greg McKaskle
Reply With Quote
  #3   Spotlight this post!  
Unread 10-09-2013, 13:32
Jonathan L. Jonathan L. is offline
Programmer alumnus, mentor, and CSA
FRC #1094 (Channel Cats)
 
Join Date: Jan 2013
Rookie Year: 2011
Location: St. Louis MO
Posts: 71
Jonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the roughJonathan L. is a jewel in the rough
Re: Problem with my Test mode

I've done some testing and I don't think it's time related as in waiting 5 seconds between enabling and disabling, but it seems to be time related as in once the robot is in test mode and I have opened the Launcher Test window even without enabling or disabling I wait a certain time (say about a minute and 45 seconds your's may be different since I am using a newer revision of the program. Let me know if you need the newer revision.) and then the program stops. I think it has to do with the Network Tables as even after the program stops I can still shoot using the joystick but by changing the sliders (using the Network Tables) the motor speeds on the robot do not update! Furthermore it seems only the Network Table entries used by the Launcher Test are effected; because after the Launcher Test stops I can go back to TeleOp (of course you'll have to add some code to see this) and read the AnglePot (this is a potentiometer readout that tells us the up/down angle of our Launcher) which is still where it would normally have a little jitter, however other values that were not used in the Launcher Test still work.

Thanks for the help
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 09:53.

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