Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reading log files #11

Open
zonArt opened this issue May 26, 2021 · 2 comments
Open

Reading log files #11

zonArt opened this issue May 26, 2021 · 2 comments

Comments

@zonArt
Copy link

zonArt commented May 26, 2021

Hi,

I'm working on a script to display some telemetry log files for flight debugging purpose but I hit the limitation that you cannot read more than a certain amount of chars (around 15'000) when opening a file with io.read() which leads to incomplete data in my viewer. What would you suggest to go past that limitation? I was thinking on re-reading the file when you reach the end of the buffer but have no clue on how you could tell to read it from a certain position, it only seems to read from the very beginning and for a certain amount of chars.

Any help appreciated

@RCdiy
Copy link
Owner

RCdiy commented May 26, 2021

I’m no longer doing OpenTx lua scripts and am not able to help you. My apologies.

@RCdiy
Copy link
Owner

RCdiy commented May 26, 2021

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants