LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Resize Vertical Arrow Decoration

Using LV8.5.1, I'm unable to resize a vertical arrow decoration using the "Set Width and Height" layout tool.  Nothing happens when I select Apply Height. 



What am I missing?  Is this a bug?

Thanks,
Derek



Message Edited by Derek Price on 06-12-2008 10:00 PM
0 Kudos
Message 1 of 15
(4,105 Views)
I agree this looks like a bug. Once one of the dimensions is zero (horizontal or vertical), the resize dialog no longer works.
0 Kudos
Message 2 of 15
(4,091 Views)
This is very frustrating when trying to draw multiple decorations and have them line up correctly.  Any ideas on a workaround?

Thanks,
Derek
0 Kudos
Message 3 of 15
(4,069 Views)
The properties work, so you can try modifying the VI attached here and use that to change the size of all decorations.
 
I can think of two convenient ways to do this.
 
First, you can replace the existing dialog with your own VI. In your VI, you can test if the objects are decorations and if not, call the current VI. To do this, you will need to edit <LabVIEW>\resource\dialog\Resize.llb. If you do this, make sure to create a backup of the LLB so that you can revert to it if necessary.
 
The other option is to have this as a Tools menu option. You can see how to do this here. If you want a specific example, the Code Capture Tool is a nice one.

___________________
Try to take over the world!
0 Kudos
Message 4 of 15
(4,062 Views)

General comment on this issue.

Please correct me if I get this wrong.

Most of LV's graphics are 2-d are can be scribed by a top left corner and a bottom right corner. The exception to this statement are the line decorations. The difference between these two type can be seen when replacing a needle on a guage with one of the line decorations. They WILL rotate correctly. But if you replace the needle with a flat box decoration, the box will not rotate.

So in both case (line and rectangle) there are two points that define the object but how that definition is used differs.

I know this does not help with above problem but I hope it help sus understand a little bit more about the working of LV.

Again, correct me or enhace as you see fit.

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 15
(4,046 Views)
Ben. Line decoration can easily be resized as long as they are not horizontal or vertical. Only once they are, things start to get weird.
Once they are horizontal or vertical, the length is no longer accepted and even if you change the width (which is now zero) back to a valid number, nothing happens.
0 Kudos
Message 6 of 15
(4,028 Views)

Hi Derek,

I replicated this same problem and also searched through our corrective action request database for a previous bug report and wasn't able to find anything.  It does look like a bug, I'll create a corrective action request and see if we can find a work around for you.  Thanks.

Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 7 of 15
(3,985 Views)
Hi Stephen,

Thanks for the update!

Derek
0 Kudos
Message 8 of 15
(3,970 Views)

Hi Stephen,

Do you have a CAR for this yet?

Ben

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 15
(3,946 Views)
I have put in a corrective action request #116754 for this issue.  It actually affects all of the line decorations.  Thank you for your help gentlemen.  I should get more information after this request is processed through R&D but in the mean time, if you readjust the decoration with your mouse so that it is not verticle or horizontal, the dialog box will respond.  Of course, if you are doing this during runtime I realize that this isn't much of a work around.  Like I said, after the request has been processed with R&D we may be able to find a better work around.  Thanks.
 
Stephen S.
National Instruments
1 Test is worth 1000 expert opinions
0 Kudos
Message 10 of 15
(3,928 Views)