CTI Products NCB/AY with Serial Interface User Manual

Page 26

Advertising
background image

CTI Products, Inc.

NCB-AY User Guide

3. Network Variable Control

20

Connect Status (Output)

C Language Syntax

network output SNVT_telcom nvoCnctStat1;
network output SNVT_telcom nvoCnctStat2;

Usage

This output network variable provides the current state of the modem connection process.

Valid Range

Value

Output String

Description

0

TEL_NOTINUSE

Modem on hook and idle

1

TEL_OFFHOOK

Modem waiting for dial tone

2

TEL_DIALING

Modem dialing (and training for NCB/EM)

3

TEL_DIALCOMP

Modem executing mid dial pause (NCB/IM only)

7

TEL_ANSWERED

Modem training (NCB/IM only)

9

TEL_TALKING

Modem connected and online with distant modem,
ready to send data

12

TEL_HOLD

Modem retraining (NCB/IM only)

20

TEL_ERROR

Modem initializing, not present, or port disabled

When Transmitted

The output is updated upon each change in modem connection state.

Update Rate

The output is updated only once per change in modem connection state.

Connect String (Output)

C Language Syntax

network output SNVT_str_asc nvoCnctStr1;
network output SNVT_str_asc nvoCnctStr2;

Usage

This output network variable provides detail in text format of the connection parameters
established after the modem connection has reached the TEL_TALKING state. These
parameters include connect speed, protocol, error correction, etc.

Valid Range

A NULL terminated ASCII string up to 31 bytes in length.

When Transmitted

The output is updated when the modem connection state reaches TEL_TALKING or
TEL_NOTINUSE.

Update Rate

This network variable is updated once after the modem has entered the TEL_TALKING state and
once after the modem has entered the TEL_NOTINUSE state.

Advertising