Title: Serial Very Very Slow in Processing 2.1 · Issue #2214 · processing/processing · GitHub
Open Graph Title: Serial Very Very Slow in Processing 2.1 · Issue #2214 · processing/processing
X Title: Serial Very Very Slow in Processing 2.1 · Issue #2214 · processing/processing
Description: Processing 2.1 is extremely slow on receiving serial communications. Serial data is being generated by an Arduino and sent to my PC over USB, per typical Arduino setup. Baud rate is supposedly 115200, but some text being streamed at the ...
Open Graph Description: Processing 2.1 is extremely slow on receiving serial communications. Serial data is being generated by an Arduino and sent to my PC over USB, per typical Arduino setup. Baud rate is supposedly 1152...
X Description: Processing 2.1 is extremely slow on receiving serial communications. Serial data is being generated by an Arduino and sent to my PC over USB, per typical Arduino setup. Baud rate is supposedly 1152...
Opengraph URL: https://github.com/processing/processing/issues/2214
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Serial Very Very Slow in Processing 2.1","articleBody":"Processing 2.1 is extremely slow on receiving serial communications. \n\nSerial data is being generated by an Arduino and sent to my PC over USB, per typical Arduino setup. Baud rate is supposedly 115200, but some text being streamed at the startup of the Arduino is coming in at a snail's pace. It took 25 seconds to read the 2860 characters that are issued at the startup of my Arduino (~900 bps). It is the correct text (so the baud rates are appropriately matched) but it is soooo slow. \n\nWhen I switch my Arduino to stream its sensor data (~80 kbps of continuous binary data), the Processing program claims that it's only getting the data at ~1.9 kbps. When tested in a basic terminal program (RealTerm) the bytes are received at the correct rate without issue. So, the problem is not with the Arduino nor with Windows in general.\n\nThis slow behavior is seen using my own Processing program as well as with Processing's Serial example \"SimpleRead\" as modified to print the received byte to Processing's console via \"print(char(val))\". So, the problem is not with my own program, since it is in the example program as well.\n\nMy own program to receive the data stream from the Arduino worked fine in Processing 2.0.x when run in the 32-bit version of Processing. So, I believe that the problem has been introduced with the change to Processing 2.1.\n\nI'm running Windows 7SP1, 64-bit. I tested in both 32-bit and 64-bit versions of Processing 2.1 and they both have this slowness problem. I'm using the latest drivers for video card, as downloaded today. I'm running Java 7u45, also downloaded today.\n","author":{"url":"https://github.com/chipaudette","@type":"Person","name":"chipaudette"},"datePublished":"2013-11-10T04:47:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":50},"url":"https://github.com/2214/processing/issues/2214"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:e6deefa8-06d0-bc55-e9fd-d2398e0de765 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9554:3E21CF:2CE4A7:3C6A2A:697190B9 |
| html-safe-nonce | 4203a3202798bc6b2398699cbd48981d3ea6fffcf898ca183048e33d57711d58 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5NTU0OjNFMjFDRjoyQ0U0QTc6M0M2QTJBOjY5NzE5MEI5IiwidmlzaXRvcl9pZCI6IjgwNzQ1MTYwNzE0OTE1NDQ4OSIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 51328f3f94701ac84d62dafe19d423be9a60a5bfbbb69ee8404a09d0aadb6180 |
| hovercard-subject-tag | issue:22399476 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/processing/processing/2214/issue_layout |
| twitter:image | https://opengraph.githubassets.com/2d276d1a1d602e40d9dc7fc5a75b674a0c40a15851564a2eeea969858c49f26d/processing/processing/issues/2214 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/2d276d1a1d602e40d9dc7fc5a75b674a0c40a15851564a2eeea969858c49f26d/processing/processing/issues/2214 |
| og:image:alt | Processing 2.1 is extremely slow on receiving serial communications. Serial data is being generated by an Arduino and sent to my PC over USB, per typical Arduino setup. Baud rate is supposedly 1152... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | chipaudette |
| hostname | github.com |
| expected-hostname | github.com |
| None | 2b0f2f00499ad3dd2c21ad030a3c403edca54df20ea256f6517c6d8c4fa3a1a4 |
| turbo-cache-control | no-preview |
| go-import | github.com/processing/processing git https://github.com/processing/processing.git |
| octolytics-dimension-user_id | 1617169 |
| octolytics-dimension-user_login | processing |
| octolytics-dimension-repository_id | 7807399 |
| octolytics-dimension-repository_nwo | processing/processing |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 7807399 |
| octolytics-dimension-repository_network_root_nwo | processing/processing |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 67235153f3c1514ed5f7dc469f138abc377bd388 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width