+ Reply to Thread
Results 1 to 3 of 3

How to capture data flow listening the COM Port

  1. #1
    Registered User
    Join Date
    01-08-2020
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    2

    Question How to capture data flow listening the COM Port

    Hello Everybody,

    I hope somebody can help me.

    My Tester-device offers a *.CSV output through the COM Port (RS-232).
    It work fine when using its own data transfer tool.

    Laptop config: Win10 / Excel MS_Office_356 / RS-232-USB adapter

    Since the output is already adjusted by an automated VBA-Macro,
    I would simplify the process letting Excel even capture the Serial Data Flow.

    Is this possible?


    I'm not a VBA expert however I've found and tested several codes, as the one below.
    The code runs fine but no-data get captured, my opinion is that VBA is not really able to reach/listen the COM port.

    Any hint is welcome,
    thanks upfront for any suggestion,

    Massimo

    ------------------------------------------------------------------------------------------

    Please Login or Register  to view this content.
    -----------------------------------------------------------------------------------------------------
    Last edited by Maax; 01-08-2020 at 07:15 AM.

  2. #2
    Forum Expert Pepe Le Mokko's Avatar
    Join Date
    05-14-2009
    Location
    Belgium
    MS-Off Ver
    O365 v 2402
    Posts
    13,446

    Re: How to capture data flow listening the COM Port

    Administrative Note:

    Welcome to the forum.

    We would very much like to help you with your query, however you need to include code tags around your code.

    Please take a moment to add the tags. Posting code between tags makes your code much easier to read and copy for testing, and it also maintains VBA formatting.

    Please see Forum Rule #2 about code tags and adjust accordingly. Click on Edit to open your post, then highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here

    I did it for you this time. Please read forum rules. Thanks

  3. #3
    Registered User
    Join Date
    01-08-2020
    Location
    Netherlands
    MS-Off Ver
    MS Office 365
    Posts
    2

    Re: How to capture data flow listening the COM Port

    Hello Pepe,

    It is my first post, I was not aware of this.
    I read the rules now.

    Thanks helping me out
    Massimo

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. [SOLVED] Capture real time data/DDE capture
    By rajre in forum Excel Programming / VBA / Macros
    Replies: 15
    Last Post: 01-07-2022, 05:14 AM
  2. Physics Question. Electron Flow and Current flow
    By JimmyWilliams in forum Excel General
    Replies: 4
    Last Post: 11-08-2017, 12:01 AM
  3. Replies: 0
    Last Post: 11-18-2010, 04:36 AM
  4. Getting Data through RS 232 port
    By talebishi in forum Excel Formulas & Functions
    Replies: 2
    Last Post: 03-27-2008, 02:13 AM
  5. TCP port data in Excel
    By Akif in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-24-2007, 01:40 PM
  6. [SOLVED] Capturing Data from a Com Port or Printer Port
    By Newby :) in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 08-19-2005, 09:05 AM
  7. [SOLVED] Receiving data from a Lan Port
    By Ste in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 03-01-2005, 08:06 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1