Quantcast
Channel: Machine Vision topics
Viewing all articles
Browse latest Browse all 1268

IMAQ functions changing Image Types

$
0
0

Hello,

 

Here is my situation: in the code picture I am providing I am creating an image of type U8 (IMAQ Create). This same image is then passed through an image grab (IMAQdx Grab2) but the image type this second VI spits out is changed to an RGB type. It does not keep the U8 type.

 

Underneath the IMAQdx Grab2.vi there is only a call to the niimaqdx.dll that in turn calls its LV_IMAQdxGetImage2 function, an again when tracing it, the dll function does get a U8 as input but outputs an RGB.

 

The front panel shows the image types from each property node, the first as U8 (desired), second as RGB.

>>>>> I wish to keep the type as U8 <<<<<

 

Another side note, when the image wires are probed, an image is acquired for the RBG, but not for the U8.

 

Has anybody stumbled with this? Am I using a wrong dll? (I've downloaded the latest from NI)

 

Thanks

 

JR


Viewing all articles
Browse latest Browse all 1268

Trending Articles