Hi Robert,
here a describtion of what my program shall do:
The program loads an image file using the imaqReadFile function. This image shall be displayed in a canvas using the CanvasDrawBitmap function.
At the moment my program first copies the image into the clipboard (imaqImageToClipboard), then copies the clipboard contents into a bitmap (ClipboardGetBitmap). Finally with CanvasDrawBitmap the bitmap is displayed in the canvas.
In this way I can use the image processing functions of IMAQ vision library in conjuction with having a dialog based gui (I don't want to use the imaqDisplayImage function). But it seems to me as if using the clipboard is not the best way. I have to admit that, being quite new to LabWindows/CVI, I am not very familiar at the momen
t with the imaqImageToArray function which I believe might be the better choice.
Thanks in advance
Thomas
P.S.: Here comes what my program in principle does:
imaqReadImage(...)
imaqImageToClipboard(...)
ClipboardGetBitmap(...)
CanvasDrawBitmap(...)