Collecting data from async port

Collecting data from async port

Post by Widell Syste » Sat, 10 Jul 1999 04:00:00



I would like to hook up an ascii barcode scanner to a async port on one of
my 128 port concentrators and have the data transmitted by the scanner
captured into a file.
I am using AIX 3.2.5 on a 7012 powerstation (340 series). the scanner
transmits the ascii characters and a carriage return every time it properly
reads a bar code.

Thanks,
Doug Baker

 
 
 

Collecting data from async port

Post by LAIX Software Consultin » Sun, 11 Jul 1999 04:00:00


The simplest solution:  cat /dev/tty##  > /tmp/someFile

Regards,
Paul


> I would like to hook up an ascii barcode scanner to a async port on one of
> my 128 port concentrators and have the data transmitted by the scanner
> captured into a file.
> I am using AIX 3.2.5 on a 7012 powerstation (340 series). the scanner
> transmits the ascii characters and a carriage return every time it properly
> reads a bar code.

> Thanks,
> Doug Baker


 
 
 

Collecting data from async port

Post by Bob Mariot » Tue, 13 Jul 1999 04:00:00


Depending on your app - you can read directly from the tty port.  Be
sure that login=disable for the port.  The cat will work but will not
terminate which may give trouble to reading the file.  We use a 'C'
program to read from the port and deliver what it received to a perl
program for processing.  Works great.



Quote:>I would like to hook up an ascii barcode scanner to a async port on one of
>my 128 port concentrators and have the data transmitted by the scanner
>captured into a file.
>I am using AIX 3.2.5 on a 7012 powerstation (340 series). the scanner
>transmits the ascii characters and a carriage return every time it properly
>reads a bar code.

>Thanks,
>Doug Baker

 
 
 

1. Problem adding tty port using 128 Port Async Adapter with 16 port Async Node

This system is  43P-140 AIX 4.2.1.x  with PCI 128 port Async. with 2 16 port
RAN EIA-232

I am tring to add tty ports to my ran system.  When I go to to smit

1)smitty tty
2)Add a TTY
3)tty rs232 Asynchronous Terminal
4)sa3 Available 04-05-22 16-Port RAN EIA-232 for 128-Port Adapter

I then get this error message
1800-109 There are currently no additional
SMIT screen entries available fo this
item  This item may require installation of
additional software before it can be accessed.

I have these files loaded

  devices.pci.4f111b00.asw   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
  devices.pci.4f111b00.diag  4.2.1.2  COMMITTED  RISC PC PCI Async 128 Port
  devices.pci.4f111b00.rte   4.2.1.2  COMMITTED  PCI 128-Port Asynchronous
  devices.pci.4f111b00.rte   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
  devices.common.IBM.cx.rte 4.2.1.2 COMMITTED CX Common Adapter Software

 I noticed devices.pci.4f111b00.rte   4.2.1.0 is defferent version I 4.2.1.2
from
 ibm web site but failed know how to get it to load twice (newbie).

I also notice I have devices.pci.4f111100.com 4.2.1.2 COMMITTED PCI 8-Port
Asynchronous Adapter
Can not uloaded this smit deinstall reports dependents for these

devices.pci.4f111b00.rte   4.2.1.0  COMMITTED  PCI 128-Port Asynchronous
devices.pci.4f111b00.diag  4.2.1.2  COMMITTED  RISC PC PCI Async 128 Port

This may be were the problem is.

Thanks for any help,
Lance Adams

2. Character set is junked after X

3. (128 Port Async Card / 16 Port RAN ) Freezing

4. ipfw - pros and cons

5. 128-port Asynch Controller & Enhanced Remote Async Node 16 port

6. help Linux will not boot off HD

7. Two IP address over one physical interface

8. Help about L1 data misses collected by Performance Counters

9. Collecting raw data from floppy

10. problem in collecting data spread over multiple buffers

11. format of data collected with sar

12. sync and async data