05-05-2010 09:59 AM
I have LV 8.5.1, Vision 8.5 and need to extract 64 bit data from a 64 bit image and I get the "invalid image" error while using the IMAQ Extract VI. What version of Vision do I need to allow me to do this?
Currently, the work-around I have...
1) convert the image to 32bit
2) use the ROI tools I to get the rectangle data I need
3) then go back to the original image and the convert the image to a 64 bit array
4) take the rectangle data to extract the data needed out of the 64 bit array data.
klunky but it works. I would think that the IMAQ Extract tool should allow me to extract the 64 bit data but it doesnt... forces me to 32 bit.
suggestions?
05-05-2010 12:16 PM
Not all image types are supported by IMAQ Extract...
Vision 2009:
So, its possible with workaround only (like you have already).
Andrey.
05-05-2010 12:35 PM
pfth...
is this on a list of things to get fixed? I cant be the only one after this.
thanks for the feedback...
05-06-2010 09:11 AM
Hi,
You can try attached VI. Quick and dirty created and without guarantees, but may be will work for you (not sure about Vision 8.5).
Andrey.
05-06-2010 09:26 AM
05-06-2010 10:19 AM
steve05ram360 wrote:
thanks, it did not work... get an error message -1074396120
Try to connect Dst Image (should be differ from Src).
Andrey.
05-06-2010 10:49 AM
awesome, that does work. However I end up with the same problem I was asking about here...
http://forums.ni.com/ni/board/message?board.id=170&thread.id=496447
05-06-2010 11:03 AM
steve05ram360 wrote:awesome, that does work.
Attached DLL slightly corrected and should be OK also "in place" when Dst is not connected like original IMAQ function. Hopefully it works properly now. By the way all IMAQ types are supported, not only U64.
Andrey.
05-06-2010 12:06 PM
12-16-2014 05:03 PM
Andrey, do you happen to have a 64-bit DLL as well? This solution works great, but of course only in 32-bit LabVIEW. Thanks for finding a way around the IMAQ limitation.