×
INTELLIGENT WORK FORUMS
FOR ENGINEERING PROFESSIONALS

Log In

Come Join Us!

Are you an
Engineering professional?
Join Eng-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!
  • Students Click Here

*Eng-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

Jobs

Radio Frequency Data Management

Radio Frequency Data Management

Radio Frequency Data Management

(OP)
Hi everyone:

I'm involved in a project in which a reader with an antenna receives an RF signal from a transponder.  The reader then converts the signal into ASCII data and sends the data to an UART device which is interfaced to a PC via the RS232 serial port to process the information.  

My question is this:
What do I need to do to grab that data and send it to a database, preferably Microsoft Access, to monitor and manage the data? For example, at what time did data arrive, etc.

I'm using Visual Basic 6.0 for this project.

Extra information:
Baud Rate: 9600
Data length from transponder: 10 bits (1 start bit, 8 data bits, 1 stop bit, no parity)

Anybody's help will be greatly appreciated, thanks.

RE: Radio Frequency Data Management

To capture your data, use the MSComm control (it's in MSCOMM32.OCX)

The MSCOMM control example in VBHelp gives full info on events and properties to capture your data.

Use ADO to open your database (see ADO Help)

Use the Now() function to return current machine date & time

RE: Radio Frequency Data Management

Hi,

You give the properties only to the Mscomm control, rightnow you have to program the event Oncomm of that control, using select case with the variable commevent and in the case use number 2, use the Input property to capture the info, once do it, you must to store the data in a variable, use this variable to make the arrangement with a database.

Use the commands to access the database, if you need the sentences to use the MScomm control and the databases please confirm to me.

Fernando Sánchez

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Eng-Tips Forums free from inappropriate posts.
The Eng-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Eng-Tips forums is a member-only feature.

Click Here to join Eng-Tips and talk with other members!


Resources