LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Problem with numeric justification?

In Labview 8.2.1, I am unable to right-justify a system numeric indicator that is created by doing a right-click Create Indicator on the index value of a while loop.  The value is not completely justified to the right side of the box when I right-justify it.  It remains about 4 character widths to the left of th eright side of the box.  If I create a system numeric control, however, and create an indicator for it in the exact same fashion, the right-justify works as expected.  Anyone know why this is? 
0 Kudos
Message 1 of 8
(3,102 Views)
Hello,

I'm using the same labview version, but doing the same as you, I'm not having the same problem. In my case, the number it's correct.


Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 2 of 8
(3,090 Views)
Are you sure you did the same thing?  In my Front Panel options for LabVIEW, I have my default Control Style set to System Style.  I just tried the same operation after setting my defaults to Classic Style, and the right-justify works on the while loop index indicator.
0 Kudos
Message 3 of 8
(3,078 Views)
I've done the following:

1 - create the while loop
2 - create an indicator for the index
3 - selected the indicator on the front panel
4 - pressed the combination of keys (ctrl+0)
5 - right justified

And all seems to be ok.

If you need more help, post an example.
Software developer
www.mcm-electronics.com





PORTUGAL
0 Kudos
Message 4 of 8
(3,070 Views)

I did the exact same thing as you, and it does not justify all the way to the right side of the control.  A sample VI showing what I get is attached, as well as an image.

Download All
0 Kudos
Message 5 of 8
(3,057 Views)

Wired,

I see the same thing with the system control. It seems that when an indicator is created, instead of using the System Numeric, the default is to use the System Spin Control. The space you are seeing is for the spinner. If you right click on your indicator and replace it with the System Numeric, the space to the right of the number goes away. I'm not sure if this is a bug or not. The same control is used when doing a create indicator or create control and someone decided that the spin control is going to be the default.

0 Kudos
Message 6 of 8
(3,056 Views)
Thanks for the confirmation, Dennis.  I also noted that replacing it with a sytem numeric fixed it.  FWIW, spinning a numeric indicator doesn't make a whole of sense to me ;). 
0 Kudos
Message 7 of 8
(3,049 Views)
Me neither but a control with a spinner makes more sense than a control without. For create control or create indicator, it's probably not possible to use two different types but it would be nice if you could select the default type to use.
0 Kudos
Message 8 of 8
(3,044 Views)