03-13-2013 03:27 PM
hello everyone, I have a question about the time dalay vi. I have two case structure in my VI. and I want the second one to be delayed by 25ns after the first case stucture executes. Should I put a time delay vi or the wait(ms) vi in the second case structure? So the time delay vi or wait(ms) Vi has the same function here if I wire with a constant 25ns? thanks
03-13-2013 03:53 PM
That function (or any other function on a desktop OS) cannot allow you to have a delay in the nanosecond range. The best you can hope for is a milisecond and even that is not something which is guarateed.
If you want the second case to run after the first case completes, you need to use dataflow to control the order of execution. You can do this by taking the error wire coming out of the General Error Handler VI and wiring that into the second case structure. This will force the order of execution.
In general, something like this is at the base of how LV operates, so it seems like you need to learn more about LabVIEW. I suggest you try looking at some of these tutorials.