Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Plot data on a graph receiving from UART

Status
Not open for further replies.

PA3040

Advanced Member level 3
Advanced Member level 3
Joined
Aug 1, 2011
Messages
883
Helped
43
Reputation
88
Reaction score
43
Trophy points
1,308
Activity points
6,936
Dear All
My Temperature sensor is sending data to PC through serial port ( UART )

So I need to plot the graph using this data

It would be much appreciated any one can give me a software to plot this receiving data from serial port

Thanks in advance
 

Hi,

Just google on something like ' data input to Excel from serial port '
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Hello,


What is your O.S.
WinXP or ?

have a look on this
**broken link removed**
 
  • Like
Reactions: PA3040

    PA3040

    Points: 2
    Helpful Answer Positive Rating
Hello,


What is your O.S.
WinXP or ?

have a look on this
**broken link removed**



Dear paulfjujo,

Thanks for the reply

OS is Windows Xp

- - - Updated - - -

Hi,

Just google on something like ' data input to Excel from serial port '

Hi Dear;

Thanks for the reply

Can we able to do this using MATH LAB

Thanks in advance
 

hello,

Here is an open source application for charting data sent via RS-232 port in real time.
https://code.google.com/p/serialchart/

this works fine with coma separator
Do you know how to use semicolon delimiter instead of coma delimiter ?
because i saw somewhere to use
display_sep=,
but even i add in setup file
display_sep =;
or display_sep =%3B
or display_sep =59
only coma can be used as separator..

to test it, i use 2 com ports : COM1 and COM2 linked by a null modem cable
and 1 terminal Vbray for com1
dialogue is OK inside the data window of Serial Chart..
and on Port Com1 with this script, to send data to com2 (for Serial Chart)
Code:
program test1;

// rev 29 nov 2013
var i: integer;
var j: integer;
var k: integer;

begin
ShowMessage('Test Serial Chart using COM1'+chr(10)+chr(13)+ ' Send from IC UART1 19200,N,8,1 '+chr(10)+chr(13));
Delay(1400);
j:=0;
i:=0;
while (j<100) do
 begin
  while (i<10) do
   begin  
   //  str:= chr(i+48); 
    ComSendChr(i+48);
        ComSendChr(44);  // comma
      //  ComSendChr(59); // semi colon
        k:=j div 10 ;
        ComSendChr(k+48);
        k:=j mod 10;
         ComSendChr(k+48);
          ComSendChr(13);
     i:= i+1;
     if i>9 then i:=0;
    j:=j+1;
    if j>100 then j:=0;
    Delay(150);
   end;
  end;
end;
end.

and config.scc


Code:
#29-11-2013

[_setup_]
port=COM2  
baudrate=19200

#in pixels
width=1000
height=400
background_color =white

display_sep =;
display_sep =%3B
display_sep =59

grid_h_origin = 399
grid_h_step = 10
grid_h_color = #AFA
grid_h_origin_color = black

grid_v_origin = 0
grid_v_step = 10
grid_v_color = #AFA
grid_v_origin_color =black

[_default_]
min=-1
max=100


[section1]
param1 = value
param2 = value

[Field1]
min=0
max=100
color=#F00

[Field2]
color=blue
min=0
max=100
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top