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
 All Forums
 Origin Forum
 Origin Forum
 Realtime plotting using DDE?

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
amandari Posted - 01/30/2007 : 3:54:36 PM
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
4   L A T E S T    R E P L I E S    (Newest First)
zachary_origin Posted - 02/11/2007 : 05:35:47 AM
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.

Mike Buess Posted - 02/11/2007 : 03:18:44 AM
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
amandari Posted - 02/10/2007 : 8:16:15 PM
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?
zachary_origin Posted - 01/30/2007 : 9:05:46 PM
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.


The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000