9 More Discussions You Might Find Interesting
1. Debian
Dear List -
I am trying to capture data from a serial port and write it to a file.
/var/www$ cat /dev/ttyS0 > scale_value.html
cat: /dev/ttyS0: Device or resource busy
/var/www# cat /proc/tty/driver/serial
serinfo:1.0 driver revision:
0: uart:16550A port:000003F8 irq:4 tx:90... (11 Replies)
Discussion started by: Meow613
11 Replies
2. Shell Programming and Scripting
Hello;
I have this rather tricky problem to solve --(to me, anyways) ..
I am processing the following one liner with tcpdump..
tcpdump -i T3501 -A ether host 00:1e:49:29:fc:c9 or ether host 00:1b:2b:86:ec:1b or ether host 00:21:1c:98:a4:08 and net 149.83.6.0/24 | grep --line-buffered -B... (5 Replies)
Discussion started by: delphys
5 Replies
3. Programming
hi, I've a problem on my C/C++ program with Posix Library.
I have to read data from the serial but I have incorrect data, in fact I get a bunch of zeros:
"2953.3174, 2785.2126, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0 , 0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0, 0.0 ,... (24 Replies)
Discussion started by: enaud
24 Replies
4. UNIX for Dummies Questions & Answers
I have a script that takes 2 parameters (say) as mandatory
script1.sh a b
The 3rd parameter can be filename which it should process or it can come through a pipeline stream
The script should work both ways:
script1.sh a b filec
or cat filec | script1.sh a b
How to put logic in the... (1 Reply)
Discussion started by: ysrini
1 Replies
5. Shell Programming and Scripting
Hi,
I have a text file containing numbers. There are up to 6 numbers per row and I need to read them, check if they are 0 and if they are not zero check if they are within a given interval (min,max). If they exceed the max or min they should be set to max or min respectively, if they are in the... (4 Replies)
Discussion started by: f_o_555
4 Replies
6. Shell Programming and Scripting
Hi
I used this command:
mplayer http://host/axis-cgi/mjpg/video.cgi -user root -passwd root \
-cache 1024 -fps 25.0 -nosound -vc ffh264 \
-demuxer 3 -dumpstream -dumpfile output.avi It's ok but...
Video Playing is very fast! Why? Is it a synch problem?
What parameter I have to use for... (1 Reply)
Discussion started by: takeo.kikuta
1 Replies
7. Programming
I have problem with C programming. I want to send & receive data through serial communication. I send data(command) to device to get data from device but when receive data, it can't get altogether of data.
It get only some data. What should I do to get altogether of data?
If all of... (7 Replies)
Discussion started by: noppon_s
7 Replies
8. SCO
dear sir,
pls. can you help me ? , my os is unix sco 5.0.4 and ,server dat derive (1,4gb)
not working, now i want to transfer my server data in other machine (unix/other possible) by serial port/other port comminication.
thanks
pankaj raval (2 Replies)
Discussion started by: pankajbraval
2 Replies
9. Programming
Hi every body, i have the following problem :
I need to read incoming data from a serial port, this port has connected a weigth device to it that send the weigth and i need to read this data to my aplication, i had this problem in Window Enviroment and i resolve with a "C" routine, but in Unix... (1 Reply)
Discussion started by: jricardorm
1 Replies