From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, 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: 

ActiveX for USB microscope

I'm acquiring images with a DinoLite USB Microscope using LabView. It works with ActiveX, specifically DNVideoX. I'm able to save a picture, but I need to convert the picture obtained with DNVideoX which is in variant type, because with this type I can't work. I need to calculate the pixels between two point of this image. The software that I have for the moment is attached.

Thank you.

0 Kudos
Message 1 of 3
(2,809 Views)

I think you'll need to research to find out what kind of data is returned by "GetRGB". My guess would be something like a 3D array, 2Ds for the camera sensor, 1D to represent red, green, or blue. 

0 Kudos
Message 2 of 3
(2,771 Views)

Also, you can just put a probe or indicator on it and it should give you some hints of what the variant looks like.

0 Kudos
Message 3 of 3
(2,770 Views)