EasyManua.ls Logo

Aerotech UNIDEX 511 - Message

Aerotech UNIDEX 511
476 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Programming Commands U511 User’s Manual
5-60 Aerotech, Inc. Version 1.1
5.5.51. MESSAGE
The MESSAGE command is used to send a message to the display, serial port, or a file.
Variable values may also be entered. The message may be text or the value of user or
system variables.
SYNTAX:
MESSAGE dest1+dest2+dest3+dest4 +var_input "message"
ME dest1+dest2+dest3+dest4 +var_input "message"
dest# A message may be sent to one or more of the following
destinations using the syntax shown below:
MESSAGE CO (port) Send a message to serial port
MESSAGE DISPLAY A message is sent to the CRT display.
MESSAGE FILE(path\name.ext, w|a)
A message is sent to the file path\name.ext where:
w = write to a new file (any existing file is overwritten)
a = append to the end of an existing file.
Use the “w” argument to create and write the first line of a
new file. Then use the “a” argument to append messages
to the new file.
var_input V0-255 data input.
VV0-255 data input (array).
Formats for displaying variable values are:
% Real number with 6 digits after the decimal
point
%e Displays number in exponential format (i.e.,
1.257e-7)
%.nf Real number with n digits after the decimal
point
%s Patch string in hex format
%x Hex format
%% Display the % symbol
"message" Comprised of text or variable. Must be enclosed in double
quotes (" ") or single quotes (' ').
port 1 to 3 for COM1, COM2, or GPIB
EXAMPLES:
ME FILE(TEST.TXT,w) “This is a test”
;Creates a new file and writes “This is a test” to the file
ME DI+V0 "V0 = %V0, ENTER NEW VALUE "
;Displays current value of V0 in a dialog window, and
;prompts for a new value
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com

Table of Contents

Related product manuals