I packed my whole Labview project as a packed proj library during teststand Deployment
I am using classes in my labview project
unfortunalely by one of sub seq calls got the following error !
"Type mismatch. The LabVIEW Class does not match the class expected by the VI.
Cannot pass a base LabVIEW Class to call a method initially defined in a derived LabVIEW Class."
The error message is quite clear:
You are using inheritance where you do have methods which are not part of the parent class (as dynamic dispatch).
During the call, you pass an object of the parent class and try to call the (unknown) method of the child.
Why this is happening can only explain your code....
the issue is this is happening only in deployment
when in development everything works fine
Whats probably happening is LabVIEW is not including all (or any) of the child classes into your packed library and when you compiled code is running it can't find the classes it needs.
What you should do is either include all classes into the build specification, include a VI that has all of the classes in it, or enable debugging in the build specification (which will include the diagram and all of the VI's in the packed library).