Sigma – INFICON SQC-122 Thin Film Deposition Controller Communications Manual User Manual

Page 8

Advertising
background image

1318 Duff Drive

?

Fort Collins, Colorado 80524

?

(970) 416-9660

?

Fax (970) 416-9330

?

Sigma

instruments

CloseComm

Parameters: None.
Return : 16 Bit Integer, always returns a 1.

CloseComm is used to close the currently opened communications port.
CloseComm should always be used before attempting to open another port or
before exiting the dll’s calling application. The dll can have only one port open at a
time.

Example:

ReturnVal =CloseComm()

Close the currently open comm port

ChkCommDone

Parameters: None.
Return : 16 Bit Integer.

ChkCommDone is used to check the status of a single communications iteration.
The function returns one of five different types of values:

-1:

communications not complete

Positive integer :

communications complete, value is byte count of
returned message.

-99 :

communications complete, but return message
incomplete due to timeout with unit.

-98 :

communications complete, but return message not
valid due to a CRC error.

-97 :

communications complete, but message not
understood by unit.

Example:

ReturnVal =ChkCommDone()

check communications status

ClearComm

Parameters: None.
Return : 16 Bit Integer, always returns a 1.

ClearComm is used to clear the communications buffers in the dll.

Advertising