View Full Version : Scale Video Within ActiveX Control in LabVIEW

March 25, 2017, 02:22:31

I am trying to scale the video of my DFM 42BUC03 within the ActiveX control in LabVIEW. I am trying to capture images and display video at a resolution of 1280x960, however, the ActiveX control can only have a width of 550 pixels as it is part of a pre-existing GUI. Because of this, the majority of the imaged area is cropped out, aside from the mask formed by the ActiveX control. I have found that I can add scroll bars to the control so that the entire image is, in theory, visible, however, this is a sub-par solution. I would really like to have a scaled down version of the full resolution image shown on the video, but when I capture an image, have it be the full 1290x960 resolution.

Does anyone have a suggestion for this problem?



Stefan Geissler
March 27, 2017, 09:27:27
You can resize the live display to the size of the control. Please refer to


First you set the property LiveDisplayDefault to false, then you set livedisplaywidth to ic.width or a fixed value and livdisplayheight to ic.height or another fixed value. Keep in mind, the ratio of width and height can be changed by this, so the image looks distorted.