Go to Post resist the hive: As goofy as this may sound, wires do take up weight, several pounds of it. - Rickertsen2 [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 19-10-2016, 16:45
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
Re: LabVIEW reentrant VIs

I am choosing "Preallocated clone reentrant execution". I'll upload the code as soon as I can, should be late sometime tonight. I barely have enough time to post this now. Thanks!
__________________

Too much robots is still not enough.
Reply With Quote
  #2   Spotlight this post!  
Unread 20-10-2016, 00:05
wt200999's Avatar
wt200999 wt200999 is online now
Texas Instruments
AKA: Will Toth
FRC #3005 (Robochargers)
Team Role: Mentor
 
Join Date: Mar 2006
Rookie Year: 2004
Location: Dallas, Texas
Posts: 321
wt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud ofwt200999 has much to be proud of
Send a message via MSN to wt200999
Re: LabVIEW reentrant VIs

One thing to note when it comes to reentrant VIs on LabVIEW Real-Time (when deployed to roboRIO) is that none of the LabVIEW debugging tools are available, so you either need to make a copy or use a different method to debug. See the note here.
__________________
Programming in LabVIEW? Try VI Snippets!

FIRST LEGO League 2004 - 2005
FRC Team 870 Student 2006 - 2009
FRC Team 3005 Mentor 2013 -
Reply With Quote
  #3   Spotlight this post!  
Unread 20-10-2016, 08:01
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,748
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 reentrant VIs

There should be no problem reading the pots with the non-reentrant VI. Setting it to reentrant will have no effect on the result, but will allow for the two calls to proceed in parallel - up to the point where there may be another reason for them to take turns.

What I'd suggest you do is to drop charts on the panel of your VI and wire the output of the pot to the charts. Run the VI and see if moving pot A affects the chart. See if moving pot B affects the chart. If you are receiving 0's, they may be due to a wiring connection rather than reading the wrong pot.

While running, wiggle the wires and see if you can locate a connection issue anywhere along the cable.

Please let us know what you find.

Greg McKaskle
Reply With Quote
  #4   Spotlight this post!  
Unread 20-10-2016, 23:41
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
Re: LabVIEW reentrant VIs

Thank you all very much for your replies. However, the issue turned out to be much more grave. The 5V analog in rail was only supplying a maximum of .3 volts ! We tried our hardest to clean out the RoboRIO but the problem still persisted. Sadly, the mentors are thinking that this is a bad RIO. It went through two rough seasons, so it had to go eventually. (But it just had to die 2 days before a competition ) We are borrowing a RIO from another team in the meantime. Again, thanks for all the help, and if you have any suggestions to bring a RoboRIO back from the dead, they'll be greatly appreciated.

Jake
__________________

Too much robots is still not enough.
Reply With Quote
  #5   Spotlight this post!  
Unread 21-10-2016, 09:39
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,748
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 reentrant VIs

The most reliable way is to contact NI for repair/replacement. AndyMark may also be a good place to start if it was purchased there.

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


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

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