Solved

Digi Neo Multiport serial card with SCO Openserver 5.07

Posted on 2009-05-18
11
746 Views
Last Modified: 2013-12-05
Hi experts,
I hav a Digi Neo 8 port serial card installed in an HP Proliant ML310, running SCO Openserver 5.07 . Attached to the serial ports are 3 different laboratory instruments . My problem is the following : when sending data to the instruments via the serial port, the instrument only receives the first 56 bytes, rest is discarded. In recieving data from the instruments ther is no limit in the number of recieved bytes. Ports work properly when a teminal is attached to them.
A "cat" of a file to the port shows the same problem : only the first 56 bytes are transmitted.

I've contacted Digi internaitional support, they claim it's a flow control issue.

Anyone out there who has had or heard of such a problem before ?

0
Comment
Question by:hapee
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 6
  • 3
  • 2
11 Comments
 
LVL 95

Assisted Solution

by:John Hurst
John Hurst earned 60 total points
ID: 24411693
I think Digi could be correct. It has been well over a decade since I have ever looked at this, but if the instrument can send and Digi can receive it all, then the Digi appears to be working properly.

If the instrument cannot receive all the data, it appears that Digi card is sending faster than the instrument can take it. That is, the instrument is slower that the Digi card.

1. Can you set the Digi card serial speed? It has probably defaulted to 115 Kbaud. Try moving it down to 9.6Kbaud or 19.2Kbaud and see it that helps.
2. Is there a character in your file that appears to the instrument to be a flow control character? Characters like CR, LF, XOFF (Ctrl-S), XON (Ctrl-Q) or any other character less than decimal 31.

... Thinkpads_User
0
 

Author Comment

by:hapee
ID: 24411833
Speeds for the serial ports are 9600 for 2 instruments, 2400 for the third one. Until a week ago, communicatoin was running fine with a Digiboard Acceleport Xem. Due to a system crash, I had to change the Unix server, as well as the Digi card (PCI Express card). Software uses the same settings as before, no change in cabling ...

When running the same driver on the tty1a (the computer's own serial port) everything is ok.

There are no special characters in the transmitted strings, besides STX, ETX,CR,LF. Strings start with STX, end with ETX + checksum + CRLF. When the transmitted string length is less then 56 bytes, everything passes normally. (ASTM format for 2 instruments)
0
 
LVL 95

Assisted Solution

by:John Hurst
John Hurst earned 60 total points
ID: 24412062
I have used a couple of name brand cards (I cannot recall if they were Digi)  for serial port communications to radio dispatch gear. They initially worked in old computers, but we had to use new computers for the project and the cards just didn't work in these new computers. I substituted white box generic multiple serial port cards from the local parts store and moved on. Your last post added some information not in your first post, so this may be the problem you have. Sorry I cannot be of more assistance. .... Thinkpads_User
0
The Ultimate Checklist to Optimize Your Website

Websites are getting bigger and complicated by the day. Video, images, custom fonts are all great for showcasing your product/service. But the price to pay in terms of reduced page load times and ultimately, decreased sales, can lead to some difficult decisions about what to cut.

 

Author Comment

by:hapee
ID: 24412172
Thanks for your effort anyway

hapee
0
 
LVL 14

Assisted Solution

by:mikelfritz
mikelfritz earned 40 total points
ID: 24442298
What flow control are the digi ports set to?

stty -a < /dev/ttyxxx

compare the settings to /dev/tty1a


Do the devices use hardware or software flow control?

When you say a terminal works fine; do you mean you can cat this file to the terminal and it displays all of the data?
0
 

Author Comment

by:hapee
ID: 24464897
Hi,
Settings for /dev/tty1a and /dev/tty1nx (vi stty -a ...) are the same
I've tried to turn all flow control off, same result
When sending data (cat > /dev/tty...) to a terminal (emulatoin program) only the first 56 bytes are transmitted ...
0
 
LVL 14

Assisted Solution

by:mikelfritz
mikelfritz earned 40 total points
ID: 24472309
So the terminal works if you enable login on the port then?





0
 

Author Comment

by:hapee
ID: 24472424
Yes, the terminal works perfectly on all ports
0
 
LVL 95

Assisted Solution

by:John Hurst
John Hurst earned 60 total points
ID: 24472466
Hello hapee - Is it feasible to try a different serial port card? I suggest this because the range of ideas for a working serial port have been explored and nothing is working for you.
... Thinkpads_User
0
 

Author Comment

by:hapee
ID: 24472783
I'm afraid that is not an option, or at least not immediately. I think I will try to change the cabling (shorcircuit all hardware flow control on the Digi Neo and the instrument side), since the loopback test also works.
I will let you know the results !
0
 

Accepted Solution

by:
hapee earned 0 total points
ID: 24847018
Replaced the Digi Neo by a Moxa Nport Lite, which is working properly.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This tech tip describes how to install the Solaris Operating System from a tape backup that was created using the Solaris flash archive utility. I have used this procedure on the Solaris 8 and 9 OS, and it shoudl also work well on the Solaris 10 rel…
Introduction Regular patching is part of a system administrator's tasks. However, many patches require that the system be in single-user mode before they can be installed. A cluster patch in particular can take quite a while to apply if the machine…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

717 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question