LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

convert the data type

Hello,

 

I want to convert a number for example "1" for "00000001". How Ican do that??

0 Kudos
Message 1 of 5
(2,290 Views)

Hi nichts,

 

prepend 7 zeros before your "1". 😄

 

You really should explain what you want to achieve. Your example is just silly and doesn't explain the needed conversion...

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 2 of 5
(2,286 Views)

If it's a number indicator you can set it to binary mode.

/Y

G# - Award winning reference based OOP for LV, for free! - Qestit VIPM GitHub

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 5
(2,274 Views)

Hi,

 

numeric properties screenshot.png

0 Kudos
Message 4 of 5
(2,241 Views)

Do you want to CONVERT or just DISPLAY? I think you mean display as you have not mentioned converting a number to another type, and have mentioned displaying the message in another way. So yes, Binary display is the way forward.

0 Kudos
Message 5 of 5
(2,239 Views)