01-28-2010 06:57 AM
Hi,
I have a text file delimited by commas. A sample of it is shown below.
1545.0000, -23.327
1545.0025, -23.331
1545.0050, -23.340
1545.0075, -23.349
1545.0100, -23.357
1545.0125, -23.368
How can I generate a 2D array with the set of values above?
Thanks!
01-28-2010 07:22 AM
01-28-2010 07:55 AM
What Adnan has said is right. Just to help you out, I creasted a CSV file and read it using the 'Read from Spreadsheet File VI'. I have pasted the block diagram of the VI to make it clear. Make sure to use "," as the delimiter.
Hope this helps!!!
Cheers!
04-16-2010 01:52 AM
Thanks Adnan and Mani!
Another question, how do I feed this to a zero phase filter and FIR filter to generate 3 waves (including original source from 2D array) in the same graph to compare for phase distortion?
04-16-2010 07:21 PM
1. Input these data in to those filter function.
2. Use build waveform function to change filtered data to waveform.
3. Use build array to build array of waveform.
4. Input array of waveform to spectral measurement function.
Note: original data must be time domain, and don't duplicate the post.
04-17-2010 03:07 AM
Sorry, my bad.
Is is possible for you to attach a picture of the layout integrating the 2D array from the textfile you have describe?
Thanks.