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