Re: usb driver problem

2011-01-27 Thread Claudi Cornaz
Hi all yea, 17.23 CET. Finaly we have contact 12345678 /1296144957195 12345678 /1296144957802 12345678 /1296144958107 12345678 /1296144958412 12345678 /1296144959018 12345678 /1296144959322 12345678 /1296144959629 data kept on comming. Now I

Re: usb driver problem

2011-01-27 Thread Jerry J
On Jan 27, 2011, at 2:15 PM, Claudi Cornaz wrote: Hi all yea, 17.23 CET. Finaly we have contact Congratulations! Just in time for me. I'm just about to have to hook up to two serial devices in a project to replace a HC stack that has been running for about 12 years on a PowerBook G3

Re: usb driver problem

2011-01-27 Thread Mark Wieder
Claudi- Congratulations on getting this working. And that's quite a story. I see a bright future ahead for LiveCode-Arduino cyborgs. -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit

Re: usb driver problem

2011-01-26 Thread Kee Nethery
I'd be happy to donate an Arduino to the LC bug team if they need one to fix this. Kee Nethery ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: usb driver problem

2011-01-26 Thread Thomas McGrath III
Ok, so Heather said that this would not be possible as a quick fix type support ticket but that the team was looking into it and that I should open a bug report so here it is: Report 9341 has been added to the database http://quality.runrev.com/qacenter/show_bug.cgi?id=9341 @Claudi - please

Re: usb driver problem

2011-01-26 Thread Mark Wieder
Claudi- Wednesday, January 26, 2011, 2:48:22 AM, you wrote: Thread 0 Crashed: 0 libSystem.B.dylib 0x91ddde42 __kill + 10 1 libSystem.B.dylib 0x91e5023a raise + 26 2 libSystem.B.dylib 0x91e5c622 __abort + 97 3 libSystem.B.dylib

Re: usb driver problem

2011-01-25 Thread Thomas McGrath III
Playing with Applescript communicating with the Arduino Uno I noticed an issue that might be related to the LiveCode problem of hanging during a connection. In the Applescript that works I close the port first and then return the result as in: set tSerialReturn to serialport read

Re: usb driver problem

2011-01-25 Thread xfratboy
message will be added to the discussion below: http://runtime-revolution.278305.n4.nabble.com/usb-driver-problem-tp3219220p3236281.html To unsubscribe from usb driver problem, visit http://runtime-revolution.278305.n4.nabble.com/template/NamlServlet.jtp?macro=unsubscribe_by_codenode=3219220code

Re: usb driver problem

2011-01-25 Thread Mark Wieder
Tom- Is this possibly related to bz #1708? -- -Mark Wieder mwie...@ahsoftware.net ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: usb driver problem

2011-01-25 Thread Thomas McGrath III
They could very well be related. I have asked Heather is this could be a Support Ticket item for the team to look into. Waiting patiently -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 25, 2011, at 11:05 AM, Mark Wieder wrote: Tom- Is this possibly related to

Re: usb driver problem

2011-01-24 Thread Thomas McGrath III
Well, I got tired of testing and waiting for a solution to LiveCode directly connecting, sending, and receiving serial data to/from the Arduino Uno and found an alternative method instead. In this stack I use an Applescript OSAX and control that from within LivceCode via Applescript. I hacked

Re: usb driver problem

2011-01-23 Thread Mark Wieder
Jerry- Saturday, January 22, 2011, 11:47:29 PM, you wrote: My guess was that oDSR would force the DSR line true, and iDSR would cause it to be used. More confusion about terminals vs. modems. ARGGH. I have an old slow logic analyzer that can capture Yeah, the DTE/DCE thing would always trip

Re: usb driver problem

2011-01-23 Thread Claudi Cornaz
Tom and all, What I have found about these settings is the baudrate of course and then 8 databits 1 stopbit no parity. That's it. I have found this info in the pref file of the arduino IDE, which is in the users library/Arduino folder. I have now connected a LCD screen and keypad to my arduino

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Jerry, I know that's the short version because I've spent two weeks reading through the long version/s available on the internet until I completely mired myself to the point I wanted to drop this project. But I have hung on and my reward is reading your well written and very well thought out

