<< >>

TCPIP device driver was introduced to interface devices controlled using LabView™. TCPIP protocol allows to connect remote devices. At a moment TCPIP device does not support interaction with transient signal acquisition, however in the future fully functional device driver is planned.

The external 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 external interface written using LabView™ is supplied.

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 CFG file

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

<< >>