From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
06-12-2014 10:56 AM
I've been seeing strange behaviour when I modify the private data control of a class, especially if it is a parent class. It seems that those changes are not always propagated to all the VI's in the project. This sometimes causes my project to crash with an exception error, or sometimes the problem is more subtle as it will simply write data to the wrong elements in the control (when bundling/unbundling).
I solve the problem by opening the typedef or class control by itself (i.e. not as part of the project), and then saving it.
The next time I open the project all problems are solved. This is a difficult error to track down but I now know to keep a list of typedefs or class controls that I have modified (using subversion helps here), and then when this strange behaviour or crashes happen, I simply close the project and open each modified typedef or class outside of the project and save them individiually.
Anyone seen something like this too?
06-12-2014 02:15 PM
I have not seen that and use classes a lot. What version of LV are we talking about? OS?
Mike...
06-12-2014 02:22 PM
06-12-2014 02:31 PM
What Operating System?
Mike...
06-12-2014 02:34 PM
06-12-2014 03:00 PM
Hmmm.... Have not seen what you are describing -- though occasionally I will see a class that appears broken until I open it by itself outside the project.
Mike...
06-12-2014 03:32 PM
I wouldn't say it is very large or special. I do use a lot of data value references and variants and multiple class instances running on different core (on a quad core). It doesn't seem to happen if I deploy the application to a RT target, but it does happen on Windows.
06-12-2014 03:39 PM
Well, the big difference is that I don't put everything in classes - negatively impacts readability . That may make a difference.
Mike...
06-12-2014 03:56 PM
06-12-2014 07:02 PM