Sha256: 6fb4f01b684b925fc27ecaab63d73ba976208c405186539e0ae0b6df4029306e

Contents?: true

Size: 396 Bytes

Versions: 10

Compression:

Stored size: 396 Bytes

Contents

load_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

10 entries across 10 versions & 1 rubygems

Version Path
cosmos-4.5.2-java autohotkey/procedures/collect_util.rb
cosmos-4.5.2 autohotkey/procedures/collect_util.rb
cosmos-4.5.1-java autohotkey/procedures/collect_util.rb
cosmos-4.5.1 autohotkey/procedures/collect_util.rb
cosmos-4.5.0-java autohotkey/procedures/collect_util.rb
cosmos-4.5.0 autohotkey/procedures/collect_util.rb
cosmos-4.4.2-java autohotkey/procedures/collect_util.rb
cosmos-4.4.2 autohotkey/procedures/collect_util.rb
cosmos-4.4.1-java autohotkey/procedures/collect_util.rb
cosmos-4.4.1 autohotkey/procedures/collect_util.rb