01-17-2008 03:00 PM
01-17-2008 03:32 PM - edited 01-17-2008 03:32 PM
Jim,
Since you already have a delimited text file, why not try the Read from Spreadsheet File.vi. Just remember to set the delimeter input to match the comma delimiter in your file. You will also need to modify the default input on the format terminal to match the # of decimal places. Should be a clean easy way to import data. Of course you could always go all in and calculate the array values in LV as well.![]()
P.S. Is Professor King still involved in the NI Training Center on campus? Took a NI class in Golden a couple of years ago and had a great time on campus.
01-17-2008 09:10 PM
01-18-2008 07:47 AM
Jim,
You should be able to use the Index Array on the 2D array to get the 1D array of position data. Then use your current position and the Threshold 1D Array to get the index of the velocity that you want. Since the threshold can put out a fractional index, you will need to round this up or down to an integer depending on how your table is set up/what direction you are moving. You can now use this index and the Index Array to get the velocity info out of the 2D array.
01-18-2008 04:54 PM