Set / Retrieve SBR Flags

Added December 2012

To retrieve the current flags:

? tab(-10, AG_SBRFLAGS); chr(127);

input "",flags1,flags2

To update flags:

? tab(-10, AG_SBRFLAGS); opcode; flags1; ","; flags2; chr(127);

AG_SBRFLAGS (102) allows dynamic retrieval and updating of SBR= flags from the client workstation (e.g. ATE).

opcode

indicates the operation:

Value

Action

1

replace existing flags with new flags1 and flags2

2

ignore flags1; replace flags2 with new values

+4

Set the specified bits of flags1 and flags2

+8

Clear the specified bits of flags1 and flags2

 

flags1, flags2 (b,4)

made up of bits as defined in SOSLIB:ashell.def in the SBRF_xxx and SBRF2_xxx symbols.

Note that this command is the ? Tab equivalent of MX_SBRFLG, which see for additional information.

History

2012 December, A-Shell 6.1.1328:  Command added to A-Shell