01-30-2018 08:49 AM
I'm just looking for what kind of issues I might encounter with nested clones of different types.
We have communication managers which are preallocated clones. They contain dynamic dispatch class methods which are shared clones (because they can't be preallocated). The class methods contain actual hardware calls which are preallocated clones.
The idea is to run the managers in parallel while waiting the the hardware calls to either obtain data or potentially timeout.
01-30-2018 10:02 AM
Aside from trouble shooting one instance that is misbehaving while the others are running...
I can not speak to issues.
Have you encountered any yourself and have code to illustrate the issue?
Ben
01-30-2018 11:20 AM
No issues yet, I am just looking for insight into what issues I may encounter.
How are shared clones handled inside preallocated clones?
How are preallocated clones handled inside shared clones?
I have both.
01-31-2018 06:27 AM - edited 01-31-2018 06:29 AM
There are some issues with nested clones in nested subpanels. Closing clones that are in (nested) clone's subpanels while still inserted in subpanels crashed LabVIEW. Not sure if this is still the case. But I let each VI (clone or not) remove itself from subpanels when it's stopped in a controlled manner.
It get's worse with registered callback events in nested clones in nested subpanels. This works mostly OK in development, but crashes executables when callback events are being processed while the clone stops running. Go figure...
And no, I don't have code to reproduce this...
For sub VI's, I've not seen any problems with clones.