[Last Call] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 756
  • Last Modified:

Digi Neo Multiport serial card with SCO Openserver 5.07

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
hapee
Asked:
hapee
  • 6
  • 3
  • 2
6 Solutions
 
John HurstBusiness Consultant (Owner)Commented:
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
 
hapeeAuthor Commented:
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
 
John HurstBusiness Consultant (Owner)Commented:
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
Independent Software Vendors: 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!

 
hapeeAuthor Commented:
Thanks for your effort anyway

hapee
0
 
mikelfritzCommented:
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
 
hapeeAuthor Commented:
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
 
mikelfritzCommented:
So the terminal works if you enable login on the port then?





0
 
hapeeAuthor Commented:
Yes, the terminal works perfectly on all ports
0
 
John HurstBusiness Consultant (Owner)Commented:
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
 
hapeeAuthor Commented:
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
 
hapeeAuthor Commented:
Replaced the Digi Neo by a Moxa Nport Lite, which is working properly.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 6
  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now