From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
12-30-2008 06:18 AM
Hello all
I want to convert a decimal to a binary digit ( which i know)
BUT
i also want to dynamically change the wordlength of the binary number.
in the sense,
if the formula VI comes up with an answer N, i want a N digit binary number....
or comes up with an answer N+1, i want a N+1 digit binary number....
I hope you are understanding what i am trying to say...
Thanks in advance....
more kudos to give 🙂
Solved! Go to Solution.
12-30-2008 06:33 AM
12-30-2008 07:15 AM - edited 12-30-2008 07:16 AM
Hi there
i'm not sure i understood you right, but do you mean something like this ? (see attachment)
12-30-2008 08:01 AM - edited 12-30-2008 08:02 AM
Adnan Z a écrit:
I don't think you can pad zeros programatically.
Wrong ! 😉 😄 There is a property node for that !
12-30-2008 08:07 AM
12-30-2008 09:05 AM - edited 12-30-2008 09:06 AM
hum... something went wrong while pasting the picture. Here is a better view...
12-30-2008 09:37 AM
12-30-2008 10:40 AM - edited 12-30-2008 10:40 AM
Hi Adnan,
Lurking on the forums is the best way to learn... by yourself : once you are fluent with LabVIEW, there are questions that sound like challenges... and lead you to dig deeper into LabVIEW.