Relevant set command, Dst,sts: data stream port status, Function – Spectra Precision ProFlex 800 Reference Manual User Manual

Page 556: Command format

Advertising
background image

542

Query Command Library

Example

Querying port I2 for its current settings:

$PASHQ,DST,I2*63
$PASHR,DST,9,I2,ON,1,0,1002,*5A

Relevant Set

Command

$PASHS,DST

DST,STS: Data Stream Port Status

Function

This command allows you to read the status of each of the
data stream ports (Ix), as well as the status of port E (modem)
and ports P, Q and I (Ethernet).

Command Format

Syntax

$PASHQ,DST,STS[,s][*cc]

Parameters

s2

Data stream port

I1-I9

s3

Enable/disable control parameter

ON, OFF

d4

Connection Modes:
• 1: Server
• 2: Client

1-5

d5

IP mode (needed if d4=1 or 2):
• 0: TCP
• 1: UDP

0, 1

d6

IP port number (needed if d4=1, 2)
• If d4=1 (Server), specify the number of the receiver’s

internal port used.

• If d4=2 (Client), specify the number of the external

server’s IP port used.

1000-
1009

s7

IP address or host name (needed if d4=2)
• If d4=2 (Client), specify the external server’s IP

address.

32 char
max.

*cc

Optional checksum

*00-*FF

Parameter

Description

Range

Parameter

Description

Range

s

Interrogated data stream port. If s is omitted, the current
statuses for more ports (i.e. ports Ix but also ports E, P,
Q and I) are listed.

I1-I9, E,
P, Q, I

*cc

Optional checksum

*00-*FF

Advertising