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
 Origin Forum
 Realtime plotting using DDE?
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

amandari

Canada
Posts

Posted - 01/30/2007 :  3:54:36 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Origin Version (Select Help-->About Origin):
Operating System:XP
To Whom it may Concern:
I was wondering if anyone knew if there was a simple means of doing the following:
I have a serial based data acquisition device which is grabbing two channels of data (say an x and y value) at 1 sample/second. I have no problem getting my DAQ programme to send this to Origin using DDE(to an excel sheet or to a worksheet within origin)...but I was wondering whether there was a way of plotting the values in realtime. Ie. DAQ system sends out x and y values, it gets plotted, then the graph gets updated with new points each time a new x and y point is sent out.

I realize this seems quite basic, but I'm a novice at the programming end of things. I've been using Origin for years as a research assistant and think its the greatest thing since sliced bread!

Regards

zachary_origin

China
Posts

Posted - 01/30/2007 :  9:05:46 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Here is a link for tutorial for real-time communication with LabVIEW (This is also avaible from menu Help: Origin: Interfacing With Other Applications> LabVIEW> Origin VIs for LabVIEW> Tutorials: Using Origin's Building-Block VIs> Tutorial 3 C Appending Data to an Origin Worksheet and Plotting in Real-Time ).

Regardness of the acquisition, the main idea to plot a real-time graph with Origin is to set the Axes auto-rescale, which is the 5th and 6th step in the tutorial.

Hope it helps.


Zachary
OriginLab Technical Services.

Go to Top of Page

amandari

Canada
Posts

Posted - 02/10/2007 :  8:16:15 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
I understand the use of the rescaling...
but in the examples, Labview is driving origin to do the graphing.
Is there a simple means by which dde data linked to an origin worksheet can be graphed in realtime from within origin without the use of Labview or other external programmes?
Go to Top of Page

Mike Buess

USA
3037 Posts

Posted - 02/11/2007 :  03:18:44 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
but in the examples, Labview is driving origin to do the graphing.
Not sure what you mean by that. The VI sends data from LabView to an Origin worksheet and a graph of that worksheet automatically rescales to show the new data. The VI does nothing to the graph. Isn't that what you want?

Mike Buess
Origin WebRing Member
Go to Top of Page

zachary_origin

China
Posts

Posted - 02/11/2007 :  05:35:47 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Maybe this one (To paste and link data:) is more simple. You can directly copy the data as a link from an excel sheet and plot the graph with data. If the source data changed in the excel sheet, the graph in Origin will also been automatically updated.

Zachary
OriginLab Technical Services.

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