- Getting started
- Creating projects
- OPC UA
- Graphic objects
- Predefined graphic objects
- Object and variable references
- Extending projects
- NetLogic
- Tutorials
- Dynamic links tutorial
- Graphic objects tutorial
- NetLogic tutorial
- OPC UA tutorial
Run a CLI command
Run a command-line interface (CLI) command.
Install
FactoryTalk Optix Studio
. See FactoryTalk Optix Installation Guide.- To run a CLI command
- Open the command prompt.
- In the command prompt, enter"C:\Program Files\Rockwell Automation\FactoryTalk Optix\followed by the available commands and parameters.version\FTOptixStudio"Whereversionis the directory that represents the version ofFactoryTalk Optix Studioinstalled on your system.For more information about the available commands and parameters, see CLI commands.TIP:The following commands assume that you installedFactoryTalk Optix Studioin the default location. If you selected a custom location for yourFactoryTalk Optix Studioinstallation, modify the paths accordingly.To shorten the commands and invoke the executable withFTOptixStudio, add a system environment variable or navigate to theFactoryTalk Optix Studioinstallation directory.For example, enter"C:\Program Files\Rockwell Automation\FactoryTalk Optix\to display a summary of the available commands in the command prompt.version\FTOptixStudio" --help
The CLI command executes. The graphical user interface (GUI) may display for some
commands.
When the command execution completes, you may see the following exit codes:
Exit code | Description |
---|---|
0 | Operation succeeded. |
-1 | Operation failed. |
Provide Feedback