From 11:00 PM CDT Friday, Nov 8 - 2:30 PM CDT Saturday, Nov 9, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Is IMAQ Image scalar?

I have built a LV DLL that accepts IMAQ Image as one of its input. The C type mentioned in the Header file for the image arg is uintptr_t *. I call it from LabVIEW configuring the image arg as "Adapt to Type" and "Handles by Value". I wire a valid IMAQ image. I assume the value of this image wire as uintptr_t(I have seen in other DLLs in which image is a part of cluster). Code works fine.Passing uintptr_t to uintptr_t* works fine.

 

Reading the documentation for Adapt to Type mentions: "Scalars are passed by reference. A pointer to the scalar is passed to the library." My question is: is IMAQ image a scalar here?

 

```.h

uint32_t __cdecl CountPixels(uintptr_t *ImageIN, uint8_t Intensity);

```

Download All
0 Kudos
Message 1 of 1
(1,763 Views)