12-03-2006 08:04 PM
12-03-2006 08:34 PM - edited 12-03-2006 08:34 PM
You just have to use the Read From Spreadsheet as shown below. If you put those values in a text file (without that '>>x=[' and '];' stuff, you'll get a waveform like the other picture shows. Because there is no sampling information, you will have to provide you own dt. This is pretty simple stuff. You should check out the resources for learning some of the LabVIEW basics at http://zone.ni.com/devzone/cda/tut/p/id/5054.
Message Edited by Dennis Knutson on 12-03-2006 07:38 PM
12-04-2006 07:57 PM
12-04-2006 08:46 PM
12-04-2006 11:51 PM
12-05-2006 12:06 AM
12-05-2006 08:04 AM
I can't open your VI but if you are getting a prompt for the file to load, then all you have to do is replace the path control with a constant.
It also sounds like you have gaps in the text file or in some way the data is not continuous. You could always do some sort of interpolation. Why don't you attach the text file. That I can read.
12-05-2006 03:38 PM
12-05-2006 04:00 PM - edited 12-05-2006 04:00 PM
This is what I get when I read the file. I used the same code as what I posted before except I changed the transpose input to false because I had assumed that you would have a single column in the file as the data was shown in your first post. You have a single row instead.
Message Edited by Dennis Knutson on 12-05-2006 03:01 PM
12-05-2006 06:01 PM