본문 바로가기

카테고리 없음

Serial Port Data Logger Chart



Need a good serial port logging tool [closed] Ask Question. Up vote 11 down vote favorite. You can use the Eltima's splitter with Advanced Serial Data Logger. Get data from the serial port into Excel with free serial and TCP/IP data logger software. Connect RS232, RS485, Ethernet, Internet and Modbus instruments. I read some data from serial port. That the resolution of the screen means that if you are plotting more than 3000 points or so you don't get a 'better' chart.

  1. Electrical Data Logger
  2. Data Logger For Drag Racing
  3. Data Logger Water
Active3 years, 10 months ago

I'm working on an embedded system and it uses one serial port for all it's logging purposes.

Electrical Data Logger

Is there a tool out there that allows you to filter lines into different windows (or remove them altogether) so that I can separate the output of the various logging sub-systems and remove spam messages that show up multiple times a second?

I'd prefer an open-source solution, but a highly-recommend closed product might do.

Bill KBill K
54.9k13 gold badges87 silver badges140 bronze badges

closed as off-topic by Machavity, Pang, Makyen, Paul Roub, Petter FribergMar 17 '17 at 20:35

This question appears to be off-topic. The users who voted to close gave this specific reason:

  • 'Questions asking us to recommend or find a book, tool, software library, tutorial or other off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.' – Machavity, Pang, Makyen, Paul Roub, Petter Friberg
If this question can be reworded to fit the rules in the help center, please edit the question.

10 Answers

I've never thought of doing such a thing, but here's one product that might do the trick: Eltima Serial Port Splitter. It claims to be able to take one COM port and turn it into multiple virtual ports to connect to many applications. You might be able to take each application and just look at one kind of output.

Personally, I would just write a python script with PySerial and something like PyQT or wxPython (GUI libraries) to filter the data to different windows. It's an easy language to learn and makes a handy tool for embedded systems development for things such as this.

SerialJay AtkinsonJay Atkinson
2,6861 gold badge21 silver badges39 bronze badges

I would do the following:

Use Python.

  • Use Python's logging module
  • Use 3rd-party pySerial module

Write a Python program to read the serial data from the device, and translate it into log item for Python's logging module.

  • If your device's log messages have some sort of source identifier, translate that to a Python 'logger' name according to your needs, using the getLogger() function. You can define logger names any way that you need, e.g. to define log source or category.
  • If your device's log messages have a severity indication, translate it to the lvl parameter to the logger's log() method. Otherwise just use one of the logger methods such as info().

Make use of the Python logging module's config file feature to filter the data as you want in a particular situation.

  • You can filter particular log items by severity and logger name.
  • You can log to multiple destinations: You can filter and print certain log items to screen, and at the same time filter and print certain log items to one or more files. You can mix these in any combination that you want. It's very flexible.
  • You could have several logging config files, for several different logging purposes, and simply specify which one you want to use via the command line each time you run your program.

I've used Python's logging module with config files to set up my filtering, and it's really terrific.

Craig McQueenCraig McQueen
28.4k25 gold badges102 silver badges158 bronze badges

You can use the Eltima's splitter with Advanced Serial Data Logger, this software has several filter plug-ins that can filter out unnecessary messages.

Helen DownsHelen Downs

I guess it will depend on the format your logs have. If they looks like (or you can make them look like) the syslog format, you can try the following:

AlejandroAlejandro

I would personally use the Python method described above, but another (relatively easy) way to go about it would be to use sed. Home driving simulator software for mac.

Build a couple different filters to show precisely what you want from the stream, and then pipe in tail -f of your serial device file.

Paul McMillanPaul McMillan
16.7k7 gold badges48 silver badges68 bronze badges

SmarTerm allows you to connect to many different serial ports in a tabbed interface. It also has a Visual Basic like scripting language that allows you to write scripts for different needs. I wrote quite a few scripts for updating embedded software and also automating the saving of logs in multiple tabs.

Mark NorgrenMark Norgren
1,1345 gold badges21 silver badges28 bronze badges

Try Powershell. You obviously need to add filtering, but this should get you started

Mathias FMathias F
9,21118 gold badges70 silver badges136 bronze badges
sanmaisanmai
11.4k8 gold badges44 silver badges68 bronze badges

My first choice is to always run PortMon (originally from SysInternals). It has a filter option where you can type in strings to include, exclude, or highlight:

I have used this for years on Windows NT/2000/XP with great success.

Hopefully, you're running a 32-bit Windows OS, because if you're running 64bit, you'll have to go with something like Eltima's product.

