Skip to main content

ostream

This command sets the output-stream of the PyLXCA interactive shell to standard output (stdout), a file, or both.

Syntax

ostream  -h

ostream -l <output_stream>

Options

{-h | --help}
Displays the syntax and brief usage information for this command.
{-l | --lvl} <output_stream>
Specifies the output stream. You can specify one of the following values:
  • 0. Quiet.

  • 1. Console.

  • 2. File.

  • 3. Console and File.

The output-stream file is specified in the <install_dir>\lxca_console.out file

Tip
You can retrieve the list of values by entering the -l ? option.

Examples

The following example sets the output stream to a file:

ostream -1 2