LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

How to implement short and accurate delays for CVI?

I am implementing I2C control software for CVI. I have to implement short (around 100 us) and accurate delay for that purpose. The delay should work well and equally in all PCs (different clock frequencies). Minimum delay for delay(?) function is 1 ms and it is too long.
0 Kudos
Message 1 of 3
(3,228 Views)
I don't think you can achieve such resolution by software only.
You could look at multimedia timers that are the fastest and surest timing resources in Windows (they are used in CD reproduction and so on...), but in my opinion you should look at timing cards (also available at NI).
Roberto


Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 3
(3,228 Views)
I've written extended driver routines for I2C and SMBUS devices using the British "Calibre ICA-90 I2C Card". As I do not see your e-mail address, I offer you to contact me via my address for extended exchange of ideas:

hoeffkenh@t-online.de

Heinz Hoeffken
0 Kudos
Message 3 of 3
(3,228 Views)