https://ansiaprocin.tistory.com/16. Download aerosmith discography 320 torrent free shared files. Aerosmith What It Takes.mp4.torrent from all world's most popular shared hosts.

DaveDave
9,66712 gold badges76 silver badges136 bronze badges

There's always the venerable protocol analyzer.

You might only get one color on the screen, but it's a platform independent serial port logging solution.

WildCrustaceanWildCrustacean
5,1661 gold badge26 silver badges40 bronze badges

Not the answer you're looking for? Browse other questions tagged debuggingembeddedserial-port or ask your own question.

  • Advanced Serial Data Logger

Advanced Serial Data Logger

Trust In Confidence!

For Windows 2000 - Windows 10 (2019) (incl. Server, x86 and x64). Latest version: 4.4.2 build 807. August 7, 2019.

Internet-Explorer YouTube Video downloader is the perfect way to download YouTube videos in IE in only one click! Internet explorer youtube downloader plugin. Easy YouTube Video Downloader for Chrome 4.1. Download YouTube videos with an easy to use browser extension. Internet Explorer users are out of luck. Jun 11, 2014  The Best IE Video Downloader. After their simple and easy-to-use interface. Internet Explorer is great for. To download most any videos and not just YouTube. This article will teach you how to choose the best video downloader for Internet Explorer and the easy steps for downloading videos in Internet Explorer.


Download a Free Trial Version. It allows you to try all features! Plugins can be downloaded separately here

Problem scenario:

I want to connect an RS-2322 port to MS Excel. The port will provide a stream of ASCII numeric characters to Excel. I want Excel to automatically receive and graph the ASCII data, sort of like an oscilloscope. I can control the format of the incoming ASCII data.

Public Speaking in Diverse Society. Public Speaking in a Diverse Society; Media Edition. Public Speaking in a Diverse Society. Public Speaking in Diverse Society 4th (fourth) Edition by Patricia Kearney; Timothy G. Plax [2012] Public Speaking in a Diverse Society; Media Edition 3rd edition by Patricia Kearney, Timothy G. Culturally diverse society. Workbook 3rd edition PDF files. Public Speaking in Diverse Society 4th (fourth). Public Speaking in a Diverse Society. Public Speaking in a Diverse Society, 1996, 481 pages, Patricia Kearney, Timothy G. In today's diverse society, public speakers need an awareness of their audience. Become more effective public speakers. Discussion of the. A Contemporary Approach to Public Speaking. And assistance in piloting the materials contained in both this manual and Public Speaking in a Diverse Society.

Fig.1. Serial port data and Excel. Data captured

Requirements:

  • Advanced Serial Data Logger Professional, Enterprise, or trial version;
  • ASCII Data Query and Parser

It is assumed that:

You've configured communication parameters (baud rate, number of data bits, flow control etc) in the data logger and can receive any data without communication errors.

You can work in Microsoft Excel, specifically create charts in an Excel file.

Data logger water

Solution:

The image above shows that the data flow is very simple, but we should extract data variables from a report with multiple rows. At the same time the figure doesn't contain non-printable characters and doesn't show ending characters of a data packet. We need to recognize ending characters of an each data record. Please, enable display output for non-printable characters with a character code below than 0x20h. You need to create a port configuration. Please, click the 'Plus' button in the main window if you didn't make it before and set the following options.

Fig.2. Serial port data and Excel. Serial data view setup

Then click the 'OK' button and try to receive the data from a port. You should receive the data like on the figure below.

Fig.3. Serial port data and Excel. Data received.

This is the other view of the data received. Notice that all non-printable characters were replaced with their code i.e. #0D. It is clear from the data screen above, that the data block (within the green rectangle) starts with TLFLOW and ends with three pairs of CR+LF characters (#0D#0A#0D#0A#0D#0A) (underlined by red).

Serial Port Data Logger Chart

We are now ready for configuring of the modules. First, select the 'ASCII data query and parser' plug-in (fig.4a, pos.1) from a drop-down list. Then, enable a parsing option for data received (fig.4a, pos.2) and select the necessary data export plug-ins. The DDE server (fig.4b, pos.3) will help us to check that the data packet is parsed and exported. The 'Direct Excel Connection' plug-in will write data directly to a Microsoft Excel spreadsheet.

Fig.4a. Serial port data and Excel. Data parser plug-in.

Fig.4b. Serial port data and Excel. Data export plug-ins. New version of opera mini free download for android mobile.

Now, please, open the ASCII parser and query configuration window by clicking the 'Setup' button near a drop-down box (fig.4a, pos.1). The dialog window below will appear on the desktop (fig.5).

Fig.5. Serial port data and Excel. The parser configuration window.

