No, I have no way of doing that.· I think it's clear this problem has moved out of the realm of Parallax.· You might want to check with the folks at REALbasic to see what can be done to process data more quickly.
Q: Why are you inverting your data to the USB2SER?· When I run your version of the program I get an omega sign instead of "X" -- that gets fixed when the Baud constant is changed to "T115200".· I don't know what you're trying to do with your project, but I get the feeling that even though the transmission speed between the SX and PC is high, the processing of data coming in is what's actually knocking your overall throughput down.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
Post Edited (Jon Williams (Parallax)) : 7/15/2005 7:44:17 PM GMT
Good question, I thought it is the easierst way for me to do it. I don't know how to connect the pins to a serial cable. Do you think the USB2SER slows things so much down?
I don't know how to be more plain: the problem is not in the USB2SER -- I fully believe it's in your PC and how the data is being handled on that end. Kind of like the old "I Love Lucy" episode when she was working in the candy factory; at one point the speed of the conveyor belt got so fast that she couldn't handle all the candy coming her way. I think that's what's happing in your RB program.
But that's just what I think.· You could contact the folks at FTDI regarding their VCP driver to see if the buffer size is an issue.· You could look at your driver details to see what your buffer size is for the VCP port.· On my system the RX buffer was set to 4096 which is the maximum size.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔ Jon Williams Applications Engineer, Parallax
Post Edited (Jon Williams (Parallax)) : 7/15/2005 7:50:08 PM GMT
Comments
Q: Why are you inverting your data to the USB2SER?· When I run your version of the program I get an omega sign instead of "X" -- that gets fixed when the Baud constant is changed to "T115200".· I don't know what you're trying to do with your project, but I get the feeling that even though the transmission speed between the SX and PC is high, the processing of data coming in is what's actually knocking your overall throughput down.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Post Edited (Jon Williams (Parallax)) : 7/15/2005 7:44:17 PM GMT
Good question, I thought it is the easierst way for me to do it. I don't know how to connect the pins to a serial cable. Do you think the USB2SER slows things so much down?
But that's just what I think.· You could contact the folks at FTDI regarding their VCP driver to see if the buffer size is an issue.· You could look at your driver details to see what your buffer size is for the VCP port.· On my system the RX buffer was set to 4096 which is the maximum size.
▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔▔
Jon Williams
Applications Engineer, Parallax
Post Edited (Jon Williams (Parallax)) : 7/15/2005 7:50:08 PM GMT
You are right, the problems are on the PC end - exactly with the Realbasic program.
I downloaded a serial test program and mesured the port - I get a maximum of 65K per second there, which is great.
Probably I need a special DLL to handle the data with Realbasic, I have wrote them an email.
Thank you Jon