Software that is intelligent enough to differentiate and save serial data into different file

Discussion in 'Programmer's Corner' started by kuannygohcheetatt, Sep 9, 2014.

  1. kuannygohcheetatt

    Thread Starter Member

    Oct 31, 2013
    61
    0
    Hi guys i am connecting my arduino to my computer. Is that any software that is intelligent enough to differentiate and save different data into different file?the file in here means like text file
     
  2. tshuck

    Well-Known Member

    Oct 18, 2012
    3,531
    675
    Does one already exist? Maybe, but I've never seen it.
    You can always write said program...

    What are the identifying characteristics of the data coming through the serial communications that tells you where to save it?
     
  3. MaxHeadRoom

    Expert

    Jul 18, 2013
    10,498
    2,364
    What is the nature of the data? Ascii? binary?
    I assume you mean save in the PC end?
    There are a few programs out there you may be able to use such as the ones used in CNC controllers, it is usually geared towards RS232, but you can get serial adapters to translate different from different protocols.
    Cadem Lite is one such free program.
    Also I don't know if the HyperTerminal program is still around that used to come with Windows?
    Do you mean you want to automatically save any file received to a new file?
    Max.
     
  4. kuannygohcheetatt

    Thread Starter Member

    Oct 31, 2013
    61
    0
    I will send something like sensor one data and sensor two data wirelessly to the arduino, the program should be intelligent enough to differentiate it and save it in different file, for the data send i can use different name, does a program like this exist?
     
  5. sirch2

    Well-Known Member

    Jan 21, 2013
    1,008
    351
    If it's serial data, what do you mean by "use a different name"? It's just serial data, it doesn't have a "name" but it may contain a header or something to indicate which sensor it came from. As tshuck said it sounds like you will have to write your own software.
     
  6. MrChips

    Moderator

    Oct 2, 2009
    12,414
    3,353
    Not likely that a program exists that does exactly what you want but you can create your own.
    You need a platform that allows you to create your own auto scripts or batch files.
    You can redirect serial data to a spreadsheet with the data streams sorted by sensors and then save the file as desired.

    This is also straight forward to do in MATLAB.
     
  7. GetDeviceInfo

    Senior Member

    Jun 7, 2009
    1,571
    230
    'Parsing' is a general term that could be applied to your needs. Some programming languages parse very well natively, others need to be told how.
     
    FroceMaster likes this.
Loading...