Work with KINGSTAR Commands
To use a KINGSTAR Command on a CLI:
- On the taskbar, click Start
> Windows System > Command Prompt.
- At the command prompt, enter
cd C:\Program Files\IntervalZero\KINGSTAR\bin
. - Enter
.\KINGSTAR
, followed by the command you want to use. For more information about a command, see Command list. The following are examples: .\KINGSTAR Start-KingstarSubsystem
: starts the KINGSTAR Subsystem..\KINGSTAR Start-KingstarSubsystem -instanceid 1 -idealprocessor 1
: starts Instance One of the KINGSTAR Subsystem and runs it on Core One..\KINGSTAR Check-RealtimeSubsystem
: checks whether the Real-Time Subsystem is started..\KINGSTAR Check-KingstarSubsystem
: checks whether the KINGSTAR Subsystem is started..\KINGSTAR Check-KingstarSubsystem -instanceid 1
: checks whether Instance One of the KINGSTAR Subsystem is started..\KINGSTAR Stop-RealtimeSubsystem
: stops the Real-Time Subsystem..\KINGSTAR Stop-RealtimeSubsystem -force
: closes KINGSTAR Control Panel and stops the Real-Time Subsystem..\KINGSTAR -help
: displays the KINGSTAR Commands list and each command's description.
IMPORTANT: KINGSTAR Control Panel needs to be closed before you stop the Real-Time Subsystem. If you don't close it manually, you can use .\KINGSTAR Stop-RealtimeSubsystem -force
to close KINGSTAR Control Panel and stop the Real-Time Subsystem.
NOTE: By default, instance
and idealprocessor
are zero.
NOTE: KINGSTAR PLC Runtime (PLC process) is stopped when you stop the KINGSTAR Subsystem.
See also