LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

addition of numerics of different formats

 

hello,

can anyone explain to me: why do "sum" and "result" have different results shown for the same operation? they both have the same format.

mille grazie !

 

(using labview 2011)

0 Kudos
Message 1 of 8
(2,828 Views)

Hi,

 

If you go to the second indicator, go to advanced edit mode, change the small t to a big T.  Or the reverse 🙂   ( %<%H:%M:%S>T )

 

edit **  but I got some kind of 24 hour thing going 😞

 

Edit 2 **  I could get them to both show 24 hour time the same using both with Big T.  But changing both back to little t gives same weird result.

 

Seems to make a difference if you change to advanced mode and back to be able to toggle the 24 hour button.   I'm wondering if the controls have some similar subtle difference.

 

 Edit 3 **  When I replace input 2 with a copy of numeric 2, it all sorts out.  Something funky with that input 2, not sure what. 

 

Interesting puzzle, I haven't used the time formats much, thanks for the incentive 🙂

-------
Mark Ramsdale
-------
0 Kudos
Message 2 of 8
(2,822 Views)

Hi,

I think the problem is a mix of relative and absolute time of the controls and indicators. I changed all settings to absolute time and everything works fine.

0 Kudos
Message 3 of 8
(2,783 Views)

thanks for the replies and the effort.

mark, i spent a lot of time trying to figure out if there is a difference between "numeric" and "input" but found nothing...one of those mysteries. i stuck to the big-T solution.

0 Kudos
Message 4 of 8
(2,779 Views)

I also found no difference between numeric2 and input2. How did you create input 2? Because with a new numeric input and the same settings everything works.

0 Kudos
Message 5 of 8
(2,772 Views)

i copied it out of a vi i was debugging. the vi was also created in lv2011.

0 Kudos
Message 6 of 8
(2,766 Views)

 

i hope i have the time to do so today: i want to compare each and every property of the two numerics.

0 Kudos
Message 7 of 8
(2,765 Views)

hI,

 

I used the control-drag to make a copy.  I think sometimes the controls can just go 'wonky'.  So deleting and replaceing is a valid option.  I could not find a difference between them, but making the change resolved the issue on my copy.

-------
Mark Ramsdale
-------
0 Kudos
Message 8 of 8
(2,750 Views)