Jump to content

1ms loop time possible?


weirddave
 Share

Recommended Posts

I have considered using a different language, I have visual studio installed (C++) but the IDE is so daunting, lol.

The relative ease in which I can knock things up in AutoIt always draws me back in...

I can live with hogging the CPU, it seems to work a lot more reliably than trying to time a delay equal to the amount of time left in the 1ms loop time, it's just not as elegant as I'd like. I'm not convinced I'lll manage any better in another language.

Since I am sending UDP messages already, I was considering having the GUI process send UDP packets to the almost-realtime UDP handling process, this minimises the work it has to do, it will just update the UDP packet being sent with the one received from the GUI process. This will also act as a polling command so that the UDP handler will send the latest received packet from the hardware back to the GUI. 

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...