SYSTem:COMMunicate:LAN:HISTory?

34980A

SYSTem:COMMunicate:LAN:HISTory?

Syntax

SYSTem:COMMunicate:LAN:HISTory?

Description

This command returns a time-stamped record of all LAN session connections and disconnections.

Remarks

Return Format

The command returns the LAN connection history in Definite-Length Block format. The syntax is a pound sign (#) followed by a non-zero digit representing the number of digits in the decimal integer to follow. This digit is followed by a decimal integer indicating the number of 8-bit data bytes to follow. This is followed by a block of data containing the specified number of bytes.

For example:

 

Each connection record is enclosed in quotes and multiple responses are separated by commas. For example:
 

1  Date (November 21, 2004)

4  Session Number

2  Time of Day (1:30:00 PM)

5  Session Type (LAN, SOCKets, TELNet,
     VXI11, or WEB)

3  IP Address

6  Connect/Disconnect Status

 

If the connection history has been cleared, this command returns "#10".

Example

The following query returns the LAN connection history.  

SYST:COMM:LAN:HIST?

Typical Response:  

#3215"11/21/2004 13:30:00 169.254.149.35-1 VXI11 Connect","11/21/2004 13:35:24 169.254.149.35-2 VXI11 Connect","11/21/2004 13:50:02 169.254.149.35-1 VXI11 Disconnect","11/21/2004 14:03:54 169.254.149.35-2 VXI11 Disconnect"

See Also

SYSTem:COMMunicate:LAN:HISTory:CLEar