Re: PC Com Port data capture....
- From: "Jeffrey Kaufman" <jkaufman@xxxxxxxxxx>
- Date: Tue, 25 Oct 2005 15:07:41 GMT
Note this method burns a user license by running full time on a serial port.
This program assumes your scale sends a single character string with a
carriage return at the end of the string as most do.
write the program:
SOURCE "PORT.LISTEN"
OPEN "FILENAME" TO FNAME ELSE STOP
SEQ=0
*
START:
INPUT STRING
IF STRING#"" THEN
SEQ=SEQ+1
WRITE STRING ON FNAME,SEQ
END
GOTO START
*
END
compile and catalog the program
create a system pointer:
SYSTEM "PORT.LISTEN"
Q
account name
create a users pointer:
USERS "PORT.LISTEN"
..
..
18 TO PORT.LISTEN
log on the serial port to the program:
LOGON port#,PORT.LISTEN
"sf" <junk@junk> wrote in message news:11lsa6nqdui3h90@xxxxxxxxxxxxxxxxxxxxx
> Looking for someone with experience in PICK D3 to take an existing program
> that runs on a PICK port, "listening" for data input and writes the
received
> input to a record in the D3 database that is then used in other
> applications. Moving to D3 windows, we need this application to "listen"
on
> the comm or serial port of a PC and take the same information and write it
> to the database record.
>
> I can provide the original program written in basic for someone to convert
> to work listening on a PC serial port. This is for a scale application.
The
> input through the PC has been established using Oracle but the Oracle
> project has been canned. Anyone interested in taking a look?
>
> Please respond via email to sficarro@xxxxxxxxxx and with an expected cost
if
> known.
>
> Thank you
>
>
>
.
- References:
- PC Com Port data capture....
- From: sf
- PC Com Port data capture....
- Prev by Date: Re: PC Com Port data capture....
- Next by Date: Re: Data source options
- Previous by thread: Re: PC Com Port data capture....
- Next by thread: Re: PC Com Port data capture....
- Index(es):
Relevant Pages
|