Commands and Parameters
In this section a summary of the available command line tools and their arguments is given.
Command |
Description |
---|---|
ddtBroker [–uri <Server URI of the broker>] [–debug] [–config_file <Path to File>] [–datastreams <List of streams>] |
Starts a Data Broker on the host. The argument specifies the server URI of the broker that can be used by connecting Publisher / Subscribers. |
ddtPublisherSimulator [–broker <Local Broker URI>] [–datastream <Datastream ID>] [–interval <publishing interval>] [–buffer_size <Ring buffer elements>] [–mode <simulator mode>] [–image_folder <path to sample FITS files for the transfer>] [–checksum <0/1>] |
Starts a Publisher Simulator which will connect to the local broker with the specified local broker URI. Data for the specified data stream ID will be published. The connected broker shall publish the data via the network. Internally a notification port is used to notify local subscribers about new data. This port is taken from a configurable port range (see above). The publishing interval is set in milliseconds. The number of elements of the ring buffer for the shared memory can be set. It defaults to 4. The mode argument can be used to switch between different simulation modes. Mode 1 requires the specification of an image folder containing FITS images. For more details check the section on the Data Transfer above. The checksum argument can be used to enable/disable the calculation of checksums for Data Samples. |
ddtSubscriberSimulator [–broker <Local Broker URI>] [–datastream <DataStream ID>] [–interval <read interval>] [–remote <URI Remote Broker>] [–-mode <mode>] [–statistics <0/1>] [–dump_data <0/1>] [–dump_folder <Path to Folder>] [–debug] |
Starts a Subscriber Simulator. It will connect to the local broker on the local broker URI. It will subscribe for data of the given stream identifier. When it should connect to a remote Publisher the URI to the broker of this publisher can be specified optionally. The reading interval in milliseconds is optional and should only be used to simulate slow readers. The mode argument can select different simulation modes. The subscriber simulator should always use the same mode as its publisher simulator. The statistics flag can be used to enable / disable the calculation of transfer statistics (latency etc.). |
ddtViewer [–filename <path to image file> OR –localbroker_uri <uri> –remotebroker_uri <uri> –datastream <name of data stream>] [–debug] [–remotecontrol_uri <uri>] [–defaultscale <scale>] [–timestamp 0/1] [–overlay_file <path to file>] |
Start the DDT Standard Viewer. An optional filename to an image file at start-up of the viewer. Instead of this it is also possible to add the URI path to a Data Stream to automatically attach to that stream at start-up. The connection string is made up of the local broker URI, the datastream ID and the optional remote broker URI. The optional DEBUG flag can be set to increase the log level. The optional flag for the remote control uri can be used to activate a CII MAL server on the given URI over which remote commands can be send to the viewer. The optional flag for the default scale can be used to configure the default scale with which new images be displayed. The optional flag for the timestamps can be used for debug purposes when connecting to a data stream. It will display the timestamp of the data sample and the time difference to the local system time when the image was displayed. |
ddtRemoteClient [–server_uri <URI>] [–image_widget <Name of widget>] [–commnad <Order to be send to Image Widget>] [–arguments <Command Args>] [–timeout <Reply Time>] [–infinite <No reply timeout>] [–debug] |
Starts a Publisher Simulator which will connect to the local broker with the specified local broker URI. Data for the specified data stream ID will be published. The connected broker shall publish the data via the network. Internally a notification port is used to notify local subscribers about new data. This port is taken from a configurable port range (see above). The publishing interval is set in milliseconds. The number of elements of the ring buffer for the shared memory can be set. It defaults to 4. The mode argument can be used to switch between different simulation modes. Mode 1 requires the specification of an image folder containing FITS images. For more details check the section on the Data Transfer above. The checksum argument can be used to enable/disable the calculation of checksums for Data Samples. |
All applications also support the option --help
to give a list of
possible command line options. The help text also contains examples for
the various arguments.