I have built my labview program of about 60 sub VIs. One of them is the data acquisition VI. Only thing it does, is read a one element queue with a cluster of data (analog values, digitals etc.) and write to it.
I have several other VIs that read this queue and process the data. All these VIs that use this queue I have put in a timed loop, because as I have understood they run ALL at the very same offset (unless changed) in one thread.
I have tweaked the timed loops so that all reading VIs are a little later (few ms) than the writing queue, to be sure the data is available.
My question is, is this ok to do.
I have noticed pretty severe performance drops as my program grew, even though I have distributed several VIs over different threads. I have not messed with any priorities though. Is it recommended to mess with priorities to make data acquisition a little faster and give for example VIs with only buttons and visual stuff lower priorities?
Thanks !