View unanswered posts | View active topics It is currently Wed May 22, 2013 7:15 pm



Reply to topic  [ 2 posts ] 
 ascii character is not supported 
Author Message
User avatar

Joined: May 23, 2010
Posts: 9
Location: Joliette, Québec, Canada
Post ascii character is not supported
with my IT-100 when I selection in french. There are characters who are sending it-100. 00=é 01=è 02=à 03=ô 04=ê 05= ç 06=* 07=î to convert script, it crashes when there is conversion to ascii.
set commandString to ""
end if
else
set charRead to ASCII character byteRead
set commandString to commandString & charRead
end if
end tell
end MyProcessSerialData

on startCommunication(connectionName)
tell application "Serial Bridge"
try
set bufferDumpStr to (read string from source connectionName)
log "dumping rs232 buffer: " & bufferDumpStr
end try


Wed Feb 09, 2011 9:02 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11692
Location: Texas
Post Re: ascii character is not supported
What crashes? Serial Bridge?

And are the non-ASCII characters coming from the hardware or are you sending them to the hardware?

Do you know if this line:
Code: Select all
set charRead to ASCII character byteRead

is the one crashing?

Lastly, the script snippet you posted doesn't seem complete. Can you post more of it?

_________________
Image


Thu Feb 10, 2011 5:34 pm
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 2 posts ] 

Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group.   Template designed by STSoftware.