Home » Developer & Programmer » Forms » reading com port data
icon4.gif  reading com port data [message #153089] Thu, 29 December 2005 00:09 Go to next message
toufiq_raja
Messages: 39
Registered: May 2005
Location: Islamabad
Member

Hi to all Gurus...

i have a task ahead of me...
i have a time attendance machine which is connected to com port of my computer. i have windows XP and Forms 6i. i want to read the data through the com port.

i tried to use he MSComm controll to read the data. but its not working. can any one tell me how to read the com port data.

regards

raja toufiq
Re: reading com port data [message #153244 is a reply to message #153089] Fri, 30 December 2005 06:11 Go to previous messageGo to next message
RJ.Zijlstra
Messages: 104
Registered: December 2005
Location: Netherlands - IJmuiden
Senior Member
Hi Raja,

Faced a similar problem in Oracle 8. We have some blood-sampling machine, which detects all kinds of things in your blood you even don't want to know about (...).

Our solution was:
A college of mine wrote a Delphi program which read the com ports and put the data in text files.
As we never knew when new data was coming, I wrote an Oracle job that executes every 5 minutes. If the program which was executed by the job detected some new data-files, it read them and put the data in the appropriate way in the db itself.

You could of course use a C program and do all the necessary stuff in it.

Happy New-Year!
Re: reading com port data [message #153494 is a reply to message #153244] Mon, 02 January 2006 22:25 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Search this forum using 'read the com port data'. Other people have tried to do the same thing. They may be able to help you.

David
Re: reading com port data [message #153502 is a reply to message #153494] Mon, 02 January 2006 22:50 Go to previous messageGo to next message
toufiq_raja
Messages: 39
Registered: May 2005
Location: Islamabad
Member

well david i have searched the forum, but could not find relevant material.
Toufiq
Re: reading com port data [message #153509 is a reply to message #153502] Mon, 02 January 2006 22:58 Go to previous messageGo to next message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
But did you find the contact details of the people who asked the questions previously? Contact them and see what they did.

David
Re: reading com port data [message #156444 is a reply to message #153089] Wed, 25 January 2006 04:58 Go to previous messageGo to next message
toufiq_raja
Messages: 39
Registered: May 2005
Location: Islamabad
Member

i think no boddy have done any thing regarding reading com port data...
any clue, any idea, any work, related material will be highly appriated.

regards
raja toufiq
Re: reading com port data [message #193888 is a reply to message #153089] Tue, 19 September 2006 16:36 Go to previous messageGo to next message
Kevin Meade
Messages: 2103
Registered: December 1999
Location: Connecticut USA
Senior Member
does this version of forms support javabeans? If so, maybe you can find a free or cheap bean to do the work for you. You will have to write some java to make it into a forms pluggable component (or pay someone for it). but after that it should be piece of cake.

Good luck, Kevin
Re: reading com port data [message #294244 is a reply to message #153089] Wed, 16 January 2008 23:34 Go to previous messageGo to next message
motiur100
Messages: 1
Registered: January 2008
Location: Bangladesh
Junior Member
I like to get call log data in a text file from KX-TES824 a PBX machine using com port. I use vb.net. Is any one please help me to solve the problem
Re: reading com port data [message #294248 is a reply to message #294244] Wed, 16 January 2008 23:46 Go to previous message
djmartin
Messages: 10181
Registered: March 2005
Location: Surges Bay TAS Australia
Senior Member
Account Moderator
Can you read the file on the PBX machine? Maybe issue an ftp command to get the file from the PBX machine to your machine and then process it.

David
Previous Topic: Query Performance Issue in Oracle forms
Next Topic: uploading the file in database table
Goto Forum:
  


Current Time: Mon Feb 03 00:11:03 CST 2025