04-17-2017 01:56 AM
hi,
i want to change button image when i move mouse above my image but i not run my vi.
04-17-2017 03:09 AM
Perhaps someone who knows more will correct me, but I think the short answer is "you can't" and the longer answer is "for something to change on your front panel due to mouse positioning, you need to have at least something running. It doesn't have to be that VI - an XControl, for example, is running once it is placed on a front panel and so it could track the mouse position, have an event case that would monitor for a cursor enter event, then change the image displayed on some part of the control"
Maybe if you gave a bit more information about what you're trying to do (especially why you don't want to have your VI running) it would be easier to give a useful answer?
04-17-2017 01:39 PM
System booleans change with mouse-over (& you can easily customize the images), but it only works when the VI is running.
Why do you need it to change when the VI isn't running?
04-17-2017 02:53 PM
You may be able to press ctrl+M to see what the front panel will look like when running. Press ctrl+M again to go back to edit mode.
04-17-2017 03:05 PM
Edit mode has no purpose for the end user, so the solution is an application that is always running, but might be in an idle state when nothing needs to be done.
Yes, please explain why there is a need to change the hover picture in edit mode.
(An x-control as suggested might work, but is probably not worth the effort. I have not tried)
04-17-2017 03:09 PM
@Gregory wrote:
You may be able to press ctrl+M to see what the front panel will look like when running. Press ctrl+M again to go back to edit mode.
This actually work for the system buttons, some of which change color when hovering (after switching to run mode without actually running), but I doubt you could leverage that for your purpose. System controls inherit from the OS and are not very customizable.
04-18-2017 02:00 AM
hi,
see the below link "GET VIPM" Button . when mouse move above button green color is fill same functionally i want but without run vi.
04-18-2017 02:05 AM
altenbach wrote:(An x-control as suggested might work, but is probably not worth the effort. I have not tried)
I'm fairly sure you're right on both counts. I'm pretty confident it's not worth the effort.
GokulGKM,
I think we understand what you want. We just don't understand why it needs to be without running. If the VI is running, this task becomes comparatively straightforward.
04-18-2017 02:34 AM
hi,
i know it is possible while run the vi.but my aim is reduce the program memory for some small applications.
04-18-2017 02:41 AM
Hi Gokul,
i know it is possible while run the vi.but my aim is reduce the program memory for some small applications.
So the VI is still in "run mode" - even when it is just a "small application"…
Please explain with clear descriptions WHY you need to achieve this without running your VI!