Instrument Control (GPIB, Serial, VISA, IVI)

cancel
Showing results for 
Search instead for 
Did you mean: 

DB25 RS232 Connector

Solved!
Go to solution

Hi,

 

I hoping there could be someone who might have experience with this and could offer some advice.

 

I have a very old piece of equipment (Schaffner NSG 1003) here which I'm hoping to write some LabVIEW drivers for.

I have the old manual for the piece of equipment here and it gives the following pinout for the the remote connector (RS232 25 Pin Female Connector)

 

Pin               Signal

1                  Ground

2                  RX

3                  Tx

4                  CTS

5                  RTS   (Pin 4 and 5 are shorted to each other)

6                  DTR

7                  Signal Ground

8                  Ground

18                +12V

20                DSR   (Pin 6,8, and 20 are shorted to each other)

25                -12V

 

I have tried making a few cables (null modem, straight through etc) but none have yet to work.

I wish to make a cable which uses a DB25 Male connector on the equipment end and a standard DB9 connector on the computer end.

 

Does anyone have any experience with this pinout and what pins are needed for successful communications?

 

Also the manual does not state if a termination character is needed.

I assuming one is needed and I'm guessing it is either a LF or CR.

If anyone has any experience with this machine or ideas in general I would really appreciate their input.

 

Thanks,

Patrick

 

0 Kudos
Message 1 of 7
(4,962 Views)

Patrick,

 

First part of the puzzle is to nail down the communications settings for the 1003.  Does the 1003 have settings for baud rate, data bits, parity, handshaking etc?  If so can you post that part of the manual.

0 Kudos
Message 2 of 7
(4,943 Views)
Solution
Accepted by topic author pmcdonnell

Hi Wayne,

 

Thanks for the reply.

 

In the last few minutes I have got the connection to work.

I could set the baud rate, data bits, parity, handshaking etc on the machine.

 

I then made a cable with the following pinout.

 

Pin (DB9) -> Pin (DB25)

     2                  3

     3                  2

     5                  7

screen          screen

 

I then enabled the termination character in LV to be a CR.

 

Thanks again,

Patrick

 

0 Kudos
Message 3 of 7
(4,937 Views)

Patrick,

 

Glad you got it to do something.  I don't have a 1003 but I do have a Schaffner 2025 and I do have a copy of the comm protocol for it.  I'm guessing that Schaffner used the same protocol in a lot of their instruments.  Let me know if you'd like a copy.

0 Kudos
Message 4 of 7
(4,933 Views)

Wayne,

 

It would be great if you could send me the comm protocol.

Its always nice to have it as reference, especially as Schaffner are now Teseq, seems like some documentation has been lost

 

Thanks,

Patrick

0 Kudos
Message 5 of 7
(4,912 Views)

Patrick,

 

Here it is. 

0 Kudos
Message 6 of 7
(4,909 Views)

Thanks Wayne

0 Kudos
Message 7 of 7
(4,887 Views)