Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Obtain Data from serial port

Status
Not open for further replies.

mkatz13

Technical User
May 26, 2003
17
US
We currently enter data using hyperterminal into a text file from a measuring device connected to a serial port.
I then use low level file functions to put the data into a record.


My question is, can I also use low level file functions in place of hyperterminal to "read" the serial port, as if the port was a file? I would imagine sending data both directions to communicate with the measuring device , in the same manner as transfer and capsure in hyperterminal.

Any ideas?

Thanks

Mike Katz
 
Hi

I seen that nobody had replied because, I think, it would be challenging. However you may want to look at a cheap software package called WinWedge, its very flexible and provides 2-way serial port comms. This could be exactly what ya need. Sorry to all for the plug, but here is a snippet of text:



WinWedge provides full 2-way serial I/O and control of your RS232 instruments.

WinWedge transfers serial data quickly, accurately, and formatted to your exact specifications.

WinWedge collects data on any serial port (RS232, RS422 or RS485) even multiple serial ports simultaneously.

WinWedge has powerful DDE support in Windows.

WinWedge also transmits prompts or commands out the serial (RS232/RS485) port to control or query your instruments directly from within other Windows applications or directly from WinWedge. Think of WinWedge as a fully customizable serial I/O device driver.




Good luck

Nathan

 
Thanks, I had seen this product's ads and it does seem to do the job. I just thought that perhaps I could keep it all within the app if I could pull the data fairly easily.

Like the Active X I believe called MS Comm??

Because I'm not in the programming business and do need to get this going, I probably will go with a canned product.
I can work it fine in hyperterminal though, but the startup screen et all bother me.

Thanks for the response. I do appreciate it.

Mike Katz
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top