I am using a timed while loop and am unable to get the loop to run at a speed of less than 1ms (I am currently using the Wait(ms) function). How can I get a faster response?
I am trying to create a virtual engine within a timed while loop and am unable to get the loop to run at a speed of less than 1ms (I am currently using the Wait(ms) function). This does not however allow realistic engine speeds. How can I overcome this? I have access to a PCI-MIO-16E-4 board.
andyt writes:
> I am using a timed while loop and am unable to get the loop to run at
> a speed of less than 1ms (I am currently using the Wait(ms) function).
> How can I get a faster response?
>
> I am trying to create a virtual engine within a timed while loop and
> am unable to get the loop to run at a speed of less than 1ms (I am
> currently using the Wait(ms) function). This does not however allow
> realistic engine speeds. How can I overcome this? I have access to
> a PCI-MIO-16E-4 board.
Andy,
Unless you use a real time platform, getting extactly 1 ms loop rate
(or even less) is impossible. It starts getting troublesome at about
0.1 Hz for standard operating systems.
I'd tackle your problem with "if i mod 10 == 0 then sleep 1 ms".
Of
course this is jerky by design.
HTH,
Johannes Nie?
Similar Messages
-
I am running Windows 7 64Bit system and everything was working normal. However, I am now getting an error message stating objc.dll is missing. I've re-installed Itunes but to no avail. How can I get this error message corrected?
See this User Tip by turingtest2
https://discussions.apple.com/docs/DOC-6562 -
how can i install AppRadio application...i am in Tunisia and the application is not found in the Tunisian AppStore...it's essensual for piloting my Pioneer SPH-D01 AppRadio....please how can i get this application ...thanks
If it's not available in the store in which you have your account, you're pretty much out of luck. In order to purchase from the U.S. iTunes Store you need a)a valid billing address in the U.S., b) a credit/debit card billed to that address or an iTunes prepaid card purchased in the U.S. and c) to be physically located in the U.S. at the time of purchase.
-
My Iphone and Itunes are configurated in Dutch but if I go to my App Store or iTunes on my Iphone they are in French. How can I get them also in Dutch?
Hi I live in Belgium ! and there are 3 official languages and I'm Dutch speaking.
All is in Dutch but when I chose update then I recieve all T's and C's in French see screenshot -
I'm using a mid 2014 13" rmbp. I reinstall the Yosemite due to the wifi issue, when finished, the iMovie was not installed, I try to download it from app store, but it's not free. How can I get iMovie back?
It's something to do with the main user account (not iTunes account) on my Mac because I logged in with another account and it downloaded fine, I installed it on the HDD and even though the date in App Store was 16th October 2014, it is the full installer of 10.10.2.
To try to resolve this problem, I have copied the installer app elsewhere and deleted it but App Store still will not allow me to download it with my main user account yet just allowed me to update iTunes.
I had a brainwave last night that it might have been related to me changing the default downloads folder to one not on my boot drive (to save disk space on my main boot drive) but having changed it back, tried again, rebooted and tried yet again, deleted my App Store preferences. nothing has worked. -
Whenever I ask Siri a question it just links me to a website instead of just saying the answer. The reason I ask Siri is because i am not in a position to look at my phone. How can I get Siri to just answer my questions??
I found that the only time Siri will read anything to you is if it finds a Wikipedia article. Siri will let you know it found that, and ask if you want it to be read out loud. Other than that you will hear the "I found this, take a look".
The only other thing you can do is activate "Speak Screen". It will involve you taking a look at your phone for a moment, selecting what you'd like to look at, but Siri will read the content to you. It's in Settings > General > Accessibility. Once activated, all you have to do is slide two fingers from the top of the screen and you will have it read to you. I use it all the time because of my astigmatism. It's pretty useful. -
priority:
I am trying to facetime on my mac but keep getting the message "The server encountered an error processing registration. Please try again later." I have gotten this multiple times. how can I get around this?
i also have tried downloading "FaceTap" application to get facetime on my ipad and failed too. i thought i failed because i couldnt download latest 6.0 iOS or later. i downloaded latest software update for iOS but was 5.8 I thinkWait until Apple fix it. See: http://www.apple.com/support/icloud/systemstatus/
-
When I try to sync my music on my iPhone 4 I have a tab at the top that says 'on this iPhone'. This is at the end of all the other tabs like info, ringtones, music etc. The music in that tab is always on my phone but does not show in my itunes library. How can I get it into my library? It doesn't sync either.
The new iTunes has a somewhat different look from the previous version. You can get the old look back if you prefer it by doing View > Show Sidebar in iTunes. Or you can adapt to the new look.
-
I have been getting my email in duplicate in MacMail for the past week. I haven't changed any settings on MacMail. My server is Verizon/Yahoo. How can I get it to stop?
I have been getting my email in duplicate in MacMail for the past week. I haven't changed any settings on MacMail. My server is Verizon/Yahoo. How can I get it to stop?
-
I am having problems with the InDesign it won't download it keeps saying extract when its about 30% then it says failed. How can i get it to download all the way?
Basic troubleshooting from the User's Guide is reset, restart, restore (first from backup then as new). Try each of these in order until the issue is resolved.
-
HT1695 The Wifi icon on my ipod touch is not functioning. how can i get it fixed
The Wifi icon on my ipod touch is not functioning. how can i get it fixed
See:
iOS: Wi-Fi or Bluetooth settings grayed out or dim
If not successful, an appointment at the Genius Bar of an Apple store is usually in order.
Apple Retail Store - Genius Bar -
I am trying to burn a .mov file from fcp xpress timeline to a dvd. The popup message I receive prior to inserting the dvd is that I need 20.05 gb of space available on dvd (a 1.25 min program). How can I get this program onto a dvd (where the max available gb's for off the shelf dvds-r) shows a max of 8.5gb?. Please help. Thank You!
You have posted your question in the Final Cut Pro X forum. You want to be in this forum instead; https://discussions.apple.com/community/professional_applications/final_cut_expr ess_hd
Good luck.
Russ -
When I open up Safari I get a message saying 'Your request is prohibited because it will cause a cycle. What does this mean? How do it get rid of it?
Your request is prohibited because it...: Apple Support Communities
-
I have a Mac Os X and a Sony HDR-CX7 camcorder. When I get onto the Sony webpage to download the program so I can import my movies, they only have programs Windows. How do I get this for my Mac.
You shouldn't need any application except what you already have: iMovie, iDVD, iPhoto....
To check on compatibility with your model camcorder, check these out:
https://support.apple.com/kb/HT3290
http://support.apple.com/kb/TS3356
Some formats are not readable by the above; you can use something like MPEG Streamclip to convert the footage or Quicktime Pro (as mentioned in one of the articles). -
On trying to upgrade iOS on iphone 3gs my phone just shows symbols to connect to itunes. Done that. tried to upgrade and restore but just keep getting message that there is a problem (-1). Have tried suggestions, ensured software for windows xp and itunes software up to date. Even tried disabling security. Help! How do I get the phone working again?
Firefox 2.0.0.20 is the last ever release for Mac OSX 10.3.9 and earlier versions. <br />
Get it here:
http://download.mozilla.org/?product=firefox-2.0.0.20&os=osx&lang=en-US
Maybe you are looking for
-
Can i transfer purchases from one account to another?
My son has an iCloud account for his iPod Touch that he has purchased many apps and songs on. His school has assigned new iPads (that us parents have to buy out of pocket) and he was assigned to create a new iCloud account for that iPad that he will
-
How to use Print Control in Print List.
Please any body can explain me how to use print control when creating Print list? Thanks in advance.
-
Why aren't thumbnails of pages are not showing preview with master applied?
I was trying the basic tutorial, and noticed that when I click into the pages, the master is applied, but in the plan sitemap view, the master content is not showing up in their thumbnails. Meanwhile, the tutorial video shows the sitemap page thumbna
-
How can i put foto's from my canon 350 to my iPad ?
Can you tell me how i can put foto's from my canon 350 to my iPad 2. With THE camera connection kit i have THE Message That hè can't recognize my device. Thanks
-
Please help another publishing error
Hi I have checked around for answers (or at least a reasonable explanation of something fairly simple) and found nothing. I have just tried to add a new pictures page to my site, with a couple of holiday pics. All well and good. Then when I publish t