Arsip: RS-232 conection
more 16 years ago
wawanva
All delphi mania, mhn bantu nih konek timbangan digital dengan rs-232 gimana ya..
more 16 years ago
mas_kofa
contoh pake TAPRO :
unit Excom0;
interface
uses
WinTypes, WinProcs, SysUtils, Messages, Classes, Graphics, Controls,
Forms, Dialogs, StdCtrls, AdPort, OoMisc;
type
TForm1 = class(TForm)
ApdComPort1: TApdComPort;
Test: TButton;
procedure TestClick(Sender: TObject);
procedure ApdComPort1TriggerAvail(CP: TObject; Count: Word);
private
{ Private declarations }
public
{ Public declarations }
end;
var
Form1: TForm1;
implementation
{$R *.DFM}
procedure TForm1.TestClick(Sender: TObject);
{TestClick button click - Send output}
begin
ApdComPort1.OutPut := 'ATZ'^M;
end;
procedure TForm1.ApdComPort1TriggerAvail(CP: TObject; Count: Word);
{Event OnTriggerAvail - Example how OnTriggerAvail works}
var
I : Word;
C : Char;
S : String;
begin
S := '';
for I := 1 to Count do begin
C := ApdComPort1.GetChar;
case C of
#0..#31: {Don't display} ;
else S := S + C;
end;
end;
ShowMessage('Got an OnTriggerAvail event for: ' + S);
end;
end.
more 16 years ago
air_2one
bos nanya donk
g punya timbangan yang konek ke pc dengan kabel com,
g uda colok, nyalain timbangan, timbangan nya sih jalan,
tapi gimana caranya y biar pc bisa nerima data dari timbangan???
g uda coba script diatas, tapi ga muncul apa2??
soale g nubi nih soal ginian,
pleasssseeee helpppppp, thanx ya....
more ...
- Pages:
- 1
reply |
Report Obsolete
Last Articles
Last Topic
- PascalTalk #6: (Podcast) Kuliah IT di luar negeri, susah gak sih?
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #5: UX: Research, Design and Engineer
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #4: Obrolan Ringan Seputar IT
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #2: Membuat Sendiri SMART HOME
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #3: RADically Fast and Easy Mobile Apps Development with Delphi
by LuriDarmawan in Tutorial & Community Project more 4 years ago - PascalTalk #1: Pemanfaatan Artificial Intelligence di Masa Covid-19
by LuriDarmawan in Tutorial & Community Project more 4 years ago - Tempat Latihan Posting
by LuriDarmawan in OOT more 4 years ago - Archive
- Looping lagi...
by idhiel in Hal umum tentang Pascal Indonesia more 12 years ago - [ask] koneksi ke ODBC user Dsn saat runtime dengan ado
by halimanh in FireBird more 12 years ago - Validasi menggunakan data tanggal
by mas_kofa in Hal umum tentang Pascal Indonesia more 12 years ago
Random Topic
- Mau yang baru
by canoey in Tip n Trik Pemrograman more 18 years ago - Bikin Stack lewat Delphi ??
by kacungdelphi24 in Bedah Kasus more 16 years ago - Load Data Besar, Gimana ?
by budi_bunga in MySQL more 17 years ago - fingerprint
by gita in Hal umum tentang Pascal Indonesia more 16 years ago - tanya ascii
by ficky in Hal umum tentang Pascal Indonesia more 12 years ago - Cari Data di table
by tAtA in Tip n Trik Pemrograman more 16 years ago - menghentikan proses looping
by kabuki_enemy in Tip n Trik Pemrograman more 17 years ago - input hanya untuk 0..9
by ndak_ngudeng in Hal umum tentang Pascal Indonesia more 17 years ago - Akses Component TEdit, TMemo, dll dr aplikasi lain......
by mas_kofa in Multimedia & Graphic Enhancement more 17 years ago - bagaimana cara komputer membaca perintah dari sms
by ismail069 in Tip n Trik Pemrograman more 18 years ago