Hi Tim,
When you use the usec resolution on any of the Wait functions, an onboard hardware counter is used as a reference (this is only true for Pentium III/4 PXI RT devices). If you use the msec resolution, it uses the RTOS clock, which is software based. Based on this, the hardware clock (usec) thus has much lesser jitter, whereas the msec clock will see a larger jitter. The msec clock is directly affected by CPU consumption, etc.
The behavior you are seeing is actually contrary to what would be expected when using the usec clock. The only reason you may see some issues using the usec clock, as you are, is if you are not using a valid PXI controller that supports this functionality. Which PXI controller are you using? In LabVIEW, try using the
NI Timestamp Code Timer.vit template to benchmark your code and see if you see similar behavior.
Hope this helps.
A Saha
Applications Engineer
National Instruments
Anu Saha
Academic Product Marketing Engineer
National Instruments