Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 05-21-2004, 02:55 PM   #1
LQ Newbie
Registered: May 2004
Posts: 1

Rep: Reputation: 0
serial port configuration for labview 7.0 under linux

Hi Everybody Im new in this group and I want to ask for some items:

Im a new user of labview 7.0 for linux. Im experienced with the same version but for windows XP and I have not problem when I Work under windows.

I am developing a program in labview for a meteorological station, I have an electronic device that take some environmental parameters and send them like electrical signals by a serial port toward a DAQ and finally to a Personal Computer, with the software that Im developing I can see the variables in a graph, like presure, temperature etc. all this work well under windows, but I want to migrate to Linux and I have troubles for to do it,

I have a test program for to verify de data transmition from de meterological station to the computer and I can see de data flux when I run this program in windows, this program sohws in a window the transfered data like ascci characters, but when I trat to run the same program in labview 7.0 under Mandrake Linux 9, the program dont work, because In cant see the data flux. When I run the software dont present any error but it works perfectly.

I would like to know how to configurate the serial port from my computer under linux to establish communication between the meteorological station and the serial port of the PC.

I think it could be a PC configuration problem, but I dont know where to begin to work for fix it.

thanks for all the support you can give.
Old 05-21-2004, 04:22 PM   #2
Registered: Feb 2002
Location: Grenoble
Distribution: Debian
Posts: 9,696

Rep: Reputation: 232Reputation: 232Reputation: 232
Moved: This thread is more suitable in Linux-Newbie and has been moved accordingly to help your thread/question get the exposure it deserves.

Look into your /var/log/messages (you need to be root). Durung boot (check the last one using the timestamps) you should have something like
May 17 11:17:14 mara kernel: Serial driver version 5.05c (2001-07-08) with HUB-6 MANY_PORTS MULTIPORT SHARE_IRQ SERIAL_PCI ISAPNP enable
May 17 11:17:14 mara kernel: ttyS00 at 0x03f8 (irq = 4) is a 16550A
May 17 11:17:14 mara kernel: ttyS01 at 0x02f8 (irq = 3) is a 16550A
It means I have two serial ports. I can sonfirm it by looking into /dev:
ls -l /dev/ttyS*
lr-xr-xr-x    1 root     root            5 maj 21 13:58 /dev/ttyS0 -> tts/0
lr-xr-xr-x    1 root     root            5 maj 21 13:58 /dev/ttyS1 -> tts/1
So there are /dev/ttyS0 (COM1 under DOS/Windows) and /dev/ttyS1 (COM2).
Check this in your system.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Serial port configuration Xreagan Linux - Distributions 5 11-16-2010 01:51 AM
serial port configuration zak_zeem Linux - Networking 4 09-09-2005 07:06 AM
serial port configuration vidyaraj Linux - Hardware 1 02-26-2004 05:01 AM
Older Logitech 3 button serial port mouse configuration. Tarts Slackware 0 10-21-2003 01:08 AM
serial port configuration AndyCanfield Linux - General 1 08-15-2003 04:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 03:43 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration