VisualSim.interfaces.stk
Class STK_Port
- public class STK_Port
- extends TypedAtomicActor
- This block is added to the model wherever a connection to STK is required. This block connects to STK through the STK_Intf block and has the same name as the STK_Intf block for the field 'STK_Interface_Name". This block can issue commands via a path with data modifier fields to the 'STK_Intf' block that establishes a direct connection with Satellite Toolkit (STK).
One 'STK_Intf' block per model is required and STK must be started manually. The command is entered directly into the STK_Command_Path_Data parameter or the field name of an incoming Data Structure is specified in the parameter. The parameter can accept either a single, three fields or more than 3 fields. Two fields will throw an exception.
STK_Interface_Name
public Parameter STK_Interface_Name
- Parameter, STK_Interface_Name, that links to STK_Intf Block with the same name. The type is String.
STK_Command_Path_Data
public Parameter STK_Command_Path_Data
- Parameter, STK_Command_Path_Data. The user needs to setup STK_Command_Path_Data parameter to accept a single string or fields of an incoming Data Structure. If multiple fields, then three for command, path, data is acceptable. If more than three fields, then assumes data has more than one field. Two fields will throw an exception. The type is string.
input_ds
public TypedIOPort input_ds
- Input port can be a StringToken (Data Structure or single command) or RecordToken. Data Structure implies command, path and data information selected from named fields. The type is general and inferred from the connections.
output_ds
public TypedIOPort output_ds
- Output port for results in the form of string ds fields. If there is no result returning from STK, then no Data Structure is output. The type is general and inferred from the connections.
output_data
public TypedIOPort output_data
- Output port of the returning result from STK as a String. The type is general and inferred from the connections.
Created with the Personal Edition of HelpNDoc: Free PDF documentation generator