Forum Jump

Select Group :
Select Forum :
Sorted By :
Sort Order :
From The :
 
Thread Tools  Search this thread 
tangentksai
Total Points:
10
Registered User
June 12, 2009 12:11 PM PDT
Serial port communication
I did a research on serial port communication. It seems to me that intel fortran compiler for linux doesn't support the serial port communication. Instead, sport_XXX routines are only for windows. I am just wondering whether I missed something that enables me to do the serial port communication in linux. Or is there any way to do or any library to use?

thanks in adavance!
Yolanda Chen (Intel)
Total Points:
1,010
Status Points:
510
Brown Belt
June 16, 2009 1:47 AM PDT
Rate
 
#1
Quoting - tangentksai
I did a research on serial port communication. It seems to me that intel fortran compiler for linux doesn't support the serial port communication. Instead, sport_XXX routines are only for windows. I am just wondering whether I missed something that enables me to do the serial port communication in linux. Or is there any way to do or any library to use?

thanks in adavance!

Linux use device file to access device by users. For serial port device, normally it named as /dev/ttyS0, /dev/ttyS1 for com0 and com1. You can refer to serial port programming under linux for details on how to access it through file operations.

--------
Yolanda Chen
Intel Developer Support
Tools Knowledge Base: http://software.intel.com/en-us/articles/tools




Intel Software Network Forums Statistics

8285 users have contributed to 31229 threads and 99107 posts to date.
In the past 24 hours, we have 7 new thread(s) 35 new posts(s), and 47 new user(s).

In the past 3 days, the most popular thread for everyone has been comparison cilk++, openmp, pthreads first results The most posts were made to comparison cilk++, openmp, pthreads first results The post with the most views is Very amusing...  Escalated as

Please welcome our newest member tvinni