LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Labview as a replacement for DEC PDP 11/44

Hello.

When I saw that many people here were using PDP 11 computers I decided to describe my problem. Here it goes...

At my plant we STILL USE DEC PDP 11/44, and I have some process instruments attached to it. For example one of them is Leeds&Northrup MDM-100. We are using it as temperature scanner (dont use control capabilities) for 60 temps from the process field. It is connected to PDP 11 via terminal connection, and now I have to connect it to PC so that we can get this temps to our new control system. I planed to read this temps with labview 5.1.1 and then via DDE or OPC to new control system, but problem occurs when I try to do anything with MDM-100.

All I know is it uses only RX,TX and GND wires (that should e everything what is needed for serial comm), but no idea about comm protocol. THE program that communicates with MDM-100 on PDP is written in FORTRAN 4+ and it uses escape sequences like "1400 to attach the term, "377, "200 and I have no idea how to translate it to LabView serial communication VIs.

Any ideas/suggestions are welcome.
0 Kudos
Message 1 of 8
(3,342 Views)
I've been in that same situation with laboratoy equipment a lot. so I built a serial sniffer cable to try to understand communication issues. Here's a readme that I put together. I've also got a rough labview VI that gets data from a pair of serial ports. I'm hesitant to include the VI because it's pretty incomplete and was just enough to get the job done.

Hope this helps,

Sheldon

********************** readme file **********************


This sniffer uses a serial breakout cable and a pair of serial ports to read network traffic across a serial link.

The serial cable is built as follows:

This cable has four connectors, all are 9 pin D connectors. A pair of them (male and female) are a pass-through and are hooked in line with the original serial link. The second pair of connectors forms a sniffer pair which will direct host write commands to one serial port and direct device write commands to another serial port.

The main cable is just a serial pass-through cable which has pin 1 male to pin 1 female etc for all 9 pins. There is a second par of cables which do the sniffing. Both of these cables are two wire cables, with a wire going from pin 2 on the pass-through cable to pin 2 on the sniffer connector, the second wire is the ground reference and goes from pin 5 on the pass-through cable to pin 5 on the sniffer connector. The second sniffer connector has a wire going from pin 3 on the pass-through cable to pin 2 on the sniffer connector. The second wire goes from pin 5 on the pass-through connector to pin 5 on the sniffer connector.


Diagram (extra control wires ommitted for clarity):




Host: Device:

2 ----------------------------------- 2
|
3 ---)------------------------------- 3
| |
5 ---)-----------------------)------- 5
| | | |
| | | |
| | | |
2 5 2 5

Device Sniff Host Sniff


The device sniff and host sniff connectors are attached to a pair of serial ports. The labview code provided here listens to the traffic on both ports and displays and logs the bytes sent. Any application which can listen to both
serial ports can be used however.
Technical geek, engineer, research scientist, biodegradable...
Message 2 of 8
(3,326 Views)
Man, this forum software totally hosed my ascii drawing. The readme file is enclosed.

Sheldon
Technical geek, engineer, research scientist, biodegradable...
Message 3 of 8
(3,327 Views)
"Any ideas/suggestions are welcome"

1) Try doing what Sheldon suggested. Any time you have a working interface, it is a good idea to sniff if you do not have better documentation.

2) Find the book that discusses the protocol.

3) If you do not get anymore sggestions on this thread, post again and leave the PDP 11/44 out of the picture. Old gear like that scares people away.

Do you have original source in a form you could post? The most recent book on Fortan i own is for Fortran-77 (as in 1977) but I maybe able to give you some ideas.

Keep in mind that communications back then was slow so you are probalbly going to find "X-On" and X-Off" used to throttle the data transfers.

"An Ex-DEC-ie with an attidude"*,

Ben

*(Robert J Schmalstieg, inventor of the first Ethernet Sniffer, circa 1990)
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 4 of 8
(3,309 Views)
yes, if you can find any source from the working program, I'm sure people here can help you reverse engineer it. Fortran 4 predates my coding era by a bit (that was more in my diaper filling era), but I've put in more than my share of time at fortran 77. Fire that code our way.

Some people are scared by old hardware, some check out the thread just to talk about old hardware... 🙂 Modern hardware has no soul.


Sheldon
Technical geek, engineer, research scientist, biodegradable...
Message 5 of 8
(3,281 Views)
TNX everybody.

1.Finding the book which describes comm protocol is mission impossible.
2.Sniffing cable is excellent idea and I will start working on it right away. I was thinking about connecting osciloscope (no help because no recording) or protocol analyzer (we have it but it is broken :-() but this cable ... I think this could help a lot.
3.I will post listing of working communication program. It is not big file.
0 Kudos
Message 6 of 8
(3,273 Views)
@Sheldon

Thanx a lot. Your sniffer cable is great, you should patent it 🙂
I started to work from first attempt. Now I have everything I need, in my working scanning program is an algoritam how to extract temps from strings that came from MDM-100. Some mathematical operations on bit level, I sholud rewrite it to LabView with no problem (I hope 🙂 )

I will send you an results....

TNX again to all.
0 Kudos
Message 7 of 8
(3,263 Views)
@Sheldon

Thanx a lot. Your sniffer cable is great, you should patent it 🙂
I started to work from first attempt. Now I have everything I need, in my working scanning program is an algoritam how to extract temps from strings that came from MDM-100. Some mathematical operations on bit level, I sholud rewrite it to LabView with no problem (I hope )

I will send you an results....

TNX again to all.
0 Kudos
Message 8 of 8
(3,261 Views)