
40
Network (NET) Commands
Syntax:
#NET[
Connection, StringType, Device, ‘Command’
];
Name
Required/Optional
Data Type
Format
Description
Connection
Required
Variant
Fn
where n is 1 or 2
Defines the connection type:
• TCP (1)
• UDP (2)
String Type
Optional
Variant
Tn
where n is 1 or 2
Defines the string type:
• ASCII string (1)
• HEX string (2)
If you leave StringType blank, a
default of T1 is assumed
Device
Required
Variant
If using Shortcuts
(recommended):
@{shortcutname}
For explicit device
references:
IAddress, PPort
Default port is 7267
A string expression that is the valid
name of a shortcut (see section 8)
or the IP address and port of the
device being controlled.
Examples:
(Increments by one the audio level on input channel 1 of a remote ezRoom using an ASCII string type via UDP):
#NET[F2,@{CM800},’#AIN1[I1,L+];’];#NET[F2,I192.168.1.101,’#AIN1[I1,L+];’];
Command
Required
Variant
A string expression that contains the
command.
Specific to device. For
device commands, see
manufacturers instructions
Intercom (HTP Commands)
Syntax:
#HTP[
URL
];
Name
Required/Optional
Data Type
Format
Description
URL
Required
Variant
http: type URL string
URL of remote website
Server
Required
Variant
If using Shortcuts
(recommended):
@{shortcutname}
For explicit device
references:
IP address of the
Conductor server
A string expression that is the valid
name of a shortcut (see section 8)
or the IP address of the Conductor
server.
Example with shortcuts:
(initiates an intercom request to the admin station located in the office):
#HTP[http//@{server}/calypso/conductor/call];
#HTP[http://192.168.1.99/calypso/conductor/call]
For network (NET) commands, we recommend using UDP ("F2") as the preferred protocol as it tends to be faster .