Description | Example | Return Message | Group

SDF

Configure STK Data Federate (SDF) servers.

Syntax

SDF <ApplicationPath> {Option} [<Parameters>]

Related Commands

Description

The SDF connect command sets configuration parameters for the STK Data Federate (SDF) servers in STK.

{Option} Description
AddServer <Parameters> Add the specified server. See the table below for a description of the <Parameters>
UpdateServer <Parameters> Update the specified server. See the table below for a description of the <Parameters>
RemoveServer ServerName <ServerName> Remove the specified server.
RemoveAllServers Remove all servers.
AddFolder [ServerName <ServerName>] FolderName <FolderPath> Recursively create the specified folder location on the server.

ServerName <ServerName> is required if more than one server is available.

RemoveFolder [ServerName <ServerName>] FolderName <FolderName> Remove the specified folder from the SDF server.

ServerName <ServerName> is required if more than one server is available.

RemoveFile [ServerName <ServerName>] FileName <FileName> Remove the specified file from the SDF server.

ServerName <ServerName> is required if more than one server is available.

The following table describes the <Parameters> for the AddServer and UpdateServer options.

<Parameters> Description
ServerName <ServerName> Specify the name of the server.

Note: This <Parameter> is required for AddServer and UpdateServer.

NewServerName <NewServerName> Specify a new name for the server.

Note: This <Parameter> is valid for UpdateServer only.

URL <URL> Specify the url location of the server.

Note: This <Parameters> is required for AddServer.

Description <Description> Specify a description for the server.
Username <Username> Specify the username for the server.
Password <Password> Specify the password for the server.
ActiveServer {Yes | No} Indicate whether to make this server the active server.

Example

To add a new server and make it the active server:

SDF / AddServer ServerName Test1 URL "C:\Program Files\AGI\Test1" ActiveServer Yes

To create a folder on the server:

SDF / AddFolder FolderName Users/stkUser/MyStuff/stuff

To remove the Test1 server from the SDF:

SDF / RemoveServer ServerName Test1

ReturnMessage

If activated, Connect returns an acknowledgement message.

Group Membership

This command belongs to the following group(s):

Application Options

Version

11

STK Programming Interface 11.0.1