09-04-2008 04:26 AM
Hello LYUU,
I use Labview 8.2
and have camera TCN-1340-U (lineScan)
Verry recently Mightex send me their latest (2 Sept 2008) DLL version with the next function:
unsigned short * CCDUSB_GetCurrentFrame( int Device, unsigned short* &FramePtr);
With this function the return and the second argument (&FramePtr) both give the same pointer to the data.
the return is a U32, and the &FramePtr is a pointer to value if you configure the call.
To reach to the data you have to now the MoveBlock call from "LabVIEW" this is a internal DLL so no path is needed just type LabVIEW (case sensitive!!!)
But atleast you should get a pointer valua out of this call
hope this will help you
greetings T-spark
03-20-2009 12:59 PM
It sounds like you all have found a solution to this problem but I am wondering if I can get more detail on how you called the "GetCUrrentFrame" function? I have been banging my head with this for the past couple of days and can't seem to make it work. I will admit that I am pretty green in this area of using API functions! Would anyone be willing to share a sample of code that you used to call this and the "MoveBlock" function. I would be very grateful,
Thomas