15-20 time of latency to see the changes in analog inputs

I inherited a program extremely complex.  I find that I see 15-20 seconds latency on the changes to the analog inputs.  I can't post the code - (it has more than 200 sub screw) but I have captured the relevant section in the long latency period of the changes.jpg of analog input attached.

I tried to change the sampling rate and see the same problem from 1 Hz to 25 Hz (limit of reliable sampling with this PC).  I'm looking at indicators which are directly related to the acquisition of data Read.vi as evidenced by the big red arrow.

I modeled the nested struct in the template attached without latency problems.jpg.  There is no perceptible latency but it duplicates the nested structures.

The only thing not shown is that there are several cases of Read.vi of data acquisition using the same physical changes but not of them are in the loops that need to run at the same time.

The data are consistent with the entries, just delayed.

The Signal processing device is a USB-6343.  I am running these screws on LabVIEW 2011 edition.

Any ideas?

Yes, instead of getting just 1 sample buffer, try to get all the samples.

Then you can retrieve the most recent example of all the samples you get and take the rest of them.

Or you can change the configuration of taks for only once every time that you call the read function.

Tags: NI Software

Similar Questions

Maybe you are looking for

  • I just downloaded firefox. It starts but will not conduct research.

    That on the said. I can't find online advice on what could be my problem.

  • How they detect xcopy completion in Labview?

    I use the system Exec.vi call back command xcopy. I tried to leave "Wait until the end?" input like true and which didn't work - nothing has been copied. Then I changed to false and it worked: directories, folders, and files were copied successfully.

  • problems with url - encode_String.vi

    LV 2011, OSX 10.7.5. So I have a URL to retrieve some json data, working with curl from a shell: Curl "http://mst-log.physics.wisc.edu/logbook.py/RPC?json=\{%22function%22:%22fetchTimeLogLatest%22,%22params%22:\{%22group%22:%22ops%22,% 20%22logName%2

  • Why do I get this error?

    Has started getting this error. "Oops, we are having a temporary problem completing this download. Please check back later to see if the hiccups have disappeared "." Try to download a trial version of a game. Any help would be appreciated.

  • Cannot install driver vga after windows recovery

    I have an acer aspire 5520g. For a long time, I was unable to install any except the generic vga driver. Now, I used the recovery tools to reset the computer to factory settings. When you try to get into windows for the first time, I get a message of