12-04-2006 05:56 PM
12-04-2006 11:20 PM
alyeska,
I do not see any problems with the VI. I do not think this is the entire VI that is causing the problem and if i had to guess; the local variable is somehow causing a race condition. Well in this case it is serving to loop the data so no new data would be read. I guess i do not understand the problem, but i would avoid using local variables. Thats just me. Other people use them, but you have to know how to avoid race conditions.
Chris Co
12-05-2006 09:03 AM
12-05-2006 10:00 AM
12-05-2006 01:03 PM
alyeska,
I think I'm picking up what your puttin down. For each iteration of the for loop you send a query and a command to retreive data via TCP and display that data. Since this is the structure chosen, update speed could become an issue since you querry each sensor sequentially and therefore update sequentially. Indexing an array is not required but maybe faster. Let me know if this works for you, hope it does.
Chris Co
12-05-2006 01:05 PM
Evan,
your example confused me when i went to run it, acting strange and qwerky. but i found that the replace array element index was not wired. other than that it should do the trick.
Chris Co
12-05-2006 01:12 PM
12-05-2006 01:55 PM
12-05-2006 02:15 PM
12-05-2006 02:30 PM