06-01-2012 12:12 PM - edited 06-01-2012 12:12 PM
Is there a way to change the size of the arrow in a "VISA Resource Name" control? My UI is on a touch screen and that little arrow is too small for my fat fingers. Shoot, I can't hit it reliably with the mouse.
I'm using LV 2011 and silver controls, but I'll switch to any control that works.
Thanks,
Tom
Solved! Go to Solution.
06-01-2012 12:51 PM
Unfortunately, not with the silver controls. What you can do instead is use a regular menu ring (or other dropdown) and customize it in the control editor. You can populate the ring's items during initialization of your program. For example, by using VISA Find Resource to get the list of available VISA resources.
06-05-2012 09:39 AM
I can't adjust the size of the arrow with the silver, modern, or system VISA control. I guess I'll take the tiny arrow over the complexity of adding the VISA functionality to a regular ring.
Thanks,
Tom
06-05-2012 10:46 AM
This one is a little different from a lot of the controls (like the numeric control).
There are a few controls in LabVIEW that take this multi-step approach for editing.
Rob
06-05-2012 10:55 AM
@Robert Cole wrote:
This one is a little different from a lot of the controls (like the numeric control).
- Open the VISA drop-down control in the control editor.
- Change to edit mode (the wrench button will change to a tweezer icon).
- Select (click on) the drop down portion of the control.
- Open this in a control editor window.
- You should now have the ability to change each part of the control.
There are a few controls in LabVIEW that take this multi-step approach for editing.
Rob
In which version did you get that to work?
LV 7.1 and LV 2009 did not permit the second edit.
Where exactly are you clciking to get the second "replace" option?
Mine ony show the filter option.
Ben
06-05-2012 11:04 AM
@Ben wrote:
In which version did you get that to work?
LV 7.1 and LV 2009 did not permit the second edit.
Where exactly are you clciking to get the second "replace" option?
Mine ony show the filter option.
Ben
I just did that in LV 2010, but I have done it in LV 8.2 in the past (not currently installed on my computer).
I have my environment set to open the control editor with a double click. So I just double click on the part I want to edit. But I also just tried it using the menus. I can open the second edit with Edit -> Customize Control. Opens the selected part in another editor window and away we go...
Rob
06-05-2012 11:12 AM
@Robert Cole wrote:
This one is a little different from a lot of the controls (like the numeric control).
- Open the VISA drop-down control in the control editor.
- Change to edit mode (the wrench button will change to a tweezer icon).
- Select (click on) the drop down portion of the control. <<----- can't replicate this
- Open this in a control editor window.
- You should now have the ability to change each part of the control.
There are a few controls in LabVIEW that take this multi-step approach for editing.
Rob
Are you sure you're using the silver control for this? I can't replicate this process in LV2011.
@Robert Cole wrote:
I just did that in LV 2010, but I have done it in LV 8.2 in the past (not currently installed on my computer).
I have LabVIEW 8.2, and I cannot do this with the VISA resource control.
06-05-2012 11:13 AM
@Robert Cole wrote:
@Ben wrote:
In which version did you get that to work?
LV 7.1 and LV 2009 did not permit the second edit.
Where exactly are you clciking to get the second "replace" option?
Mine ony show the filter option.
Ben
I just did that in LV 2010, but I have done it in LV 8.2 in the past (not currently installed on my computer).I have my environment set to open the control editor with a double click. So I just double click on the part I want to edit. But I also just tried it using the menus. I can open the second edit with Edit -> Customize Control. Opens the selected part in another editor window and away we go...
Rob
That works with a regular ring control, but does not work with a VISA control (I've got 2011).
06-05-2012 11:22 AM - edited 06-05-2012 11:25 AM
I ws not able to resize it in LV 2011 until I changed my setting to open the control editor on double-click.
I can now edt the size including the silver version but it looks ugly at that size.
I could always replace the picture.
Thank you Rob!
Ben
The attached is in 2011. Can someone verify it opens on another machine large and ugly?
06-05-2012 11:32 AM
Truthfully, ALL of the Silver controls look ugly when you resize their graphic components. I have replaced the individual parts on controls in the past. But then, I happen to like doing graphics work and I'm likely to choose that as an option for any control. 🙂
Rob