10-20-2014 06:19 AM
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.............
10-20-2014 06:20 AM - edited 10-20-2014 06:22 AM
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)!
10-20-2014 06:46 AM
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
10-20-2014 07:03 AM
10-20-2014 08:16 AM
That's cheating. 😉
/Y
10-20-2014 08:48 AM
@Yamaeda wrote:
That's cheating. 😉
/Y
Only if it's a homework assignment.