
Command Descriptions
Arguments
<BOOLEAN>
= (1 / ON | 0 / OFF)
Returns
1|0
*DMC
Allows you to assign a sequence of one or more program message units to a macro
label. The sequence is executed when the macro label is received as a command
or query. Twenty-
fi
ve macros can be de
fi
ned at the same time, and each macro
can contain an average of 40 characters.
If a macro has the same name as a command, it masks out the real command with
the same name when macros are enabled. If macros are disabled, the original
command is executed.
If you de
fi
ne macros when macro execution is disabled, the instrument executes
the * DMC command fast, but if macros are enabled, the execution time for this
command is longer.
Group
Common
Syntax
*DMC <Macro label>, <Program messages>
Arguments
<MACRO LABEL>
is a 1- to 12-character macro label. Enclose string data in quotes
(“ ”or ' '), as shown in the example.
<PROGRAM MESSAGES>
the commands to be executed when the macro label is
received, both block data and string data formats can be used.
Examples
*DMC 'FREQUENCY?', "FUNC 'FREQ 1'; INP:LEV:AUTO ON;
ARM:SOURCE BUS; INIT:CONT ON; *TRG"
*EMC
This command enables and disables expansion and execution of macros. If macros
are disabled, the instrument will not recognize a macro although it is de
fi
ned in
the instrument. (The Enable Macro command takes a long time to execute.)
Group
Common
2-52
FCA3000, FCA3100, MCA3000 Series Programmer Manual
Содержание FCA3000 Series
Страница 2: ......
Страница 8: ...Preface iv FCA3000 FCA3100 MCA3000 Series Programmer Manual ...
Страница 9: ...Getting Started ...
Страница 10: ......
Страница 14: ...Using the USB Interface 1 4 FCA3000 FCA3100 MCA3000 Series Programmer Manual ...
Страница 15: ...Syntax and Commands ...
Страница 16: ......
Страница 26: ...Command Syntax 2 10 FCA3000 FCA3100 MCA3000 Series Programmer Manual ...
Страница 135: ...Status and Events ...
Страница 136: ......
Страница 156: ...Status and Events 3 20 FCA3000 FCA3100 MCA3000 Series Programmer Manual ...
Страница 157: ...Programming Examples ...
Страница 158: ......
Страница 179: ...Appendices ...
Страница 180: ......
Страница 181: ...Appendix A Character Set FCA3000 FCA3100 MCA3000 Series Programmer Manual A 1 ...
Страница 182: ...Appendix A Character Set A 2 FCA3000 FCA3100 MCA3000 Series Programmer Manual ...
Страница 188: ...Appendix D Reserved Words D 2 FCA3000 FCA3100 MCA3000 Series Programmer Manual ...