beautypg.com

Serial terminator tn – Measurement Computing Serial488/4 User Manual

Page 60

background image

Section 3

Command Descriptions

3.21

Serial Terminator

Tn

The Serial Terminator command is used in conjunction with the Data EOI (Ln)

command to specify which character to assert EOI on for the selected serial port. The
Port Select command (Pn) is used to select the serial port regardless of addressing
mode in use. The terminator value may range from 0 to 255 allowing any 7 bit ASCII
character or 8 bit data value to be used. The factory default setting as set by the Save
Configuration command (S0) is T010, the line feed character.

Tn

Select serial terminator where n is a value in the range 0 thru 255

T?

Return the currently selected serial terminator.

Example 1: Set terminators for ports 1 and 3 using dual primary addressing mode.

PRINT#1,"CLEAR08"

reset the Serial488/4

PRINT#1,"OUTPUT08;P1X"

select port 1 as the current port

PRINT#1,"OUTPUT08;T13X"

select CR terminator

PRINT#1,"OUTPUT08;P3X"

select port 3 as the current port

PRINT#1,"OUTPUT08;T0X"

select NUL character terminator

Example 2: Set terminators for ports 1 and 3 using secondary addressing mode.


PRINT#1,"OUTPUT0800;P1X"

select port 1 as the current port

PRINT#1,"OUTPUT0800;T13X"

select CR terminator

PRINT#1,"OUTPUT0800;P3X"

select port 3 as the current port

PRINT#1,"OUTPUT0800;T0X"

select NUL terminator

This manual is related to the following products: