TCPIP device is an interface between SpecMan4EPR and other control code, e.g. written in LabView™. TCPIP protocol allows to connect devices remotely.

At a moment TCPIP device supports read and write properties but does not do transient signal acquisition, however in the future fully functional device driver is planned.

The remote part of the TCPIP interface has to be built using client-server technology. It can be written using any language on any platform that supports TCPIP. TCPIP device is connected as a client to the external interface that works as a server. The template for remote interface written using LabView™ is available.

The exchange protocol has two packet types and two modes - with handshake and without. The simple packet delivers a value of a single property. Large packet transfers a buffer with data. The exchange with handshake forces SpecMan4EPR to wait for device's response.

The TCPIP driver can be only partially configured using Device Configuration dialog. The presence of device properties is defined by setting corresponding entries in the device section of Device Configuration (CFG)

Entry

Value

Description

DeviceDLL

DUMMY

Device specification

IP

<computer name> of xxx.xxx.xxx.xxx

Server IP

port

[n]

Server port

par[n0]

<name>, <unit>, [write/read/rwrite], [(nohshake)/hshake]

Definition of value-based device property

 

Simple Packet
Field Format Description
Property number integer  
Flag unsigned dfLargePacket = 0x80000000, should be unset for simple packet
dfHandshake = 0x40000000
Value double  

 

Large Packet
Field Format Description
Property number integer, 4bytes  
Flag unsigned, 4bytes dfLargePacket = 0x80000000, should be set
dfHandshake = 0x40000000
Size integer, 4bytes Size of buffer
Buffer n bytes Buffer