Jump to content

Access to VBAI 2.6 image buffer with the CVS 1455


Recommended Posts

Using VBAI 2.6, I'm able to "write to buffer" from the Vision Assistant for Vision builder . But is there a way to access this "image buffer" from Labview? or the File directory via FTP? Or somehow get the image file into a labview array? Nothing i've seen can programatically access this buffer.....(maybe i'm just not looking in the right places)

I'm also uncertain how this buffer works. If you go to the Image Buffer Setup screen within Vision Assistant, it shows you a list of 10 buffer elements and its state (filled or empty). How is this buffer filled as you inspect your product? does it go from 1-10 and the discard the oldest image each subsequent iteration? or does it mean the buffer size is 1, and you have 10 spaces for different images from different cameras?

just FYI, I don't have access to IMAQ vision.

Regis

Link to comment

from NI:

" Hi Regis -

To answer your first question: When you store an image in a memory buffer during the Vision Assistant step, that buffer is only accessible while the step is acting. When the step finishes, Vision Assistant will "clean up" is memory resources. This includes erasing all buffers that it was using.

If you want to be able to save a VBAI image to file so it can be accessed by other aplications (FTP browser, another LV app, etc), you can do this using a LabVIEW step. You will need to download and install the NI-IMAQ driver, which gives you the "IMAQ Write File" VI. Then you can build a LabVIEW step that takes the image as input and writes it to a PNG file. (Other file formats are only supported by the IMAQ Vision development module.)

As for the side question regarding Vision Assistant's buffer list: This is a list of ten memory spaces set aside to store up to ten images from any source. Each slot is an individual buffer, and can only hold one image. There is no automatic management of the buffer list, so you have to manually overwrite buffers yourself if you want to use them in a ring setup.

The following KnowledgeBase article discusses saving images from VBAI into a file:

http://digital.ni.com/public.nsf/websearch...2B?OpenDocument

(the method is an alternative to the one I described)

Unfortunately, there is currently no extended documentation on the Image Buffer step in our documentation. I can, however, request that future revisions contain a better description of the step

David S.

Applications Engineering

National Instruments "

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
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.