06-17-2013 02:23 PM
Hi All,
I have a project where a LVOOP class is accessed by reference (using a DVR). This method was chosen because the object data will be modified internally by private methods, multiple clients need access and we are likely to need more than one of them, making LVOOP and DVRs a natural fit. This means that the object is only accessed by a DVR of the object class (with New, and Delete methods to create and delete the DVR). Built and tested in LV 2012 SP1 patch f3.
The object is intended to be reusable, so it was built into a Packed Project Library (eg. "PPL.lvlibp"). Using this PPL in another project works comfortably.
It is often useful for us to rename the original PPL filename. Validation is not an issue here since we can progromatically access the Oriignal Filename and Version fo the PPL for verification. However if I attempt to access the class inside the renamed PPL, LabVIEW informs me I have a "class conflict". This conflict appears to go away if I open the offending PPL class method call front panel and then close it without modification; however if I attempt to run the VI making the calls to the DVR class LabVIEW will frequently crash (often without the NI Error Reporting Service detecting the shutdown).
Does anyone have any experience with this? If I don't rename the PPL, then things seem to work as expected. It seems interesting that renaming the PPL has this effect. Is there any information on the stability of using LVOOP DVR classes within PPLs? Or the structure of PPLs that renaming the filename would effect? NI recommends using a renaming scheme in their white-papers regarding PPLS, but this strategy appears to cause more problems than it solves in this scenario.
06-18-2013 04:02 AM
Several questions:
Norbert
06-18-2013 02:05 PM - edited 06-18-2013 02:07 PM
Hi Norbert,
In answer to your questions:
I have attached a simple example (PPL Renaming.zip). It contains three projects:
This example hasn't crashed LabVIEW (yet, the night is young) but it does illustrate the wire mis-match. I have another example that demonstrates a similar PPL re-name situation that appears to take LabVIEW down reliably. I can attached this too if you are interested. Just don't want to flood with information.
07-04-2013 07:40 PM
Hi,
Can you please upload the example which crashes LabVIEW?
Thanks,
07-04-2013 10:13 PM
@Australia_ wrote:
Hi,
Can you please upload the example which crashes LabVIEW?
Thanks,
Hi there. I believe I have already emailed your ni.com email address with a link to the code. I am not permitted to upload the code here directly. Thanks!