Go to Post Courtesy and kindness should be the words for the weekend. - IndySam [more]
Home
Go Back   Chief Delphi > Technical > National Instruments LabVIEW and Data Acquisition
CD-Media   CD-Spy  
portal register members calendar search Today's Posts Mark Forums Read FAQ rules

 
 
 
Thread Tools Rating: Thread Rating: 9 votes, 5.00 average. Display Modes
Prev Previous Post   Next Post Next
  #1   Spotlight this post!  
Unread 12-07-2013, 21:26
autox_vette autox_vette is offline
Registered User
FRC #2451 (PWNAGE)
Team Role: Mentor
 
Join Date: Oct 2011
Rookie Year: 2011
Location: Oswego, Il
Posts: 32
autox_vette is on a distinguished road
Setting/changing priorities

In order for our shooter to quickly reposition itself, we are running some pretty aggressive gains on the PID which is controlling the shooter angle. A side effect of this is that the PID is very sensitive to the timing in the loop which contains it (we had problems at championships when we had a gyro getting initialized during the begin VI. 20% of the time the PID would go unstable when trying to position the shooter during autonomous).

I'm thinking that making the loop containing the PID be a higher priority than the other base code would help with this, but we are a bit confused when it comes to setting priorities.

We have found that we can set the priority of a VI to one of 5-6 enumerations by setting it in the VI properties. Or we can set a priority on the timed loop to a value of 1-65,535. We tried to put a display on a basic timed loop to see what the priority is, and it is showing a steady 100 for a priority, but if we probe the value, it shows 0.

We don't know what value to set the priority in a timed loop since we don't know what the priority is of a "normal" loop. We asked the instructor that was at a clinic some members attended and he said that the priority was set in the FPGA and didn't know what a "normal" value is.

Does anyone know what the priorities are of a basic while loop?

Thanks,
Kenton
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:02.

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