Re: usb driver problem

2011-01-23 Thread Claudi Cornaz
Tom and all, I have made a test stack which I now use to test my connections with the arduino board. The sketch just echo's what it recieves back out with a delay of 500 millisecs. (It's included with the stack) you can download the stack from:

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Mark, Thank you for this. I am going to focus on these settings you describe. Especially after reading Jerry's primer I think you both are right and this is where to start. Yes, the Arduino can and does work well from the Terminal screen program. Also from 'many' downloaded serial

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Claudi, I am using OSX 10.6.6 Downloading your stack now so at least we can be on the same page for testing. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 23, 2011, at 5:46 AM, Claudi Cornaz wrote: Tom and all, What I have found about these settings is

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Jerry, Maybe you can answer this? The Arduino ide prefers to use the cu.usbmodem* and some of the tests I have done in LC have shown that the tty.usbmodem* is the better choice for receiving data from the Arduino Uno and the cu.usbmodem* when trying to send. I am not sure what the difference

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
-nutha-level of trial and error which I'm staring to figure out a little bit. Feel free to contact me off topic if you are interested in how to do this or maybe we can start another thread. -- View this message in context: http://runtime-revolution.278305.n4.nabble.com/usb-driver-problem

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
This is the part that gets me. If you were able to get it working in 10.5 then what has changed in 10.6 ? I don't have 10.5 to test. I am curious if LC knows what might have changed and if they have accounted for it in these newer versions of LC? They may not even be aware of a problem if

Re: usb driver problem

2011-01-23 Thread Thomas McGrath III
Also, I was under the impression that the 3d11 was a serial number from the Arduino forums but maybe they were wrong about that. I wonder if that is a registration number of that port as it were. So two different numbers on two OS's or machines would be normal. Still no answer though. More

Re: usb driver problem

2011-01-23 Thread David C.
I don't have much experience with UNIX drivers, or how they're named. I can guess what tty is short for, but no clue about cu. This resource may be helpful to ya: http://www.computerhope.com/unix/ucu.htm Best regards, David C. ___ use-livecode

Re: usb driver problem

2011-01-23 Thread Claudi Cornaz
Anybody know where to look for the crash log of LC? Perhaps this might give a clue. I opened up console but didn't find the relevant part to look. Best wishes, Claudi ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this

Re: usb driver problem

2011-01-23 Thread Jerry J
On Jan 23, 2011, at 3:05 PM, David C. wrote: I don't have much experience with UNIX drivers, or how they're named. I can guess what tty is short for, but no clue about cu. This resource may be helpful to ya: http://www.computerhope.com/unix/ucu.htm The first two hits when googling /dev/cu

Re: usb driver problem

2011-01-22 Thread -=JB=-
What are the parameters they list you need for the serial port if you want the hardware to connect using a mac? The stack I sent you can set every parameter I saw in Rev when I wrote it so I can easily alter the code to set the serialcontrolstring using the parameters they provide you instead of

Re: usb driver problem

2011-01-22 Thread Thomas McGrath III
Found some more information on this from the Arduino Forums. It seems to me that the disconnect connect in HT is similar to what I have been doing by hand. And that HT is doing some kind of buffering due to incorrect Flow Control Settings. But how can I test this in LC??? When my program

Re: usb driver problem

2011-01-22 Thread Thomas McGrath III
The serialControlString seems to be the only way to set things for the serial port connection. Which of these might effect Buffering or cause the port to hang. The possible settings are as follows: * BAUD=number: the port's baud rate * PARITY=N, O, or E: no parity, odd parity, or even parity *

Re: usb driver problem

2011-01-22 Thread stephen barncard
Also in the 80's I used this hardware device that worked well for my tape copy project at AM studios the CY233 intelligent controller chiphttp://www.controlchips.com/cy233.htm . On 23 January 2011 01:11, stephen barncard stephenrevoluti...@barncard.comwrote: thanks Jerry, I started to explain

