03-11-2003 03:59 PM
03-12-2003 06:56 AM
09-11-2007 09:54 PM
09-12-2007 12:51 AM
@DonC wrote:
I also want to import a set of data from a spread sheet to create an arbitrary waveform as a drive source.
What type of file are you having ? If it is .csv or .xls file, you can very well use the VI in the previous post.
Can you explain more of your actual requirement ?
09-12-2007 11:28 AM
09-12-2007 05:22 PM
Hello Don,
Though I don't know how exactly you want to have this data be generated, you can import the data and change this into a waveform fairly simply. I have attached a VI that opens a CSV file that will plot a waveform of the data. It assumes that the data is whole numbers and does not linearly interpolate the data. So the plot has a lot of points that increase or decrease in the period of 1 second. Though this may not be the perfect code you need, this is a good basis for starting to get your data out and manipulate it. If you have any questions, please let me know.
09-13-2007 10:58 AM
Hi Don,
Here is a better example that uses the interpolate function. I adapted the Interpolate 1D array example.