Liste der Diskussionsforen
Es ist Dir nicht erlaubt, Nachrichten in diesem Forum zu schreiben. Man muss dazu mindestens den Mitgliedsrang Brain Läufer haben!
By default, SerialPort uses ASCIIEncoding to encode the characters. ASCIIEncoding encodes all characters greater then 127 as (char)63 or '?'. To support additional characters in that range, set Encoding to UTF8Encoding, UTF32Encoding, or UnicodeEncoding.
Thema: Re: C# serial port sends only 3F above 7F ?
hexkid: thanks
that would be nice .. but i think the receiving side has to receive decode the 7 bits back to 8 bits again and i have no control over the receiver side
will have a look though, it might be a solution :)
Thema: Re: C# serial port sends only 3F above 7F ?
Hrqls: Can you try converting those 8 bits you send/receive to 7 bits? I googled a bit and found a Base64 Encoder/Decoder, but maybe the .NET framework already has something similar ???
Marfitalu: That normally means that you have a problematic driver installed. My WLAN Module caused that over months ;) Maybe you can remove it by updating all of your drivers? (I bought myself a new WLAN card , since mine was from a cheap manufacturer with crappy drivers )
Marfitalu: thats the same message which i get when i shutdown my laptop .. i dont get it all the time .. but sometimes i do .. its quite annoying .. and a irritating blue color :)
Thema: Re: C# serial port sends only 3F above 7F ?
Mr. Shumway: yes thats what i thought as well .. but it only occurs with characters with an ascii value of 128 (80) or higher .. and with all of them .. so it cant be an accidental loss of data
the databits are set to 8 in my program i dont know how to check the databits of the serial port on the ipaq though .. it doesnt have a real serial port .. it uses a special cable to the normal connection on the ipaq (which normally ends in an usb connector :))
maybe the cable cant handle 8 databits ? but that would be weird as its serial data and not parallel so the data itself shouldnt matter
that leaves the driver (which is a default driver as i didnt have to install anything) or the serialport control in c# (or the functions i use to control the serialport) ?
Thema: Re: C# serial port sends only 3F above 7F ?
Hrqls: I'm not really sure, as I never worked directly with Serial Port. But parity errors normally occur if a) there occured an error during sending and one bit was changed or b) maybe the parity bit was corrupted by your program? Maybe your connection is set to a bytelength of 7 bit and you overwrite the parity bit? Again: I don't really have a clue, but this was what came to my mind ;) Good luck in finding the solution :)
Plaintiger, I found this comparison of performance of the Xserve Server Platform using mac and pc on very prestigious server anandtech. For more infos, please see this page Briefly resuming, it says "The difference between the PowerMac running Linux and Mac OS X Server is absolutely striking. Mac OS X server shows better performance going from one to a second connection (and thus thread) because the second CPU steps in and helps carry the load. After that, however, performance completely collapses and stabilizes at around 50 queries per second. "
Another result of to be not competitive to pc performance is starting of building new mac= s using intel processors. The problem is not even in hardware but unfortunallz in operating system. And what is funny all of that? If you want to use service packs of Tiger, let´s say 10.1, 10.2,10.3 or 10.4, the only possibility of using them is to buy them separately as a NEW, yes, new operating system. Can you imagine that you have to pay for each service pack of Windows?
And one more example: the price of iMac starts on 1299$ (see for example page of apple ) I can give you several examples what kind of hardware is possible to buy for 1299$.
You can be sure that Mac´s cannot compare to those computers.
Finaly, I would like to say that I respect all opinions but imho who really care about his/her money won´t buy mac´s. There are too many reasons for not doing so.
i am trying to send a string of characters (ascii codes 0 to 255) over the serial port using the SerialPort control in C# (vs 2005 pro)
the characters arrive nice and sweet ... up to 7F, the characters with ascii code 80 and higher (hex) are sent as 3F all the time (as soon as the 8th bit is used 3F will be sent)
does know anyone what could cause this problem, and maybe how it can be solved or done otherwise ?
i am using the code below :
string strMsg = ""; for (int intI = 0; intI <256; intI++) { strMsg += Convert.ToChar(intI); } comKAR.Write(strMsg); </pre>
oh yeah, and that vintage 1998 Mac i've got running the current OS? it's been up continuously, being used simultaneously as a workstation and a web server, for 54 days, one hour and eleven minutes.
temo: first, OS X is not slow at all - unless you're running it on a very outdated machine, and even then it's still usable. i have one 300 MHz Mac notebook that i bought new in 1998 and on which one is not supposed to be able to install any version of OS X higher than 10.2, but which i've hacked to run the current version (10.4.7), and it's a little sluggish but still perfectly usable on there. on my 1.67 GHz PowerBook, and even on my old 450 MHz towers, the OS is perfectly speedy.
second, i've been using Macs personally and professionally for 18 years now and i have never had any problem finding more excellent software than i've needed to do everything i need to do. there is a whole lot more software for Windows, but it's all extraneous, useless trash (99% of it bad games) being sold - if in fact it's being sold at all - for a dollar a box out of bargain bins at CompUSA. the pool of actual useful software is about the same size for both platforms: there's microsoft office-type programs and suites, email apps, web browsers, accounting apps, graphics apps (always superior for the Mac, as the Mac's graphics have always been superior) and the rest is specialized stuff and games, neither of which the Mac lacks. the "more software" argument is meaningless anyway: how many spreadsheet applications do you need to run? one. so what does it matter whether there are four spreadsheet apps you don't run, or fifty? the only software that matters is the software that people use, and that pool is the same size for both platforms, and even includes many of the very same applications. if there wasn't *enough* software for the Mac, the Mac would have died in 1985. but it didn't, and now many people are switching to it because of the superior stability (and increased software availability) of its UNIX core.
and with the advent of MacIntel machines, you can run the Mac OS, UNIX, Linux, Windows, and pretty much any other OS you could possibly want to - and its software - all on one machine anyway. and that machine is a Mac.
and plaintiger: for it-(semi-professionals and up its not that important to get virii or not. today, you have four hard-disks with four windows-versions, so the average loss of two whole windowsOS per week on windows isnt that enerving and not very expensive...
temo and plaintiger: as one of the few who use both systems for many years now my experience tells me there are real benefits from both systems: the huge amount of software and general compatibilities, and of course less cost for the whole hardware count for microsoft. but i would never use something else than a macintosh if i was a professional dj or photographer and needed for example a 9-hour-stability of my eqipment ;-) using a mac is not only the question of prestige and as a mac user i do not need many many software-applications windows-fans would probably like...
plaintiger: sorry plaintiger, but MAC OS X is is so slow and for most of common user not so easy to use. Btw, how many applications can you find for Mac? For example when comparing with Microsoft it is minor ammount and not to forget Mac´s are so expensive without getting any added value. Probably Mac users will not like me, but Macintosh is only waste of money. They have good marketing but nothing more...and security of computers doesn´t matter on operating system but on behaving of user, protection (firewall, anti-viruses etc) so it is very easy (but not true indeed) to say, use Mac´s, you´ll be secured.
i prefer to use Macs and simply not get virii (nor spyware, nor one tenth of the popups Windows users get) in the first place. it's a much easier, less expensive, and less time-consuming approach. :)
Groucho: LOVE McAfee!!!! We just installed it about a week ago because I kept getitng hit with viruses with our old crap from yahoo/sbc...AMAZING this mcafee..I would highly recomend it!
Error: The stylesheet Could somebody tell me what the below means, been trying to viw this website, never had any problems before, but now keep getting this error message, and the website doesnt load properly, is it my end or the originators end
Czuch Chuckers: . . . It happened to me before for unknown reasons?!?!? But after a while and to be specific: a Firefox restart didn't help but 2 restarts helped! Go figure!
You can of course try the following if you use Firefox: Type in the address bar: about:config and then find: image.animation_mode and see if the value is set to normal. If not then set it and restart Firefox.....
DOUBLECRAP! Banana appears non-animated to me too.....
FYI Anyone that might not have a 100% legal copy of XP and does the latest windows update and find they now get that silly Windows Genuine Advantage screen bother them let me know. I can help you remove it.. shhhhhhhh!!
I will have to think about this some more. BrainKing should not know or care what browser a user is using - and would either think Firefox is messed up for all sites you visit, or BrainKing is messed up for all browsers you use.
OR one other thing I thought about while I was trying this, go to Tools, Options - and the "Content" area.
To the right of "load Images", choose "Exceptions"
If Brainking is listed there, choose and REMOVE it.
Maybe it will help to know.... the spacing between the names on my friends list is larger than normal, and also the space between the names on my games list is also different than normal
Plus you may have already answered this, is it just BrainKing with Firefox that is not working, or do you see the same strange thing on other sites with Firefox?
Do you have any type of extension installed that blocks pop-ups or something (which may have gotten set to block images also?)
Since this is a strange problem, some sort of broken extension is the only thing I can think of.
In Tools, Extensions - you can right click, and DISABLE them. You may want to go through and disable some of them to see if any of them are causing a problem. (Then you can renable them after testing if they were not the problem.)
Mr. Shumway: I just re installed firefox, and nothing is better! It seems to me that if this new version remembers all of my settings,IE my bookmarks, then it will also remember whatever it is that has not allowed my game graphics to load properly?
I just looked at my tools content and it has everything there check marked, IE Java Java script load images etc... it seems okay to me? I looked at my toola
Czuch Chuckers: As BBW says, you don't need to worry about your bookmarks. Firefox keeps your settings, bookmarks, etc. in your home directory, so they won't be lost except you reinstall windows :) But another question: Do graphics on other pages load, or do you have no graphics at all? Because you can dis-/enable the loading of images in tools->options->content.
Czuch Chuckers: I would also suggest trying to download the newest copy of firefox if you do not already have the newest version.
No, you should not lose any bookmarks. Some extensions only work for certain versions, but if I remember correctly, it will tell you if it does not work and will go search for newer versions of the extensions for you. (not 100% sure about that.)
Also, you can be safe and export your bookmarks first if you want to make sure you don't lose them. (in firefox, tools, bookmark manager - file, export - into bookmarks.htm - then if you need to, you can import them back - but again, they should copy over automaticly.)
Also, the newest version of firefox will keep itself updated, that is automaticly check for updates and give you options to update it when needed - which is always a good thing for a browser because new security issues for most browsers show up all the time.
the guy at my tech support suggested to download a new version of firefox and overwrite the old one.... will this make me lose my bookmarks and extension etc?
Baked Alaskan: yeah, some little kid had a field day banging on my keyboard and he obviously hit something by accident that did something, but I just cant figure out what it was. i thought someone with a good knoledge of computers could have an idea maybe where I could/should at least have a look at? My guess is that he randomly brought up something and either checked or unchecked a box or two.... so if I can get some idea what controls how graphics load, I might be able to find which box or filter or whatever I need to turn on/off?
Okay folks, someone out here must know this stuff enough to give me a hand..... it definitly seems like a firefox problem as with another browser I dont have nay problems. Most things work fine, its just the games page graphics that dont seem to load properly. I have cleared cache etc and I have disabled extensioons...... any ideas please?
(verstecken) Müde die immer selben Seiten über 2 der 3 Klicks zu erreichen? Bezahlende Mitglieder können ihr eigenes Kontextmenü gestalten. (pauloaguia) (zeige alle Tips)