LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

1D array into single values

If it is a different problem, you should start a new thread instead of adding to a 10 year old discussion about something else.

 

  • Why do you think you have to read the same file 271 times as fast as the computer allows. Are you expecting the file data to change? Reading the file once before the loop is sufficient! How many points are in the file?
  • You seem to be interested in the first two columns. Both are contained in the 2D array, so also tapping into the 1D array output seems redundant.
  • To just graph the data, you don't need the loop at all.
  • Can you explain your convoluted use of uninitialized and expanded shift registers? Makes no sense to me.
  • What is the purpose of the math you are doing? (subtraction, division).
  • If you want to build the graph slowly, adding one point at each iteration, you need to slow down the loop. Currently it executes in nanoseconds.

 

Suggestions

  • Attach your actual VI and a datafile. We cannot debug pictures.
  • Tell us exactly what you expect to happen when you run it.
  • I am sure all this can be done with 5% of the current code.

 

0 Kudos
Message 11 of 11
(468 Views)