Re: usb driver problem

2011-01-21 Thread Claudi Cornaz
Hi Thomas, Well, I recieved my arduino yesterday and started experimenting. I can upload a scetch to the board and it functions well. I can also communicate with it via ZTerm. (send and recieve) Now the most important part: communicating with it via livecode. Alas this gives me trouble aswell.

Re: usb driver problem

2011-01-21 Thread Claudi Cornaz
Tom, At the moment I got it working with my laptop with OS 10.5.8 I can send and recieve with livecode using open driver /dev/cu.usbmodem3d11 I use the arduino 0022.dmg There is still something weird going on with a buffer or so. With the first send I do and even waiting after the send for 1

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
Clasudi, Hey that's great that you got yours today. I really like this little thing. And I like that it is cheap enough to include in some permanent projects. The Xbee and some other boards are more expensive but my be really helpful. I think it would be great to discuss this off list

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
Ben, This did help. When trouble shooting I think I changed too many variables. I need to get back to square one and start again now that I have made some progress. Let you know when I come up with something. -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 21,

Re: usb driver problem

2011-01-21 Thread Claudi Cornaz
I just realize it's not only the os version that's different. My macbook has a older version of livecode aswell. Some more sleuthing to do. First thing, sometime tomorrow or this weekend. Keep you posted. Best wishes, Claudi ___ use-livecode

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
Do you have a more simple stack for LC? I just want to see if it connects... Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 21, 2011, at 7:36 PM, Claudi Cornaz wrote: Tom, Which version combination are you using? Best wishes, Claudi

Re: usb driver problem

2011-01-21 Thread Thomas McGrath III
LIvecode 4.5.2 and 4.5.3(rc4) Arduino Uno 0022 Sarah's SerialTest stack modified with the MakeBoard code for finding the port name since the SerialTest stack does not find the port. Arduino Code which works from Serial Monitor within Arduino IDE but not from LiveCode: /*Simple Serial

Re: usb driver problem

2011-01-20 Thread Thomas McGrath III
UPDATE: Something is working but makes no sense. Found a few terminal screen ideas but they are outside of Livecode. No good. Found a few applescript examples but would rather keep this crossplatform if possible and a LC to OSC solution would work on iOS but applescript would not. Not best but

Re: usb driver problem

2011-01-20 Thread Thomas McGrath III
It seems if I set the EOL to CRLF things work partly. i.e. The numbers show up in the field BUT the script keeps looping and will not stop causing the beach ball. Sarah's code: on readPort if the hilite of btn Port open = true then if recEOL is empty then resetEOL put the

Re: usb driver problem

2011-01-20 Thread Thomas McGrath III
OK well I can read the data from the USB Serial Modem -- but -- after it is done the app hangs. So I can open the port and then read the port and I think close the port but the system hangs. HELP ?? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 21, 2011, at

Re: usb driver problem

