04-15-2005 11:41 AM
04-15-2005 11:47 AM
04-15-2005 01:19 PM
05-20-2005 07:26 AM
05-20-2005 07:38 AM

05-23-2005
08:32 AM
- last edited on
11-09-2025
03:04 PM
by
Content Cleaner
Alex,
Encapsulation of data is critical to maintaining a large program. You need global, but restricted, access to your data structures. You need a method that guarantees serial, atomic access so that your exposure to race conditions is minimimized. Since LabVIEW is inherently multi-threaded, it is very easy to shoot yourself in the foot. I can feel your pain when you mention writing all those get and set VIs. However, I can tell you that it is far less painful than trying to debug a race condition. Making a LabVIEW object also forces you to think through your program structure ahead of time - not something we LabVIEW programmers are accustomed to doing, but very necessary for large program success. I have use three methods of data encapsulation.
05-23-2005 08:35 AM
05-23-2005 12:13 PM
05-24-2005 02:44 AM
05-25-2005 04:25 PM