LAVA 1.0 Content Posted November 6, 2006 Report Share Posted November 6, 2006 Hi, If I connect a child class type to a static class member VI of the parent class, the static member VI preserves the child class type passing trough the VI. This is a very nice feature and simplifies programming. However, if I connect a dynamic dispatch wire to such a VI, the class type is preserved but the "dynamicity" is not. This is a bit annoying since I cannot then pass a dynamic wire to a static member VI as I have no way of casting it back to a dynamic wire. So is this intended feature for some reason or a bug? EDIT: Oops... This problem occurs only if the static member VI is inside a polymorphic VI and you drop the polymorphic VI to the block diagram instead of dropping the static VI directly. So it sounds like a bug to me as I assume polymorphic VIs should act exatly as the VIs inside it. Quote Link to comment
Aristos Queue Posted November 7, 2006 Report Share Posted November 7, 2006 Yeah... sounds like a bug. It's late tonight... if you don't see me post a CAR number here tomorrow, remind me later in the week. Later edit: This was reported to R&D (# 436FPTJ1) for further investigation. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.