2011-01-18 Thread Claudi Cornaz
Hi Thomas, I just ordered a arduino yesterday and hope to have it tommorow. I sure hope this can be solved. (Well I am very positive about that, one way or another, that's why I ordered one anyway) I have been looking on the web. I guess you did this already but just in case, here are some

Re: usb driver problem

2011-01-18 Thread Thomas McGrath III
I installed the FTDIUSBSerial drive and nothing changes. I can see the /dev/cu.usbmodem1a21 in : Arduino IDE Terminal Cornflake Processing But not in Livecode : SerialTest MakeBoard Communicator MyOwnTestStack The Arduino Uno has a serial to usb chip on it so it doesn't use the FTDIUSBSerial

Re: usb driver problem

2011-01-17 Thread Thomas McGrath III
I will try this today when I get back home. should it be open file modem:tty.usbmodem1a21 I gotta look up the serialControlString Thanks will get back with the results -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 17, 2011, at 1:06 AM, J. Landman Gay wrote: On

Re: usb driver problem

2011-01-17 Thread J. Landman Gay
On 1/17/11 8:15 AM, Thomas McGrath III wrote: I will try this today when I get back home. should it be open file modem:tty.usbmodem1a21 It's been ages since I tried it so I'm fuzzy about the details, but since you can only (usually) have one modem at a time, I don't think you need a path

Re: usb driver problem

2011-01-17 Thread Bob Sneidar
How then would the Mac OS know which modem port you were opening? How would it know you were talking about the USB port? There are older Macbooks and Desktops that actually have a modem as well as USB ports. I read the dictionary, but didn't see anything on how to actually specify the USB port.

Re: usb driver problem

2011-01-17 Thread J. Landman Gay
On 1/17/11 2:29 PM, Bob Sneidar wrote: How then would the Mac OS know which modem port you were opening? There is only one modem serial port. The other is called the printer port. Technically both ports can accept any serial device, but in this case I assume the serial device is on the modem

Re: usb driver problem

2011-01-17 Thread Thomas McGrath III
JB, yes that would be great. I am still trying to figure out why the Arduino will not recognize (or will but then crashes). Send it to wither of my addresses. Thanks -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 17, 2011, at 9:32 AM, -=JB wrote: I wrote a

Re: usb driver problem

2011-01-16 Thread Sarah Reichelt
On Sun, Jan 16, 2011 at 2:18 AM, Thomas McGrath III mcgra...@mac.com wrote: I am having trouble accessing an Arduino Uno attached to my computer via USB. The device driver shows up as /dev/tty.usbmodem1a21 I tried a simple open driver then read from driver then close driver. But Livecode

Re: usb driver problem

2011-01-16 Thread Thomas McGrath III
The dev/tty.usbmodem1a21 does not show up in the list using the SerialTest.rev stack. It does show up in the Arduino software Serial list. Also in the Arduino you have to use the tty.usbmodem1a21. Also when you plug the Arduino in the Mac detects a new modem and asks to set it up in Internet

Re: usb driver problem

2011-01-16 Thread Kee Nethery
would love to talk to Arduino via Livecode. Too bad it does not work. Kee Nethery ___ use-livecode mailing list use-livecode@lists.runrev.com Please visit this url to subscribe, unsubscribe and manage your subscription preferences:

Re: usb driver problem

2011-01-16 Thread Sarah Reichelt
Are there drivers? For KeySpan and other USB serial adapters, you have to install the drivers before they will work properly. Cheers, Sarah On Mon, Jan 17, 2011 at 2:37 PM, Thomas McGrath III mcgra...@mac.com wrote: The dev/tty.usbmodem1a21 does not show up in the list using the

Re: usb driver problem

2011-01-15 Thread Thomas McGrath III
I now keep getting file is not open for read on the cu.usbmodem1a21 and eof on the tty.usbmodem1a21 What am I missing here? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 15, 2011, at 11:18 AM, Thomas McGrath III wrote: I am having trouble accessing an Arduino

Re: usb driver problem

2011-01-15 Thread Mark Wieder
Tom- Saturday, January 15, 2011, 8:18:26 AM, you wrote: I am having trouble accessing an Arduino Uno attached to my computer via USB. I haven't looked at the Arduino since they changed the chipset, but it *should* be straightforward. I realize that's no help, and crashing LC is something that

Re: usb driver problem

2011-01-15 Thread J. Landman Gay
On 1/15/11 10:54 AM, Thomas McGrath III wrote: I now keep getting file is not open for read on the cu.usbmodem1a21 and eof on the tty.usbmodem1a21 What am I missing here? -- Tom McGrath III http://lazyriver.on-rev.com 3mcgr...@comcast.net On Jan 15, 2011, at 11:18 AM, Thomas McGrath III

Re: usb driver problem

2011-01-15 Thread Mark Wieder
Jacque- Saturday, January 15, 2011, 7:31:30 PM, you wrote: There's no USB support per se, so if the device doesn't present itself as a serial port device it won't work. The path you use when you open a serial port as a file is the same one you'd use in shell -- use the /dev/tty.usbmodem1a21