Hello Thijs, Thank you for your inquiry regarding digital output timing. It sounds like want to use software to write the digital points out at a rate of 1000Hz. When you mention that the wait command is not =93secure=94 I assume that you mean it creates an output rate that is not accurate. The wait function can be interrupted by software and therefore the rate at which you are writing data out may not be accurate. Even though there is no way to guarantee a rate of 1000Hz using software there is a better function that you could use to make your output rate more accurate. The Wait Until Next ms Multiple function waits until the value of the millisecond timer becomes a multiple of the user specified millisecond multiple. This can be found in the Functions>>All Functions>>Time and Dialog palette. Use this function in a For Loop to write points until the array of 150000 points is empty.
I hope these resources help. Let me know if I can further assist you. Shea C. Applications Engineering
