beautypg.com

Pt.exe – powertalk command line interface, Pt.exe examples – Cocoon POWERTALK 101 User Manual

Page 29

background image

PowerTALK 101

28

PT.EXE – PowerTALK command line interface

The command line interface under W95 DOS or WNT command line, connects to PowerTALK
units via the TCP/IP Ethernet port and network.

Command line options for PT.EXE are given below:

PowerTALK 101 configuration utility version 1.01. Type pt -h for help.

Copyright 1998
For distribution with PowerTALK 101 by Cocoon Creations CC.

Usage:
PT [options]
PT [options] password command hst [arguments]
hst is the hostname or IP address.
Options:

-h

Display help screen

-w

Do not quit after OK or ERROR, wait for 1 second inactivity.

-i#

Use Local IP number #, as detected above.

-In.n.n.n

Use specified local IP number.

-Bn.n.n.n

Use specified local broadcast, defaults according to IP class.

Commands:

hostip

hst IP

Set the user-definable IP address

hostname

hst newname

Specify a new hostname

netmask

hst netmask

Set the netmask address

gateway

hst gateway

Set the gateway address

broadcast

hst prt chn

Set the port to broadcast to a specific channel

disconnect

hst prt

Disconnect this port from the network

speed

hst prt spd

Set the port speed in bits per second.

parity

hst prt prt

0/1/2 sets none/odd/even parity.

stopbits

hst prt bits

selects stopbits, 1 or 2.

databits

hst prt bits

set 8,7,6 or 5 data bits.

txdelay

hst prt n

Wait for n character periods before transmit.

password

hst password

Set the password.

commit

hst

Makes config changes effective.

rollback

hst

Cancels config changes.

config

hst

Report the current configuration.

reset

hst

Performs a hard reset.

If PT.EXE is able to detect the Windows NT IP address, it will display and use it automatically. It
can still be overridden by the

–I

command.

PT.EXE examples

Confirm your PC IP address

From a command prompt in Windows 95/98/NT, type:

IPCONFIG

(in the case you are running NT), or

WINIPCFG

(in the case you are running W95/98)

The PC will respond with it’s IP address(es), in this example this will be assumed to be 10.1.1.7.

Confirm that the IP address(es) thus obtained corresponds with the values as set on page 35
(

Network connection: IP address setting

).