View Single Post
  #3   Spotlight this post!  
Unread 02-02-2012, 00:25
SuperS_5's Avatar
SuperS_5 SuperS_5 is offline
[Certified LabVIEW Developer]
FRC #1219
 
Join Date: Dec 2010
Rookie Year: 2010
Location: Canada
Posts: 140
SuperS_5 will become famous soon enoughSuperS_5 will become famous soon enough
Re: Difference between Shift Register and Feedback Node

Quote:
Originally Posted by sst.thad View Post
Inside each loop is a case structure with an enum for 3 modes, which are init, run and end.
Just be careful with Enums like this. This is very common practice BTW, and one method to keep your code isolated. Your action Enum, (Init|work|end) should always be a TypeDefd control. This also presents the possibility of the constant value automatically changing if the typedef is updated. I typically will write the desired value as a BD note, next to the Enum constant.
__________________
Mike B
Reply With Quote