08-16-2005 07:52 AM
08-16-2005 07:57 AM
08-16-2005 08:08 AM
08-16-2005 08:17 AM
Would you happen to have an example of how you would program this? I am not quite grasping how it should look. Thanks in advance.
Troy
08-16-2005 08:51 AM
Have a look at the attached VI. It uses a graph to simulate a chart (that's good if you have the data coming in at non-regular intervals).
Ignore all the stuff except the top left corner where a new data point is being created. It is built from an X value (time) and a Y value (random #). Then, look at the formatting for the x-scale. You will see it is set to display Absolute Time. That's it. Simple as that.
If you use a chart, you only feed the Y values, so you need to use the Offset and Multiplier properties in the beginning to get the X scale right.
To learn more about LabVIEW, I suggest you try searching this site and google for LabVIEW tutorials. Here and here are a couple you can start with. You can also contact your local NI office and join one of their courses.
In addition, I suggest you read the LabVIEW style guide and the LabVIEW user manual (Help>>Search the LabVIEW Bookshelf).
08-18-2005 02:22 AM - edited 08-18-2005 02:22 AM
Message Edited by Philip C. on 08-18-2005 02:22 AM
08-18-2005 08:33 AM
Philip - Thanks for the information. That really helped. I changed my VI and now it is working the way I originally wanted it to. One other thing. I am trying to clear the chart when starting the VI. All of the help I have searched in tells me how to clear charts that are using an array of double precision etc., etc. I cannot find out how to clear a charts history that is using waveform dbl. The help says to wire an empty array to the history property node but I cannot seem to get it. Any help would be appreciated.
Thanks,
Troy
08-18-2005 08:41 AM - edited 08-18-2005 08:41 AM
Message Edited by Novatron on 08-18-2005 09:42 AM
08-18-2005 08:46 AM
08-18-2005 08:52 AM - edited 08-18-2005 08:52 AM
Message Edited by Novatron on 08-18-2005 09:57 AM