Discussion:
How to convert decimal to binary in Labview
(too old to reply)
chilly charly
2005-09-14 20:43:16 UTC
Permalink
Depends on what you want to do.
If this is just a matter of display, you can simply change the display format. This works only for integer values :
1/ select the indicator type (U8, U16,...I32) : right click >> representation.
2/ ask for "binary" format : right click >> Format and Precision >> Binary
 
Is that what you were looking for ?
 
 
PaulG.
2005-09-14 20:43:16 UTC
Permalink
Try this. I'm sure there might be more elegant ways to do it but it's straightforward for a newbie. Have fun!
 
Paul


decimal to binary.vi:
http://forums.ni.com/attachments/ni/170/142568/1/decimal to binary.vi
JPD annoys The Annoying Thing
2005-09-14 23:43:18 UTC
Permalink
Like CC says, it depends on the format and data type of the source and
destination. Look at the attached VI to see how many ways to "convert"
and display a number there are...Welcome to LabVIEW!


Ultimate Conversion Chart.vi:
http://forums.ni.com/attachments/ni/170/142598/1/Ultimate Conversion Chart.vi
chilly charly
2005-09-15 19:43:18 UTC
Permalink
JPD, you really are a joker !
Since Ray's crack-pot idea of changing his user name some months ago, I have taken some dispositions just to go around these kinds of maneuvers. The List does not rely anymore on logins. Sorry to deceive you... But beware,  I could consider that as an agressive move that could cost you some stars ! :D:D:D
Loading...