LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to copy a class without getting a look

Solved!
Go to solution
Hi,

I use WinXP, LV 8.51 and an M Series with a 1045 chassis, an 8106 controller and some PXI cards type 6233, 6602, 4351 and so on.

In picture 1 you see the actual project.
Yesterday it worked well, but then I want to copy the CDAQTask.llb in a folder. I did the following steps:
1. I created the folder TaskClasses in the Windows Explorer.
2. Selected the CDAQTask.lvclass an select Save as / Rename
3. Selected the new folder as target and saved the the class in a lib (picture1)
4. I copied every VI and ctl one by one in the new folder.
5. Then I closed the project and started it again.

The following errors appear:
1. “Reentrant data space could not be cloned” I have to quit it 14 times to start the system.
2. My class is locked. See picture 1.

I have tried to “Remove from Projekt” the old empty llb but after restart the system it is back all the time.

Kind regards
Michael
0 Kudos
Message 1 of 5
(4,129 Views)

Hi Micha_IO,

 

Thanks for the post and I hope your well!

 

I noticed you haven't received any support.

 

I was wondering if you were still having issues?

 

I beleive you would get this message when modifying a reentrant vi, is this the case?

 

Or so similar issue in the past seemed to be caused by upgrading. Have you upgrades your VIs to a new version. Have you mass compiled your VIs? Hopefully this information is helpful...please let me know if I can be of any more assistance.

 

Please let me know what you think,

 

Kind Regards, 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 2 of 5
(4,086 Views)

Hi Hillmann,

Thanks for your answer.

I have in this class some reentrant Vis. I use the setting dynamic dispatch, but it worked well before. And yes, I copied the reentrant Vis manually from on Class in a other one.

What do you mean with upgrade the VI to a new version? I use only LV8.5.1

I changed for testing all VIs to no reentrant but I have still the same issues.

Thanks for your help.

Kind regards

Michael

0 Kudos
Message 3 of 5
(4,071 Views)
Solution
Accepted by Micha_IO

Hi all,

 

I renamed the class and all its members. Now the problem is gone. 

I thing the reason was a indifferent setting of reentrant or a missing adjustment of the heritage.

 

See you 

Michael

0 Kudos
Message 4 of 5
(4,021 Views)

Hi Michael,

 

Thanks for the update.

 

We live and learn!

 

Kind Regards,

James. 

Kind Regards
James Hillman
Applications Engineer 2008 to 2009 National Instruments UK & Ireland
Loughborough University UK - 2006 to 2011
Remember Kudos those who help! 😉
0 Kudos
Message 5 of 5
(4,000 Views)