Sha256: b4b085a0420782938fcbd2f84059d5446955e3d4a9bf85f3186ff058cc66449e

Contents?: true

Size: 399 Bytes

Versions: 54

Compression:

Stored size: 399 Bytes

Contents

require_utility 'clear_util.rb'

def collect (type, duration, call_clear = false)
  # Get the current collects telemetry point
  collects = tlm('INST HEALTH_STATUS COLLECTS')

  #Command the collect
  cmd("INST COLLECT with TYPE #{type}, DURATION #{duration}")

  #Wait for telemetry to update
  wait_check("INST HEALTH_STATUS COLLECTS == #{collects + 1}", 10)

  clear_collects() if call_clear
end

Version data entries

54 entries across 54 versions & 1 rubygems

Version Path
cosmos-4.4.0-java autohotkey/procedures/collect_util.rb
cosmos-4.4.0 autohotkey/procedures/collect_util.rb
cosmos-4.3.0-java autohotkey/procedures/collect_util.rb
cosmos-4.3.0 autohotkey/procedures/collect_util.rb
cosmos-4.2.4-java autohotkey/procedures/collect_util.rb
cosmos-4.2.4 autohotkey/procedures/collect_util.rb
cosmos-4.2.3-java autohotkey/procedures/collect_util.rb
cosmos-4.2.3 autohotkey/procedures/collect_util.rb
cosmos-4.2.2-java autohotkey/procedures/collect_util.rb
cosmos-4.2.2 autohotkey/procedures/collect_util.rb
cosmos-4.2.1-java autohotkey/procedures/collect_util.rb
cosmos-4.2.1 autohotkey/procedures/collect_util.rb
cosmos-4.2.0-java autohotkey/procedures/collect_util.rb
cosmos-4.2.0 autohotkey/procedures/collect_util.rb
cosmos-4.1.1-java autohotkey/procedures/collect_util.rb
cosmos-4.1.1 autohotkey/procedures/collect_util.rb
cosmos-4.1.0-java autohotkey/procedures/collect_util.rb
cosmos-4.1.0 autohotkey/procedures/collect_util.rb
cosmos-4.0.3-java autohotkey/procedures/collect_util.rb
cosmos-4.0.3-universal-java-1.8 autohotkey/procedures/collect_util.rb