delay function in C program

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • maul581
    New Member
    • Dec 2007
    • 2

    #1

    delay function in C program

    I know the delay( ) function of Turbo C and used it in my project. By this function we can give intermediate delay in execution from 1 millisecond to 9999 millisecond.

    My main question is "Is it possible to get delay less than 1 millisecond in Turbo C"? If by changin any header file (e.g. dos.h) or by creating my own "delay" function, at any way Can I get delay less than 1 millisecond?

    If in C it is not possible than please suggest me any other language in which I can give delay between two commands.

    Thanking you in anticipation of a positive response.....
    Maulik Shah
  • emaghero
    New Member
    • Oct 2006
    • 85

    #2
    Originally posted by maul581
    I know the delay( ) function of Turbo C and used it in my project. By this function we can give intermediate delay in execution from 1 millisecond to 9999 millisecond.

    My main question is "Is it possible to get delay less than 1 millisecond in Turbo C"? If by changin any header file (e.g. dos.h) or by creating my own "delay" function, at any way Can I get delay less than 1 millisecond?

    If in C it is not possible than please suggest me any other language in which I can give delay between two commands.

    Thanking you in anticipation of a positive response.....
    Maulik Shah
    In the graphical programming language LabVIEW you can do calculations in which each command can be delayed by an arbitrary time step. The only problem is that LabVIEW is not free, it's very clunky, it's got a steep learning curve, it's very inefficient but on a fast computer this doesn't matter. If you can get your hands on it it will do the job. goto (ha ha get it)
    LabVIEW is a graphical programming environment engineers use to develop automated production, validation & research test systems. Learn about LabVIEW.

    Comment

    Working...