02-19-2018 01:14 AM
I need to make a program where I can write a number on a numeric control and it will be displayed the name of the number on a string indicator.
example:
Write: 10, or 20, etc
See: Ten, or Twenty ,etc
And on the other hand write in words the number on a string controller, and display the number on a numeric indicator.
example.
Write: Ten, or Twenty ,etc
See: 10, or 20 ,etc
Thanks for the help, greetings!
02-19-2018 01:58 AM
Hi Jorquev,
I need to make a program where I can write a number on a numeric control and it will be displayed the name of the number on a string indicator.
I suggest to setup a dictionary of all the words you want to support (how big can those numbers grow?). Then use some algorithm to convert the numeric value into strings picked from your dictionary…
And on the other hand write in words the number on a string controller, and display the number on a numeric indicator.
This basically works the same: look for the input words in your dictionary to convert them back to numeric values.
Thanks for the help, greetings!
What have you tried so far?
Where are you stuck?
This is a great job to learn basic LabVIEW programming: is this some kind of homework?
02-19-2018 06:59 AM - edited 02-19-2018 07:00 AM
02-19-2018 08:32 AM
@GerdW@ GerdW wrote:
This is a great job to learn basic LabVIEW programming: is this some kind of homework?