Sha256: ec232478dc4cb103f3345e6ea7dfd0234e088a929702cafa2c0a2fe6f8faa0c7

Contents?: true

Size: 613 Bytes

Versions: 33

Compression:

Stored size: 613 Bytes

Contents

OpenC3::StreamingWebSocketApi.new do |api|
  api.add(items: ['DECOM__TLM__INST__HEALTH_STATUS__TEMP1__CONVERTED', 'DECOM__TLM__INST__HEALTH_STATUS__TEMP2__CONVERTED'])
  5.times do
    puts api.read
  end
  api.remove(items: ['DECOM__TLM__INST__HEALTH_STATUS__TEMP1__CONVERTED'])
  5.times do
    puts api.read
  end
end

# Warning this saves all data to RAM. Do not use for large queries
data = OpenC3::StreamingWebSocketApi.read_all(items: ['DECOM__TLM__INST__HEALTH_STATUS__TEMP1__CONVERTED', 'DECOM__TLM__INST__HEALTH_STATUS__TEMP2__CONVERTED'], end_time: Time.now + 10)
puts data.length
puts data[0].inspect

Version data entries

33 entries across 33 versions & 1 rubygems

Version Path
openc3-cosmos-demo-5.20.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.19.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.18.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.17.1 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.17.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.16.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.15.2 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.15.1 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.15.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.14.2 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.14.1 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.14.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.13.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.12.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.11.3 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.11.2 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.11.1 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.11.0 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.10.1 targets/INST/procedures/streaming.rb
openc3-cosmos-demo-5.10.0 targets/INST/procedures/streaming.rb