Discussion:
LVClass constructor in an XControl's Init.vi crashes LabVIEW when VI using XControl is loaded outside of project
(too old to reply)
tonykaegis
2007-07-25 21:40:12 UTC
Permalink
Example attached.
 
To reproduce behavior,
1) Load "XControl and Class.lvproj", and then "Test XControl with Class.vi"  - everything will be normal, running the Test VI will make the lights blink happily.
2) Close "XControl and Class.lvproj"
3) Load "Test XControl with Class.vi" - without the Project being open - and LabVIEW will crash with an Access Violation.
 
Conputer:
* LabVIEW 8.2.1
* Windows XP SP2
* Pentium4 2.8GHz
* 512MB RAM
 
 
tonykaegis
2007-07-25 22:10:11 UTC
Permalink
And, of course, I neglected to attach the file.
 
Attachment included this time.


Test XControl with Class.zip:
http://forums.ni.com/attachments/ni/170/261386/1/Test XControl with Class.zip
Loading...