Quantcast
Channel: LabVIEW topics
Viewing all articles
Browse latest Browse all 69556

use Read from Spreadhseet file to read 1 additional row each loop iteration

$
0
0

Hi,

 

I have written a program that takes certain number of data points depending on user specified parameters. For each data point, I am using a  Read from Spreadhseet VI to correct each data point according to calibration spreadsheets that I have already saved. So for each data point I need to multiply/divide it by the corresponding values in each calibration spreadhseet. This corrected number is then displayed in an XY graph as well as saved into another spreadsheet file of corrected values. I have placed indicators at the output of each Read from Spreadsheet VI to see what value is actually being read. The program reads the first data point in each spreadsheet correctly but then in each successive iteration the number is completely wrong and I am not sure what is happening.

 

Essentially, I need to know how to read successive rows of a spreadhseet file where the row number that is read coresponds to the iteration number of the enclosing loop. I think the problem lies in my inexperience with this VI since I am not sure if I am inputting my desired parameters correctly.

 

I have attached my program as well as two of the three related calibration spreadsheet files (the thrid is the same size and format as the sample diode spreadsheet). The program is quite large but the problem is contained in the IPCE case. The calibration spreadhseets are taken in the IPCE Calibration case.

 

Thanks in advance,

Kai

 

 


Viewing all articles
Browse latest Browse all 69556

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>