Sha256: 1d65ec32df7a5e713d46e5c227816197a9695a4f5223b858a8e2dc1748451ae1

Contents?: true

Size: 794 Bytes

Versions: 6

Compression:

Stored size: 794 Bytes

Contents

#!/usr/bin/ruby

require 'cosmos'
require 'cosmos/gui/qt'
require 'cosmos/gui/qt_tool'
require 'cosmos/gui/utilities/classification_banner'
require 'cosmos/script'
require 'cosmos/tools/tlm_viewer/widgets'
require 'cosmos/tools/tlm_viewer/screen'

begin
    v1 = ARGV[0]

    app = Qt::Application.new(ARGV)
    window = Cosmos::Screen.new("preview", v1, nil, :REALTIME, nil, nil, nil, nil, false, true, nil)
    app.exec
rescue Exception 
    # Don't care what we do here because the error is always:
    #
    # uninitialized class variable @@redirect_io_thread_sleeper in Cosmos::QtTool
    # Did you mean?  @@redirect_io_thread
    #
    # This is because its looking for another Cosmos thread that doesn't exist
    # since we are running this screen standalone to just view the screen
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
cosmos-4.5.2-java extensions/vscode/client/src/screen_preview.rb
cosmos-4.5.2 extensions/vscode/client/src/screen_preview.rb
cosmos-4.5.1-java extensions/vscode/client/src/screen_preview.rb
cosmos-4.5.1 extensions/vscode/client/src/screen_preview.rb
cosmos-4.5.0-java extensions/vscode/client/src/screen_preview.rb
cosmos-4.5.0 extensions/vscode/client/src/screen_preview.rb