New topic: 

Serial communication changed in Realstudio 2012r1?

<http://forums.realsoftware.com/viewtopic.php?t=45796>

         Page 1 of 1
   [ 2 posts ]                 Previous topic | Next topic          Author  
Message        WolfB          Post subject: Serial communication changed in 
Realstudio 2012r1?Posted: Sat Nov 03, 2012 6:13 am                         
Joined: Sat Nov 03, 2012 5:34 am
Posts: 1                A connected device sends a message starting with 
(hexadecimal) "FEFE"...

Until RealStudio 2011r.4.2 I could get the data with:
dim data as string

data = Me.readAll()
...


in Realstudio 2012r1 I do not get "FEFE" but "C3BEC3BE" (UTF-8 coding for 
values bigger than $7F)

Now after playing for hours with encodings etc without a solution I really need 
help.

How can I receive characters higher than $7F via serial ports in Realstudio 
2012r1?  

Thank you! Wolfgang   
                             Top                jakuno          Post subject: 
Re: Serial communication changed in Realstudio 2012r1?Posted: Sat Nov 03, 2012 
10:16 am                         
Joined: Fri Aug 31, 2012 3:56 pm
Posts: 10                Maybedim data as string

data = me.ReadAll(Encodings.ISOLatin1)
..
   
                             Top             Display posts from previous: All 
posts1 day7 days2 weeks1 month3 months6 months1 year Sort by AuthorPost 
timeSubject AscendingDescending          Page 1 of 1
   [ 2 posts ]      
-- 
Over 1500 classes with 29000 functions in one REALbasic plug-in collection. 
The Monkeybread Software Realbasic Plugin v9.3. 
http://www.monkeybreadsoftware.de/realbasic/plugins.shtml

[email protected]

Reply via email to