21.09.2013 Views

ATS-2 Basic Extensions.vp

ATS-2 Basic Extensions.vp

ATS-2 Basic Extensions.vp

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 6 RS-232 Communication <strong>ATS</strong>.Comm.Interval<br />

<strong>ATS</strong>.Comm.Interval<br />

Syntax <strong>ATS</strong>.Comm(ByVal Num As Integer).Interval<br />

Property<br />

Data Type Long<br />

Parameter Name Description<br />

Num 1 or 2 Two RS-232 communication channels can be<br />

defined at one time.<br />

Description This command sets the interval (milliseconds) for polling the<br />

hardware for data under the Windows 3.0 operating system.<br />

<strong>ATS</strong>.Comm.NullDiscard<br />

Syntax <strong>ATS</strong>.Comm(ByVal Num As Integer).NullDiscard<br />

Data Type Boolean<br />

Property<br />

True Null characters are not transferred from the port to the<br />

receive buffer.<br />

False (Default) Null characters are transferred from the port to the<br />

receive buffer.<br />

Parameter Name Description<br />

Num 1 or 2 Two RS-232 communication channels can be<br />

defined at one time.<br />

Description This command determines whether null characters are allowed into<br />

the receive buffer.<br />

A null character is defined as ASCII character 0, Chr$(0).<br />

<strong>ATS</strong>.Comm.OutBufferCount<br />

Property<br />

Syntax <strong>ATS</strong>.Comm(ByVal Num As Integer).OutBufferCount<br />

Data Type Integer<br />

Page 6-10 AP <strong>Basic</strong> <strong>Extensions</strong> for <strong>ATS</strong>-2

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!