![]() |
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| urgent......Serial port | arunchaudhary19 | Linux | 16 | 11-02-2007 06:42 AM |
| Serial Port Datalogger | uryuu | SUN Solaris | 1 | 09-26-2007 06:22 AM |
| serial port signal | ppass | SUN Solaris | 0 | 02-04-2005 11:11 AM |
| Serial port communication | Aretha | UNIX for Dummies Questions & Answers | 1 | 01-25-2002 09:44 PM |
| socket on serial port | kintoo | High Level Programming | 2 | 07-31-2001 04:44 AM |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
||||
|
Communicating with Serial Port
I am using system running on red hat linux 4.
I had connected health measuring machine to the serial port and configured it [root@localhost ~]stty -F /dev/ttyS0 9600 -parenb cs8 -cstopb this machine requires a command to be passed to it for giving output. I am unable to pass command hexa format(0x68) to the machine. So when i used cat not getting any output from the port. Please help me on this. [root@localhost ~]cat /dev/ttyS0 > /opt/srldata.txt [ctrl-c] i had tried to pass command using echo [root@localhost ~]echo "0x68" > /dev/ttyS0 but dont know how to get the output. I need to collect values from the port and display it on web page using PHP on Linux. Please any Linux/Unix Gurus help me to sort this out. Thanks in advance |
| Bookmarks |
| Tags |
| linux download, unix download |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|