10-27-2005 04:11 PM
10-27-2005 04:17 PM
10-27-2005 04:24 PM
Hi
I want to user to be able to enter a stream of binary data of length up to 4000 digits....so is there a way to do that? I dont want to use numeric because the stream is long.
Thank you
10-27-2005 04:47 PM
10-27-2005 05:10 PM
10-27-2005 06:34 PM - edited 10-27-2005 06:34 PM
One easy way is to use filtering events. In this particular case, you would discard the input except for the allowed keys. In order to be able to edit the entered string, you also want to allow e.g. backspace and delete in addition ot 0 and 1.
The attached simple example (LabVIEW 7.1) shows how to filter all inputs to the string control, except for the four keys mentioned above. Let me know if you have questions. Modify as needed.
Message Edited by altenbach on 10-27-2005 04:34 PM
10-27-2005 10:04 PM
10-28-2005 06:48 PM
10-29-2005 08:35 PM
LabVIEW, C'est LabVIEW
10-30-2005 01:11 AM
@Jean-Pierre Drolet wrote:
Another slight flaw is that the string accepts Enter for a new line. It is easily fixed by setting it to "Limit to single line".