Machine Vision

cancel
Showing results for 
Search instead for 
Did you mean: 

Fatal and non fatal run time errors with ImaqBuffer - No size info

Hi, recently I had to reinstal couple of my ni components. Since then all my prgrams (including the ones from the security archive) does not work. In all cases the generated error concerns the ImaqBuffer which from now on doesn´t have size info... ?
some example:

It is failing @ imgSessionSaveBufferEx

 

 

 err1.JPG

 

 

and the other one that comes when colling ImaqArrayToImage

 

 err1.JPG

 

with the same notification: "no size info" ... BUT

 

4 example the imgGrab(with void**&) and imgPlot works perfectly normal with the same buffor - ImaqBuffer that is.

So I can view the images but I can not save them.

 

What more, I tryed the example program the NI - LlGrab, after pushing the stop button the error appeard.

 

 

err3.JPG

 

Where`s the bug?

0 Kudos
Message 1 of 3
(3,552 Views)
0 Kudos
Message 2 of 3
(3,548 Views)
Thanks very much for U`r v.quick replay muks.
Ok so, according to this article I did not changed nothing and run my program just to see the .png image saving. There was no difference, it was not working. After changing the bit depth to different ones I finaly with no hanges I put it into 8 bit monochrome mode, and then it went wrong (I have put it into new thread "File PAL.icd seems to be broken" ). I did that because in the article they did not said exacly what cind of 8 bit depth I had to chose.
So I have to resolve that problem to get back to this one ...

Now, I`m a bit confused... to grab color images I need byte for every of the RGB colors (that makes it 3x8 = 24, or 3x5 ¬ 16  ). So how MAX was able to snap/grab 10 bpp image ?
0 Kudos
Message 3 of 3
(3,526 Views)