On 06/05/11 14:24, Simon Leung wrote:
> On 06/05/11 13:36, jjengineercool123 wrote:
>> Hi,
>>
>> I have a TS-7250 and currently develop an embedded control system with a
>> web-based user interface on the same board. I'm trying to get the hosted
>> website on the SBC to have the ability to read and write to the RS232 port.
>> Given I have an out-of-the-box TS-7250 with just Apache httpd server, what
>> do I need to do to get that functionality?
> I have quite a similar system. For me, I have a daemon in C that takes
> care of RS232 communication. The web pages are written in php that talks
> to the C program through a socket.
As Michael pointed out, you can use python for everything including
rs232 communication and cgi. Main reason I used C for rs232 is that the
data I'm transmitting is binary, which is easier to deal with in C.
I'm a python fan but I'm never worked with it in a large scale. Due to
it's dynamic typing and interpreted nature, I'd imagine it'd be harder
to get things right in python in a large(ish) system. But maybe it's
just me.
>>
>> ------------------------------------
>>
>> Yahoo! Groups Links
>>
>>
>>
>
>
> ------------------------------------
>
> Yahoo! Groups Links
>
>
>
------------------------------------
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/ts-7000/
<*> Your email settings:
Individual Email | Traditional
<*> To change settings online go to:
http://groups.yahoo.com/group/ts-7000/join
(Yahoo! ID required)
<*> To change settings via email:
<*> To unsubscribe from this group, send an email to:
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
|