09-06-2007 01:46 AM
09-06-2007 04:31 PM
Hello Andrei,
I would suggest that you use the DAQmxTaskControl method to commit the task before running it. This may help improve the execution time.
It is important to keep in mind, however, that you are performing static (software-timed) I/O, which is undeterministic. The time this code will take to execute will vary from system to system, depending on available bandwidth and resources. There is no specified maximum amount of time that this function should take to complete.
Let me know if you have any other questions, and whether or not commiting the task first helps improve the execution speed.
09-07-2007 12:10 PM
09-07-2007 12:13 PM
Sorry I just saw you are using USB, not PCI/PXI.
Static digital Reads and Writes on the USB bus are going to be much slower than using PXI. The USB 2.0 bus has a minimum theoretical latency of about 200 microseconds. With a digital device, we see between 200 microseconds and 10 ms per read or write.
Starting or committing the device will help slightly, but the USB bus will be the bottleneck. If you need better performance, you should switch to PCI/PXI or PCIe.
09-17-2007 03:43 AM
Hello,
Thank you for your replies. However, we are not getting the neccesary speed using the static method. Now we are trying the Waveform method...
Andrei.