ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

to convert an integer into word

How do I convert an integer into word in labview. That is for example my input is 100 and  I want "one hundred" as output. I am using Labview 2011.Please help me.............

0 Kudos
Message 1 of 6
(3,836 Views)

Hi ssengupta,

 

you need to create your own conversion routine (or search for a VI made by someone else).

There might be some helpful entries in the Tools networks. Search teh "Community" menu of NI.com…

 

Hint: look for examples dealing with "TTS" (text to speech)!

Best regards,
GerdW


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

Quotient and remainder with an word-list and exponent with a exponent word-list.

e.g. 123 = x

log 123 = 2.1 ==> 2 rounded down = y

While{

  quotient(x-10^y;10)=z

  Get wordlist(z)

  Get exponentlist(y)

  x=x-10^y

  y--

}

 

Then it'll get a little messy with 11-20. 🙂

 

/Y

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

Qestit Systems
Certified-LabVIEW-Developer
0 Kudos
Message 3 of 6
(3,804 Views)

There's an app openg for that.

 

Example_VI.png

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 4 of 6
(3,795 Views)

That's cheating. 😉

/Y

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

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

@Yamaeda wrote:

That's cheating. 😉

/Y


Only if it's a homework assignment.

Jim
You're entirely bonkers. But I'll tell you a secret. All the best people are. ~ Alice
For he does not know what will happen; So who can tell him when it will occur? Eccl. 8:7

Message 6 of 6
(3,768 Views)