Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Communicating down RS232

Hi,

I'm trying to make Excel communicate with an external device down a
RS232 cable I want to send a command to it, which will then return a
value to Excel. Does anyone know how to start going about this.

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default Communicating down RS232

Doing serial communications directly in Excel can be extremely tricky.
The easiest way to do what you want to do is to use a program called
WinWedge from TAL Technologies (www.taltech.com)
WinWedge is a utility that is designed to run in the background and
feed incoming serial data directly to other programs by either
stuffing the data through the keyboard buffer (so that the data from
the device looks like it is being typed in on the keyboard) or it can
pass data to other programs using Dynamic Data Exchange (DDE) which is
fully supported by Excel.

WinWedge fully supports 2-way I/O so you can send commands or data out
the serial port to a device. It is also very easy to use and comes
with many examples for Excel.



On 16 Jul 2004 01:40:37 -0700, (Phil) wrote:

Hi,

I'm trying to make Excel communicate with an external device down a
RS232 cable I want to send a command to it, which will then return a
value to Excel. Does anyone know how to start going about this.

Thanks


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 42
Default Communicating down RS232

Doing serial communications directly in Excel can be extremely tricky.
The easiest way to do what you want to do is to use a program called
WinWedge from TAL Technologies (www.taltech.com)
WinWedge is a utility that is designed to run in the background and
feed incoming serial data directly to other programs by either
stuffing the data through the keyboard buffer (so that the data from
the device looks like it is being typed in on the keyboard) or it can
pass data to other programs using Dynamic Data Exchange (DDE) which is
fully supported by Excel.

WinWedge fully supports 2-way I/O so you can send commands or data out
the serial port to a device. It is also very easy to use and comes
with many examples for Excel.



On 16 Jul 2004 01:40:37 -0700, (Phil) wrote:

Hi,

I'm trying to make Excel communicate with an external device down a
RS232 cable I want to send a command to it, which will then return a
value to Excel. Does anyone know how to start going about this.

Thanks


  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 102
Default Communicating down RS232

Phil wrote:

Hi,

I'm trying to make Excel communicate with an external device down a
RS232 cable I want to send a command to it, which will then return a
value to Excel. Does anyone know how to start going about this.

Thanks


Just open COM1 as a file and use read or write statements.
Search the web for "Visual Basic" and "serial communication". Whatever
works for VB, also works for Excel/VBA.
Should be very easy!!!

--
Amedee Van Gasse using XanaNews 1.16.3.1
If it has an "X" in the name, it must be Linux?
Please don't thank me in advance. Thank me afterwards if it works or
hit me in the face if it doesn't. ;-)
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Capture RS232 data Michelle Excel Discussion (Misc queries) 3 September 27th 06 05:28 PM
rs232 with excel x Excel Discussion (Misc queries) 2 January 17th 05 09:25 PM
Communicating errors from a custom function in an add-in Thomas Smith Excel Programming 1 May 26th 04 09:00 AM
RS232 to Excel John Gittins Excel Programming 2 July 17th 03 11:14 PM
HELP - Communicating between C++ and VBA Benoit[_2_] Excel Programming 2 July 15th 03 03:03 PM


All times are GMT +1. The time now is 12:29 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"