IEEE-488 PROGRAMMING
Table 3-14. Translator Error Messages
Display
MesSdge Explanation ExampIe Error string
I I
TRANSERR 9 No more memory left for Translator words. -
TRANSERR14 Use of more than one ALIAS in a definition.
‘ALIAS TESTl FIX ALIAS TEST2 RlX ;”
TRANSERRl.5 Translator word exceeds 31 characters. “ALIAS ITHINKTHISISTHICHAR4CT
ERS! FlX :”
TRANSERRl6 Use of an X in a Translator word. “ALIAS Xi2Ay FlX ;”
TRANSERRl7 Trying to define a Translator word that already “ALIAS SETUP FlX ;”
exists. The second string in the example is the “ALIAS SETUP RlX ;”
error string.
TRANSERRl.8 Use of a $ in a Translator word. “ALIAS $200 FIX ;”
TRANSERRlY Sending the ; character.
l,,,,
TRANSERR20 Use of LIST ifi a Translator definition. “‘ALIAS DOG FlX LIST ;”
TRANSERR21 Use of FORGET in a TranSlator definition. “ALMS DOG FIX FORG!ZT ;”
TRANSERRW Use of SAVE in a Translator definitititi. “ALMS DOG FIX SAVE ;”
3.10.2 Wild Card ($)
An advanced feature of Translator software is its wild card
capabilities. By using the reserved character “V’, the same
basic T%nslator word can be used to select all options of
a command. With this feature, a DDC option number is
sent with the wild card Translator word. The format for
using the wild card is shown in the following example,
which defines the word FUNCTlON as a substitute for the
F command:
‘ALIAS FUNCTION F$X ;”
‘TUNCITON 1”
“FUNCTION 2’
The fit statement defines FUNCTION as the wild card
Translator word for the F command. The wild card ($) will
allow any valid option number of the F command (0
through 6) to be sent with the word. The second statement
which is the substitute for the Fl command, will place the
instrument in the ACV function. The third statement is a
substitute for the F2 command, and will place the instru-
ment in the ohms function.
NOTES:
1. When sending a wild card Translator word over the bus,
there must be a space between the Translator word and
the option number.
2. If a wild card Translator word is sent without an option
number, the instrument will default to option 0.
Programming Example-Enter the following program to
define a wild card Translator word to emulate the P (filter)
c~ommmd,
The second statement defines FIU’ER as the wild card
Translator word for the P command. The third statement
enables the front panel filter (FLTR on).
3-32