02-10-2009 11:18 AM
I am able to control hardware using ASCII code. These strings can be up to 10 letters long and can take much of my time to give commands to this hardware. Is there a way that i can type in one ASCII key in order to correspond with a longer ASCII string. For example, one command is aIP1000S12R. Is it possible to program labview to read one letter and to convert it to this longer string?So i could type P into my program but the program would read aIP1000S12R?
This might be a ridiculous question, but i am new to labview
Thanks
02-10-2009 11:46 AM - edited 02-10-2009 11:49 AM
Hi Gillyme,
what about using a case structure?
Wire the string control (your input) to the selector of the case structure, create a case for each "command" you want to have and output the needed string from the case. You can make the case selector case-independent, if needed...
02-10-2009 11:55 AM
02-11-2009 09:26 AM
02-11-2009 09:37 AM