View Single Post
  #3   Spotlight this post!  
Unread 19-08-2011, 10:15
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: Advanced LabVIEW programming?

Hi,
I agree with most of your "discoveries." They are all good programming techniques. There is a lot of detail about advanced architectures over on the NI forums and LAVAG.org.

Quote:
Originally Posted by JohnGilb View Post
Limited updates to Motors/Actuators
Using the feedback nodes (or a local variable, just something that stores information)
One thing I have a problem with is using local variables for almost anything except updating the FP via a specific state call. (IE. only one local variable per control.) I use functional globals for this. These are typically implemented via feedback nodes/uninitialized shift registers. There should be a tip video up for that.

I now use classes fairly extensively. Every logical unit of the code would end up being it's own class. I then lock down things like my functional globals so that other code cannot use it without permission. I have found that this works very well in both single and multi developer teams. The LV implementation of classes forces the programmers to follow better programming techniques.
__________________
Mike B
Reply With Quote