05-01-2008 11:46 AM
05-08-2008 04:34 AM
Hi Riggy
I tried to replicate the behavior that you saw but have not been successful. It appears as though something may have been corrupted and you fixed it by resetting the CTRL type. If you do see the behavior again and can find a method of replicating it please post back on this forum and I will investigate it further.
Best Regards
05-08-2008 06:55 AM
05-08-2008 07:08 AM
I have seen such strange behaviour while debugging someone's code.
The person was using Local Variables & Global Variables to pass values. Locals within each & every VI and Globals to pass the refernce values amongst different VIs.
This is a long shot... but are you using any Global or Local Variables that holds a reference value?
What was happening is that the sw was reading and invalid reference value from the Global..
This may not be related, but unless we see you entire code, it would be difficult to suggest anything.
RayR
05-08-2008 09:37 AM - edited 05-08-2008 09:38 AM
05-08-2008 10:05 AM
As I mentionned, it was a longshot 🙂
Yeah... those Gremlins can be quite troublesome.. 😄
05-08-2008 10:26 AM
I don't agree with this point of view. I think that when you change that property value, LV actively updates some internal information (essentially the complete type descriptor of the control whose reference is connected to the input terminal), so it's possible that an information that was corrupted for some reason was eventually restored to the right value by repeating the control ref - CTRL type association.
@Riggy wrote:
This is bizarre, because the subvi is now exactly as it was before the class conflict error. In fact, everything is as it was before the error, and all I did was switch some property value to a different value and back again. I
05-08-2008 10:32 AM
05-08-2008 10:59 AM
Until you have become bored with making backups, try doing backups regularly in an attempt to have a "before and after" set that included the code before the incident and then after. If you can recreate the bad results from the "before" then contact NI SUpport and let them see what is happening.
This issue sounds a lot like a bug Mike Porter is trying to get a CAR on but we have run into contention with support re: "is it a bug".
Ben
05-08-2008 11:13 AM