BallAerospace / COSMOS

Ball Aerospace COSMOS
https://ballaerospace.github.io/cosmos-website/
Other
360 stars 129 forks source link

Return telemetry logfile name with script (ruby/python/shell script) #1773

Open KodiakLiDAR opened 2 years ago

KodiakLiDAR commented 2 years ago

Hello Ball Aero, Ryan, Jason,

I am using COSMOS version 4.5.0 on Ubuntu.

I'm trying to input telemetry logfile names directly into labview each time a new file is opened. Is there a method for returning the logfile name from the Command and Telemetry Server as a variable?

Essentially, I'd to tap into the Command and Telemetry Server log output and return the logfile name as a string variable using a script in any language.

Thank you very much for any and all guidance, KodiakLiDAR

ryanmelt commented 2 years ago

See the various logging Apis. https://ballaerospace.github.io/cosmos-website/docs/v4/scripting#logging In particular get_tlm_log_filename

KodiakLiDAR commented 2 years ago

Ryan,

Excellent, thank you very much for pointing me in the right direction.

Kindly, Gavin

On Tue, Aug 16, 2022 at 5:33 PM Ryan Melton @.***> wrote:

See the various logging Apis. https://ballaerospace.github.io/cosmos-website/docs/v4/scripting#logging In particular get_tlm_log_filename

— Reply to this email directly, view it on GitHub https://github.com/BallAerospace/COSMOS/issues/1773#issuecomment-1217188573, or unsubscribe https://github.com/notifications/unsubscribe-auth/AWYCK5PDON7VPS7IWQZZ5XLVZQCJRANCNFSM56XJBI7A . You are receiving this because you authored the thread.Message ID: @.***>