Go to Post "Check out those sexy transmissions!" - Eric W. Jones [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 19-10-2016, 00:09
Starwarsguy2's Avatar
Starwarsguy2 Starwarsguy2 is offline
Too many robots, not enough time
AKA: Jake Morris
FRC #0316 (LuNaTeCs)
Team Role: Programmer
 
Join Date: Mar 2015
Rookie Year: 2015
Location: Pennsylvania
Posts: 22
Starwarsguy2 is a splendid one to beholdStarwarsguy2 is a splendid one to beholdStarwarsguy2 is a splendid one to beholdStarwarsguy2 is a splendid one to beholdStarwarsguy2 is a splendid one to beholdStarwarsguy2 is a splendid one to beholdStarwarsguy2 is a splendid one to behold
LabVIEW reentrant VIs

Team 316 has discovered a very recent problem with our potentiometers. We use LabVIEW to program the robot and have two pots on the robot, one for our shooter angle, and one for our pickup arm. We are only concerned with the value of the shooter angle pot through. When we read those two values with two separate VIs, it pulls the same values. These values fluctuate wildly and I thought that I had found the solution, as described in this thread . However, when I tried the suggested solutions, it did not work. Even after making the VIs reentrant, I still made new copies of the code with a new name, which also did not work. The behavior of the values usually goes like this: 0 for a split second, two consecutive values that make sense (probably the actual values of the pots), and then 1 for a split second. Wash, rinse, repeat.
This greatly confuses our PID for the shooter angle and it merely moves back and forth eventually getting stuck in one position. (Usually fully forward, a position that wouldn't even shoot the ball at all). I was wondering if the Delphi community had any other solutions. I have made copies, made the VIs reentrant, and even unplugged the pickup arm pot. However, the code still returns values as described above.
Thank you in advance.
__________________

Too much robots is still not enough.
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 20:47.

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