10-24-2005 03:06 PM
10-28-2005 09:08 AM
Hello Tom,
The way you have the code setup at the moment, is that you have one loop in which all the code executes (including the subvi with the slower ftp code in it). The loop will always run as you have said, so the ms counter wont run as expected and only updates once the subvi call is finished.
What you actually need to do to get parallel execution in LabVIEW is to have multiple while loops. So within the same vi have one loop doing the acquiring, and the another loop doing the ftp side of things.
In LabVIEW, code will run sequentially if thats how you have wired the functions together. If you have a set of functions which are independent (no wires between them) of each other, then they will run in parallel (as best as they can on a single processor machine).
Take a look at the following example, which shows how to pass data between functions that are running in parallel
I hope this helps
Hannah
NIUK & Ireland
10-28-2005 12:51 PM