View Single Post
  #7   Spotlight this post!  
Unread 10-02-2011, 15:32
DavidGitz's Avatar
DavidGitz DavidGitz is offline
Lead Technical Advisor
FRC #1208 (MeTool Brigade)
Team Role: Coach
 
Join Date: Dec 2006
Rookie Year: 1996
Location: O'Fallon, IL
Posts: 341
DavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud ofDavidGitz has much to be proud of
Send a message via AIM to DavidGitz Send a message via MSN to DavidGitz Send a message via Yahoo to DavidGitz
Re: Changing default values

Quote:
Originally Posted by cilginbilgin View Post
This is the begin.vi of my code.
I double click on one of the victors and change its PWM channel and set that as the default value from that window. Also the other victors PWM default value changes. How can I solve this problem.
This is because these vi's are not reentrant. For a more detailed explanation of reentrant behaviour, start here: http://labviewwiki.org/Reentrant_VI

What you need to do is set these values to constants in your Begin.vi, in the same manner that the Default Framework does.
__________________
Reply With Quote