LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VISA drop down arrow size

Solved!
Go to solution

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

Thomas Lentzner - CLD
0 Kudos
Message 1 of 19
(4,054 Views)
Solution
Accepted by TLentzner

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.

0 Kudos
Message 2 of 19
(4,043 Views)

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

Thomas Lentzner - CLD
0 Kudos
Message 3 of 19
(4,016 Views)

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

Message 4 of 19
(4,008 Views)

@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

 

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 19
(4,004 Views)

@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

Message 6 of 19
(4,001 Views)

@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.

0 Kudos
Message 7 of 19
(3,996 Views)

@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). 

Thomas Lentzner - CLD
0 Kudos
Message 8 of 19
(3,994 Views)

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?

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 9 of 19
(3,991 Views)

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

Message 10 of 19
(3,983 Views)