The configuration process should be very simple if you have examined your data flow in the data logger window (fig.3). You should type in the same as in the data logger window in fields 1 and 2. Field #1 marks the beginning of the data block and the field #2 marks the end. In this example, our data block contains both markers. Therefore, all fields are not empty. The values to be typed in here are as underlined in red in fig.3 above. Because the report in this example is very long, then we should increase the 'Timeout' value (fig.5 pos.#3) to prevent losing of a data. The option at pos.4 allows you to use the start marker in the parsing process.

Bearshare for mac. You can even listen to free streaming radio stations with iTunes Radio.With amazing new capabilities and updates to features you use every day, iOS 8 is the biggest iOS release ever.The latest version of OS X features an elegant design, includes enhancements to the apps you use most, and enables your Mac and iOS devices to work together in new ways.Safari extensions are a great way for you to add new features to Safari.

The next tab is a very important part of the parser configuration. The data parser uses this information for data extraction from the data block. In the example, the data block contains 28 data items (see fig.1) namely: DDATE, DTIME, TLFLOW, TLVOLM and so on, which should be separated out to different variables. Later, these variables will be used in the data export and will be placed in different columns of our excel file. The file with all variables you can download here and load it on the 'Data parsing' page (fig.6 pos.#8).

Fig.6. Serial port data and Excel. Parser items.

Any new items may be added by clicking the 'Add item' button (fig.6, pos.7). Before adding an item the program will ask you about an item description. You can type any characters here, which will help you to remember a variable's content. For this example all 28 variables with their corresponding descriptions have been added.

Each parser item has a number of properties:

  1. Item name - this name will be bound to a column in the data export plug-in. It is a limited text description and cannot contain spaces and a few other characters;
  2. Parser's type - is a method, which the program will use for data extraction. Our parser has a few methods from simple to most powerful. In this example, where data items are placed in a variable place, we should use the most powerful method - regular expression. This method allows you to extract a data from any position of the report by mask. This mask can be widely transformed and adapted to characters in the report;
  3. Data type - is the data type of the characters extracted. For example, you can specify FLOAT, DATE, TIME or STRING data types. The data will be converted to the conversion type later, in the data export module. The data type here is being used for formatting of the value, which will be specified on the 'Data formats' tab later. In the example, we'll use the FLOAT data type for all number, the DATE type for date and the TIME type for time values;
  4. Default value - the value specified here is to be used when data cannot be extracted from a data block. In this example, some numbers may not exist in the reports, therefore we should define a default value for all variables;
  5. Regular expression - in this example we need numbers or strings, which follow by dot or the ':' character in several places of the report. For example, a regular expression will as following: TLVOLM: ([-d.]+). Here, the expression in parenthesis is our number, which we should extract to a variable. Please, search in Google for a detailed description of regular expressions;
  6. Entrance position - all our values are present in the report once only, therefore an entrance position for each variable is 1.

All other items have identical parameters, except a data type and a regular expression.

In the next tab, you can specify basic format options as per (fig.7). In this example two variables have 'date' and 'time' data types. Therefore the first option allows you to convert the date string to a field with the 'date' data type. We specified MM'.'DD'.'YY and HH'.'NN'.'SS here, according to the specification above. For a detailed description of formatting characters, please, see the help file. The second option allows you to convert the time string to a field with the 'time' data type.

Fig.7. Serial port data and Excel. Format of items.

Other options are unnecessary in our case, because all our items do not have the 'datetime' or 'string' data type. Windows usb drive controller driver.

Click the 'OK' button and close the parser configuration window. Then click the 'OK' button in the options window.

Now that our parser is ready it is time for testing it. Connect your device and power it on if necessary. Check to see if you are able to receive a data block from the specified port. If the parser had been correctly set up, then you should see all parser items names and their values (fig.8) in the DDE server window below.

Fig.8. Serial port data and Excel. DDE server window.

Data Logger For Drag Racing

All parser variables are now ready for export to an Excel spreadsheet. You can read about it in the second part.

It won’t interrupt your download and usually it happens when the download is completed. Red vs blue complete series download torrent. If you facing this at the time when you are trying to start you download then try downloading another torrent link file, or just try to update the information for trackers, you can find this option by right clicking on the file name, when the file is open in torrent download client. Red arrow in torrent or utorrent indicates a problem with one of the trackers, a tracker may be offline or it is no longer a valid tracker, but that is not a big issue.

Related articles:

Read more about:

Copyright © 1999-2019, AGG Software.

Data Logger Water


All rights reserved. Terms of use | Privacy policy
  • |
  • |
  • |
  • |
  • |
  • |
  • |