From within LabVIEW, I use IMAQ Create. I then try to pass the "new image" to a CVI function using the Call Library node. In the call library node the vision image is set to "Adapt To Type" and "Handles By Value". The image is created as type IMAQ_IMAGE_RGB with a border width of 0.
Within the CVI DLL, the functions use "void*" instead of "Image*" since I need to create the DLL by linking to the type library which does not work if "Image*" is used.
When I call the DLL functions from CVI everything works as it is supposed to.
When I call the same DLL functions from LabVIEW, the "image" manipulations always fail. Even a simple function that is only used to display a previously captured image in a vision window. The window contai
ns nothing but the title bar.
Is the "image" format compatible between LabVIEW and CVI?
NiVision.dll is version 6.1.3.2
LabVIEW 6.1
CVI 6.0
IMAQ Vision 6.0 for LabVIEW
IMAQ Vision 6.0 for Measurement Studio
Any help is greatly appreciated.
Thanks.
Randy