Last active
March 1, 2016 03:38
-
-
Save pedrogk/e8ac547625d89265779c to your computer and use it in GitHub Desktop.
Rutinas para generar perfil biometrico en base a dinámica de teclado usando THPCounter
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
begin | |
HPCounter1.Start; | |
end; | |
procedure TForm1.Edit1KeyUp(Sender: TObject; var Key: Word; Shift: TShiftState); | |
//alto al conteo al soltar la tecla presionada | |
var | |
valor : string; | |
valor1 : integer; | |
begin | |
Valor := HPCounter1.Read; | |
valor1 := strtoint64(Hpcounter1.read) div 10; | |
valor := inttostr(valor1); | |
ListBox1.Items.Add(Valor); | |
//aquí graficamos los datos | |
XYGraph1.AddPoint(H,Contador,strtoint64(Valor)); | |
Contador := Contador + 1; | |
//hacemos la gráfica usando el componente | |
XYGraph1.Paint; | |
end; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment