Binary update
-=>JB<=-
sundown at pacifier.com
Fri Feb 4 12:35:50 EST 2011
If you are using it on a Mac which is how I tested it then you will
see the Keyspan and modem options are what you use. The
modem should work as is if you have a internal modem but the
keyspan needs to be changed in the code to represent how it
is seen by your usb driver. Get a list of the usb drivers and then
look at where the code is accessing the keyspan and you will
see what to change. I was testing them on a G3 and G4 and
you will see I commented that it changes on the G3 so that is
the line that will need to be changed for it it work with keyspan.
-=>JB<=-
On Feb 4, 2011, at 9:25 AM, Thomas McGrath III wrote:
> I could not get the Communicator stack to work as is. So I have been trying to change it to work. I will look into the scripts you mention.
>
> Thank you
> -- Tom McGrath III
> http://lazyriver.on-rev.com
> 3mcgrath at comcast.net
>
> On Feb 4, 2011, at 11:53 AM, -=>JB wrote:
>
>> There are two types of binary data at least on the Mac.
>>
>> 1. Is when you use 0 and 1's which is binary code to
>> represent the data. For instance you can take these
>> words or numbers such as 125 and represent them
>> in binary code which would end up being a bunch of
>> 0's and 1's. In the serial stack I sent you if you click
>> on the info button and go to the bottom you will see
>> code you can put in buttons which will show you how
>> to transfer text, numbers of hexadecimal to binary or
>> vise versa. The code will allow you to enter one char
>> number etc and then will transfer it to what you want.
>> To use it with more than one char you use a repeat
>> and can separate the result with commas or what you
>> want so you can get the value for each char. i should
>> mention the stack I sent you does not have the field
>> locked so you can lock it and then click on the field
>> and it will close or you can see the edge of the info
>> button and click on it then it will close. Another thing
>> about the stack is in the open port button the only
>> code you need is in the on MouseUp the other code
>> is related to something I was hacking that you is not
>> needed and you will see it was commented out with
>> a -- and does not access it. The only variable you
>> need is the global thePort or whatever it is called
>> and the local variable is for the code you should
>> not waste time with.
>>
>> 2. The other type of binary is something more of how
>> the file is written but it is not represented in binary
>> code of 0's and 1's. In the stack I sent you look in
>> the read button next to the send field and you will
>> see code to save the file as a property or whatever
>> the proper word is and that saves it as a binary which
>> I was then allowing you to transfer the code as a
>> binary file if the File button at the bottom was checked.
>>
>> -=>JB<=-
>>
>>
>>
>> On Feb 4, 2011, at 8:24 AM, Thomas McGrath III wrote:
>>
>>> How is a binary update different from a text update with the serial protocols?
>>>
>>> What I mean is how do you send binary data from LC and why would you?
>>>
>>>
>>> -- Tom McGrath III
>>> http://lazyriver.on-rev.com
>>> 3mcgrath at comcast.net
>>>
>>>
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>>>
>>
>>
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
>
More information about the use-livecode
mailing list