Display[:Window]:Text[:Data] <String - HP E8402A User And Service Manual

Vxi c-size mainframe
Table of Contents

Advertisement

DISPlay[:WINDow]:TEXT[:DATA] <string>
Parameters
Comments
Error Conditions
Reset Condition
Example
Chapter 3
DISPlay[:WINDow]:TEXT[:DATA]
mainframe's display. The message remains on the display until a key is pressed, the
display window is changed programmatically, or the screen saver turns off the
display.
Name
Type
Range
< string >
string 186 characters none
Four lines of text can be displayed. The display uses a proportional font; line
length can vary from 25 to 45 characters. The string will be clipped at 45
characters if there is not an embedded '\n', or it will be clipped at 4 lines, or at
186 characters. There is no error generated if the string is clipped. Text is white
letters on a black background.)
Embed a '\n' to cause a second, third, or fourth line. For example, the
command
DISP:TEXT "this is a test\nof the immediate
\nmessage capability
the following display:
this is a test
of the immediate
message capability.
Pressing any front panel key (up/down arrow keys or
executing a
DISP:WIND
The following table lists the most common error conditions and causes. Error
numbers and corresponding messages can be found using
Number
Message
-128
"Numeric data not allowed"
-148
"Character data not allowed"
-151
"Invalid string data"
-221
"Settings Conflict"
*RST removes text, and set the display screen to MMAin.
The following is a Visual C example:
viPrintf(vi, "disp:text \"this is a test\nof the immediate\nmessage capability.\"\n")
displays a user defined message string on the
Default
Message to display on screen. Can be any
ASCII character (decimal value 20 to 225).
." executed from an RS-232 terminal will create
command will remove the text.
The <string> started with a number.
Quotation marks were left off.
An embedded new line in the string
instead of a '\n'.
The mainframe's power is off.
Programming the Enhanced Monitor
Description
ENTER
key) or
query.
SYSTem:ERRor?
Probable Cause
61

Advertisement

Table of Contents
loading

This manual is also suitable for:

E8404a

Table of Contents