11-28-2009 02:59 PM
Hi! My case is very simple, and it is so simple that i didn't find any question equal to mine.
How I do the backspace?
11-28-2009 03:41 PM
Uhm,
in which way is this related to LabVIEW?
You can use the backspace key, just as any other key on your keyboard. Most people find it the most convenient to use the little finger of their right hand to press the backspace key.
Seriously, what do you want, and what have you programmed so far?
Do you want to mimic a backspace on a string control on the FP?
Ton
11-28-2009 04:10 PM
I'm doing a keyboard, and i don't know how to do the backspace. I read a post that said that i have to use \b and select '\' Codes Display, but instead of a backspace, apears a square.
This is a part of my program: ( maybe will be necessary initialize de array - i put a , b, \b)
11-28-2009 10:30 PM
I don't quite understand what you are trying to accomplish. You said you're "doing a keyboard". What exactly does that mean? Are you trying to have a front panel that looks like a keyboard? Your code seems to imply that you want to have some sort of visual indication of something like keys being pressed, but the keys come from some array, or some other source. Please clarify this. What is the purpose of this? Is this related to your other question?
Comments regarding the code:
11-29-2009 04:58 PM
Hi! Thanks for the help. I've already solved this problem, but I have another. I want to erase all the text that is showed when i press a button.
But it can't be erased before my text be spoken. I jus't don't know how to do it. I read about some functions in the forum, like delete, replace substring, but I can't use any of them. This is a text program, whithout the part that do my output be spoken.
11-30-2009 01:39 AM
use a key event and (if you are using a string) put an empty string in the event when the button is pressed.
here is an example of an event key:
11-30-2009 08:57 AM
Manieri wrote:Hi! Thanks for the help. I've already solved this problem, but I have another. I want to erase all the text that is showed when i press a button.
But it can't be erased before my text be spoken. I jus't don't know how to do it. I read about some functions in the forum, like delete, replace substring, but I can't use any of them. This is a text program, whithout the part that do my output be spoken.
Your approach is all wrong. Do not continue with the current code you have. It's a really bad start. You didn't even listed to what I said about the auto-indexing and the disconnected outputs. Please try to use a better architecture, or you will find yourself in trouble later when you need to add to the code or modify it.
To learn more about LabVIEW it is recommended that you go through the tutorial(s) and look over the material in the NI Developer Zone's Learning Center which provides links to other materials and other tutorials. You can also take the online courses for free.
You can also review well-established architectures such as a state machine or the producer-consumer architecture. I don't know the scope of your project, so you may not need to go as far as the producer-consumer architecture, but you definitely do not want to stick with what you've got.