Dear mzu2006, I have read all the previous posts and tried both my onw pvcam32 library and the one you attached in this post, they works with no error. But when I try the attached main vi (I mean the cascade_cam.vi), the problem is that only the first four bytes of our *pointer have data. All other bytes seems to be zero. I am using labview 2011 32bit. I have tried to change the dlls in your malloc and moveback vis to the labview 2009 run-time as well. It seems the data of the first four bytes are fixed as well.mzu2006 писал(а):I believe it does! Please, find my next iteration below. I have added an enum for camera status (I think you can do a good service for all future users of this package if you wrap some other constants from pvcam.h in enums...). And couple more cosmetic changes: adding a stop button, adding a wait so that it does not load CPU 100%, checking for other camera statuses, adding pvcam_uninit in the end.
I think you can give it a try now.
Would you please help me figure out why? Or do I have alternative method to check the data grabbed by the CCD? Thanks.