View unanswered posts | View active topics It is currently Tue May 21, 2013 7:35 am



Reply to topic  [ 3 posts ] 
 Send to source hex values 
Author Message

Joined: Feb 09, 2009
Posts: 108
Post Send to source hex values
Send to source seems to want decimal values for bytes. Can I use it to send a hex byte? Having to convert all my stuff into decimal is irritating, and hell for debugging.

send to source connectionName byte (126) <-----works, not what I want

send to source connectionName byte (7E) <------does not work, what I want

Is there any way to get from where I am to where I want? I suppose I could always translate on the fly, but again, hell for debugging.

Thanks.

Brian


Fri Jun 18, 2010 1:27 pm
Profile
Site Admin
User avatar

Joined: Jan 27, 2003
Posts: 11689
Location: Texas
Post Re: Send to source hex values
AppleScript doesn't support hex notation at all. Therefore, the only way to do this would be to pass the hex values in quotes as a string, which definitely isn't ideal. Note we are no longer adding new features to Serial Bridge and instead are focusing on a hardware plug-in architecture for Indigo.

_________________
Image


Mon Jun 21, 2010 9:45 am
Profile WWW

Joined: Feb 09, 2009
Posts: 108
Post Re: Send to source hex values
Ok, thanks for the reply. On the plus side, I'm getting really good at hex math in my head...


Mon Jun 21, 2010 9:59 am
Profile
Display posts from previous:  Sort by  
Reply to topic   [ 3 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.