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

Updating values from a spreadsheet using timed loop

$
0
0

Hello all,

 

I am trying to read values from a spreadsheet and feed those values to my controllers. I have attached the VI where every task is being carried out. Each VI has specific function written in it like reading data, writing data and evaluating/manipulating data. All these are timed loop. Inside the EVAL VI I am trying to read data from spreadsheet after each second and feed that data to my controllers. I have attached the  block diagram of how it is being done. 

 

The problem is when I run the EVAL VI block diagram it doesn't read the data after first row from spreadsheet, also it seems like my other data also get static as in they do not change frequently as they should. I am new to LabVIEW, so i do not understand what i should do? 

 

I tried putting a while loop inside timed loop with wait function at 1 second but that didn't work and I also think while loop is wrong as i am already using a timed loop.

 

Is there some synchronisation issue between different timed loop VIs? Please suggest what to do

 Timed Loop VIsTimed Loop VIs

Code Inside EVAL VICode Inside EVAL VI


Viewing all articles
Browse latest Browse all 69213

Trending Articles