Diagnostic:line; Diagnostic:serial[1|2|3|4]:Clearbuffer Tx | Rx | Txrx; Diagnostic:serial[1|2|3|4]:Receive:available; Diagnostic:serial[1|2|3|4]:Receive:channel Enable | Disable - HP E2261A User Manual

Quad serial m-module
Table of Contents

Advertisement

DIAGnostic:LINE?

DIAGnostic:SERial[1|2|3|4]:CLEARbuffer TX | RX | TXRX

DIAGnostic:SERial[1|2|3|4]:RECeive:AVAilable?

DIAGnostic:SERial[1|2|3|4]:RECeive:CHANnel ENABle | DISAble

DIAGnostic:SERial[1|2|3|4]:RECeive:CHANnel?

DIAGnostic:SERial[1|2|3|4]:STATus

Bit 7
0 = XOFF sent, receive buffer
reached STOP point
1 = XON sent, data in RX buffer
less than START value

DIAGnostic:SERial[1|2|3|4]:TRANsmit:BUFFerstatus

Returns the value of the interrupt line of the HP E2261A as an integer between 0 and
7. The power-on, reset is line 1.
Clears the transmit buffers, receiver buffers, or both for the specified port. Specify
to clear the transmit buffers,
TX
SRAM buffers), or
TXRX
Returns the number of data bytes available in the input buffer of the specified port.
Enables or Disables the UART receivers for the specified ports. Note that all
receivers are enabled by the driver at power-on. Any disabled receiver is
automatically enabled by an attempt to read data from the port.
Returns the current status of the specified port's receiver. The command returns the
string "ENAB" for enabled, or the string "DISA" for disabled.
Returns an integer value representing the status of the handshake lines for the
specified port. The integer bit definitions are as follows:
Bit 6
Bit 5
Not
0 = DTR OFF
0 = RTS OFF
used
1 = DTR ON
1 = RTS ON
Returns the status of the output FIFO buffer for the specified port. If it is at least half
full (greater than 1024 bytes), the command returns an integer 1. If the buffer is less
than half full, the command returns an integer 0 indicating it is safe to send up to
1024 bytes of data to the buffer.
to clear the receiver buffers (both the FIFO and
RX
to clear all buffers.
Bit 4
Bit 3
0 = XOFF received
transmit on hold
1 = XOFF not received,
transmit allowed
Bit 2
Bit 1
Not
0 = DSR OFF
used
1 = DSR ON
SCPI Command Reference
Bit 0
0 = CTS OFF
1 = CTS ON
27

Advertisement

Table of Contents
loading

Table of Contents