06-20-2014 08:05 AM
I'm wondering is there a way to zoom in on labview's 2d picture box like the zoom function on the IMAQ Picture display?
06-20-2014 08:16 AM
The easy solution is the ZoomFactor property node of a picture control.
http://digital.ni.com/public.nsf/allkb/55EEBE3A1ECC38F58625765600796F1C
This doesn't actually change the picture data just gets closer to it.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-20-2014 08:19 AM
Thanks for your reply Hooovahh
Im using that bit of code already to resize my input image into my picture box control. I can't use IMAQ due to distribution of licences is there anyway around having a zoom in and a back to original image option with the mouse?
06-20-2014 08:26 AM
@PauldePaor wrote:
Im using that bit of code already to resize my input image into my picture box control. I can't use IMAQ due to distribution of licences is there anyway around having a zoom in and a back to original image option with the mouse?
I'm confused. You say you already are doing this. You say you can't use IMAQ. This code doesn't use IMAQ. And then you ask to be able to zoom in and out with the mouse.
Just use the code I linked to and control the zoom with the mouse. Say with a vertical slider that goes from 0.2 to 10.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
06-20-2014 08:28 AM
How would I control the zoom with the slider?
06-20-2014 08:33 AM
You create a slider...then wire it to the ZoomFactor.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
17 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord