Jump to content

Recommended Posts

HI,

I want to load large images using LavbVIEW 8.5 and NIVision 8.6.

My program is basically very simple: 'IMAQ create' (grayscale (I16) followed by  'IMAQ Read File' and 'IMAQ Dispose'.

When I run this program in development mode it is possible to load 16 bit tiff files of 20kx20k pixels (780MB).

When I run the executable (run time) it is only possible to load 13kx13k images (330MB)

Development mode:

load program: used memory 50MB; load image (20kx20k =>780MB): used memory 1230MB; Dispose image still used a memory space of 445MB. NO Error.

load program: used memory 50MB; load image (13kx13k =>330MB): used memory 550MB; Dispose image still used a memory space of 220MB. NO Error.

Run time (.exe) largest tested image what can be loaded: 13kx13k (330MB).

load program: used memory 25MB; load image (13kx13k =>330MB): used memory 522MB; Dispose image still used a memory space of 190MB. NO Error.

Loading larger images results in an error: IMAQ Read File, Not enough memory for requested operation.

code : -1074396159

WHY is it not possible to load a large image in run time mode??

How can I resolve this problem?

Thanks.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.