Hello,
I currently have an application which I've created for controlling a device used in cervical cancer diagnosis. This software has various controls ranging from controlling filter wheels with stepper motors, video capture, lockin data analysis and other various functions.
Everything is working well except the update rate at which I'm receiving results from my 2 Signal Recovery (SR) model 5105 lockins.
SR has provided labview drivers and even a starting interface which works perfectly under normal conditions. However I'm running 2 lockins concurrently and I'm getting very laggy results.
When I run the lockin vi from SR, the update rate is about once every .25 seconds or at least twice a second. When I put the same code into my application the update rate becomes very slow, ranging from once every 3 to once every 6 seconds. I've read the forums thoroughly as well as contacted an NI tech engineer but couldn't resolve this problem. I've heard that there might be a way to change execution settings in labview which would speed this up or perhaps I'm just doing something wrong (I'm pretty new at labview, about a year experience).
I'm including the code that I have. Unfortunately it won't run on your machine because it needs to be connected to proper hardware.
Pretty much I have about 5-6 parallel loops and at the very top you can see two identical copies of the lockin code. What can I do to improve performance? Thanks in advance.
Roman