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!
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.
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?
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?
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.