beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 324

background image

P

ORT

P

RINT

(

PORT

,

STRING

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

308

P

ORT

P

RINT

(

PORT

,

STRING

)

A

RGUMENT

T

YPE

D

ESCRIPTION

port

int

The raw port to be written to.

string

cstring

The text string to be transmitted.

D

ESCRIPTION

Transmits the text contained in

string

to the port indicated by

port

. The port must be

configured to use a raw driver, such as the raw serial port driver, or either of the raw TCP/IP
drivers. The data will be transmitted, and the function will return. The port driver will handle
handshaking and control of transmitter enable lines as required.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

This function does not return a value.

E

XAMPLE

PortPrint(1, "ABCD")