Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-68
707B-901-01 Rev. A / August 2010
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.56002
print(display.ANNUNCIATOR_TRIGGER)
3.20001
print(display.ANNUNCIATOR_AUTO)
8.00000
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
Output:
1.203
REM is on
REM indicator is turned on.
Also see
(on page 7-9)
display.getcursor()
This function reads the present position of the cursor on the front panel display.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function Yes
Usage
row, column, style = display.getcursor()
row
The row where the cursor is:
•
1: Top row
•
2: Bottom row
column
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
style
Visibility of the cursor:
•
0
: Invisible cursor
•
1
: Blinking cursor