beautypg.com

B&B Electronics VFG3000 - Manual User Manual

Page 322

background image

P

ORT

G

ET

CTS(

PORT

)

V

LINX

F

IELDBUS

G

ATEWAY

M

ANAGER

U

SER

M

ANUAL

P

AGE

306

P

ORT

G

ET

CTS(

PORT

)

A

RGUMENT

T

YPE

D

ESCRIPTION

port

int

The raw port to get the CTS state from

D

ESCRIPTION

Returns the CTS state of the specified port. The port must be one of the serial ports
configured to use a raw driver.

Note: The communication port number can be identified in Fieldbus Gateway Manager’s
status bar when the port is selected.

F

UNCTION

T

YPE

This function is active.

R

ETURN

T

YPE

int.

E

XAMPLE

CtsState = PortGetCTS(2)

In this example, the function returns the CTS state of the RS232 communication port in the
variable

CtsState

.