08-23-2007 03:50 PM
08-23-2007 04:07 PM
Not sure where you might have seen people suggesting to not use a chart. A chart is perfect for displaying data as it is acquired. To make the x axis show the relative time between samples, just give a look at the shipping example called real-time chart. To change the start time to be zero, just wire a 0 to the XScale.Offset property.
The Write to Spreadsheet File is right oon the top of the File I/O palette.
08-23-2007 04:36 PM
08-23-2007 04:52 PM - edited 08-23-2007 04:52 PM
You've made a couple of mistakes. First, it looks like you copied the property nodes from the example into your block diagram. That's all right but you didn't link it to the chart that is in your VI. Right click on it and select Link to> and then select your chart. You'll have to change the data wired to the history property. Just right click on the property and select Create Constant. Second mistake was to wire the output of the Wait (ms). This is the actual millisecond value and not the time in milliseconds to wait. If you probe the wire you have, you will see the difference.
p.s. As a further refinement, you should wire the Time to measure control to the XScale.Maximum property.
Message Edited by Dennis Knutson on 08-23-2007 03:57 PM
08-23-2007 05:17 PM
Here's a 60second cleanup attempt, maybe it can give you some ideas. You really should start with some basic LabVIEW tutorials though.
There are probably much better way to design such a program. It all feels rather clumsy.
08-23-2007 05:18 PM - edited 08-23-2007 05:18 PM
Message Edited by Vikster on 08-23-2007 05:19 PM
08-23-2007 05:20 PM
08-23-2007 05:29 PM
08-23-2007 05:34 PM
08-27-2007 03:03 PM