:CONFigure:DEMux:REName
Command Syntax
:CONFigure:DEMux:REName "<current-name>", "<new-name>"
Where <current-name> is the name currently shown on the Demultiplexer block.
Where <new-name> is the new name for the Demultiplexer block.
Description
Renames a Demultiplexer block in the Hardware Diagram to a custom name. For example, "SN4302". Use this string as a <block > name identification argument when connecting the Demultiplexer ports using the :CONfigure:PORT:CONNect
command. The default name is "Demux #" where "#" is an integer from 1 to 16.
Use the <new-name> argument to enter a custom name for a demultiplexer (Demux). The name is limited to 25 characters. If a longer string is entered, only the first 25 characters is used. Valid characters are restricted to the set of characters that can be used when naming files in Windows.
To reset a custom user name to the default name, enter an empty string as the "<new-name>" argument.
The user name is:
- Displayed on the Hardware Diagram.
- Used as an argument when connecting ports with
:CONfigure:PORT:CONNect
command. - Listed in a Station's Test Program, Active Jobs, and Job Results.
- Saved with the Hardware Diagram Setup file (*.setx).
- Saved with the Job Results file (*.zip).
Example Command
hwdiagram.write(':CONFigure:DEMux:REName "Demux 1", "DMX S/N4219"')