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: 

2D Picture indicator scrollbars

When writing a large picture to a smaller 2D Picture indicator, the horizontal and vertical scrollbars automatically move to show the upper left corner of the picture.  Is there a way to avoid this automatic movement?
 
Thanks,
Chris
0 Kudos
Message 1 of 3
(2,739 Views)
Hello,
 
The property which defines that position is called the origin.  You can define the "origin" to be something other than (0, 0) dynamically in your program using the origin property in a property node.  The following shipping example actually shows you how to use this property to change the origin:
 
C:\Program Files\National Instruments\LabVIEW 8.2\examples\picture\pictctl.llb\Picture Control - Zoom Attribute.vi
 
You can also find it in the Example Finder using Help -> Find Examples... in LabVIEW - click the search tab and search the keyword picture.
 
Best Regards,
 
JLS
Best,
JLS
Sixclear
Message 2 of 3
(2,723 Views)
Ah-ha!  That solves the problem.  Thank you for your help.
0 Kudos
Message 3 of 3
(2,718 Views)