The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum for Programming
 Forum for Origin C
 Real time data capture from serial COM port
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

jaswong00

Posts

Posted - 06/15/2005 :  12:02:48 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin): Origin 7.5
Operating System:Window XP

Hi,
I have 18bits of stream data incoming from the COM1 port of my computer. I would like to have Originlab to do the real-time capturing every bit of the stream data into the column A worksheet. How can I write a program to do this? Can OriginLab support realtime capturing data through serial com port? Anyone please help. Thanks!

Jason Wong

Hideo Fujii

USA
1582 Posts

Posted - 06/15/2005 :  12:14:21 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Jason,

Probably the following module for the RS232C communication in OriginLab's "File Exchange" site may be helpful for your purpose.

http://www.originlab.com/FileExchange/details.aspx?fid=73

OriginLab
Hideo Fujii

Go to Top of Page

Leo_Li

China
Posts

Posted - 06/21/2005 :  07:23:06 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Just want to remind that you need to call rs_config() to set databits = 18:

rs_config(CBR_9600, 18, NOPARITY, ONESTOPBIT, TRUE);
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000