ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

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
(3,836 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
(3,798 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
(3,797 Views)