Section 7: Command reference
The following definitions exist:
display.ANNUNCIATOR_X
Where: X equals FILTER, MATH, 4_WIRE, AUTO, ARM, TRIG, STAR, SAMPLE, EDIT, ERROR, REMOTE, TALK,
LISTEN, SRQ, REAR, or REL
The values correspond to the indicators listed above.
For example:
print(display.ANNUNCIATOR_EDIT)
2.560000000e+02
print(display.ANNUNCIATOR_TRIGGER)
3.200000000e+01
print(display.ANNUNCIATOR_AUTO)
8.000000000e+00
Example
myAnnunciators = display.getannunciators()
print(myAnnunciators)
rem = bit.bitand(myAnnunciators, 1024)
if rem > 0 then
print("REM is on")
else
print("REM is off")
end
Also see
bit.bitand()
(on page 7-9)
display.getcursor()
This function reads the present position of the cursor on the front panel display.
Type
TSP-Link accessible
Function
Yes
Usage
row, column, style = display.getcursor()
row
column
style
7-68
Models 707B and 708B Switching Matrix Reference Manual
Affected by
The row where the cursor is:
•
1: Top row
•
2: Bottom row
The column where the cursor is:
•
If the cursor is in the top row: 1 to 20
•
If the cursor is in the bottom row: 1 to 32
Visibility of the cursor:
•
0: Invisible cursor
•
1: Blinking cursor
Output:
1.2800000e+03
REM is on
REM indicator is turned on.
Where saved
Default value
707B-901-01 Rev. A / August 2010