The Daily CLAD

Community Browser
cancel
Showing results for 
Search instead for 
Did you mean: 

Re: Unit Label?

SercoSteveB
Active Participant

Before executing this VI a developer enables 'Unit Labels' from the right-click shortcut menu of both 'Constant Value In' and 'Numeric Value Out'. 

NOTE: The right click shortcut menu is accessed from the Block Diagram for 'Constant Value In' and from the Front Panel for 'Numeric Value Out'

If the Unit Label of 'Constant Value In' is set to km (as shown) and the Unit Label of 'Numeric Value Out' is set to m; what is 'Numeric Value Out' following execution of the VI?

Unit Labels 2.png

Unit Labels.bmp

Comments
crossrulz
Knight of NI

C


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
LordNobady
Member

C as I understand it LV takes the SI unit in consideration.


Learning LabVIEW since January 2013
Musale
Member

how can i create unit labels??

LordNobady
Member

Right click on the constant or the front panel control or indicator. select visible items, unit labels. now you can set the unit.


Learning LabVIEW since January 2013
mini09
Active Participant

C ....

SercoSteveB
Active Participant

Answer: C.  Nice one crossrulz, LordNobady & gnshmrthy.

Only found out about Unit Labels the other day, not sure what I think about it yet.  Any use cases out there?

ashwinilele
Member

C

AuZn
Member

Apparently English unit also works. But I just don't feel comfortable to leave unit conversion to LabVIEW.

Also, just came across this: Available Units in LabVIEW