551 481 01

Info Note

 

Communication with VIGO from a DPI through a P-NET Gateway Service.

 

System overview

 

Building the address

Note that a port number only needs to be used with the DPI in this example. The PD 664, TCPNode, InternalNodes and UDPNode don’t have port numbers.

 

The only difference between the addresses in the DPI A path and DPI B is that we skip a single 1 because we don’t go through the internalNode on InternalNet2.

 

DPI A to VIGO PC

Out of DPI (Port 2)

On to PD 664 (Node 2)

On to InternalNode on InternalNet2 (Node 1)

On to InternalNode on InternalNet1  (Node 1)

Out on UDPNet (Net no. 1)

On to a node on UDPNet (Net no. 1)

Into VIGO PC Node 1

On to InternalNode no. 112 decimal or 70 hex (Softwirelist in VIGO PC)

 

VIGO_PC_FreeRun : LongInteger[devicetype:5000] AT NET: (2,2,1,1,1,1,1,112) SOFTWIRE: $7;

 

From DPI B to VIGO PC

Out of DPI (Port 2)

On to PD 664 (Node 2)

On to InternalNode on InternalNet1  (Node 1)

Out on UDPNet (Net no. 1)

On to a node on UDPNet (Net no. 1)

Into VIGO PC Node 1

On to InternalNode no. 112 decimal or 70 hex (Softwirelist in VIGO PC)

 

VIGO_PC_FreeRun : LongInteger[devicetype:5000] AT NET: (2,2,1,1,1,1,112) SOFTWIRE: $7;

 

 

Setting up the UDP node in the Gateway service

In the UDP channel goto IPNetTable[1]

Write the IP address of the PC running VIGO. Localhost = 127.0.0.1

IPAddr.b[0] = 127

IPAddr.b[1] = 0

IPAddr.b[2] = 0

IPAddr.b[3] = 1

 

Set this portnumber to 34378 – (Nodeadress of VIGO PC)

UDPPort = 34378-1 = 34377   

 

Set UsePassword = False

Set Router = 0