iNavFlight / OpenTX-Telemetry-Widget

INAV Lua Telemetry with support for EdgeTX
https://luatelemetry.readthedocs.io/en/latest/
GNU General Public License v3.0
156 stars 32 forks source link

Script syntax error #117

Closed nlexfpv closed 1 year ago

nlexfpv commented 1 year ago

Describe your question

To reproduce

  1. Go to '....'
  2. Click on '....'
  3. Scroll down to '....'
  4. Should it be doing this?

Expected behavior

Screenshots

Additional context

![Uploading photo_2023-08-19_20-43-26.jpg…]()

stronnag commented 1 year ago

Please provide a coherent description "Go to '....'" is hardly helpful.

nlexfpv commented 1 year ago

hi sir im new in fpv world i would to know how to fixed this issue already update the lastest in my radio taranis x9dplus inav lua came out bad argument #1 to 'getValue' (string expected, got nil)

stronnag commented 1 year ago

If you can't provide a coherent description of the issue, I can't help. Sorry.

nlexfpv commented 1 year ago

photo_2023-08-19_20-43-26

stronnag commented 1 year ago
nlexfpv commented 1 year ago

edgeTx 2.8 script 2.2.1

stronnag commented 1 year ago

OK, now you need to explain exactly what you are trying to do ...

nlexfpv commented 1 year ago

once i on the radio lua work just fine but once plug the battery it came out syntax error bad argument nil value

only happen when plug battery in

stronnag commented 1 year ago

And if you plug the battery in and then start the script, do you also get the problem?

nlexfpv commented 1 year ago

yes same problem happen..and im using matek f405 wse fc

stronnag commented 1 year ago

INAV version?

Can you please generate an EdgeTX telemetry log?

Ate you using the builtin FrSky TX or some other external module (like CRSF) ?

nlexfpv commented 1 year ago

inav 6.1.1

extenal module happy model es24tx pro

sorry sir do u have video for to generate those log? this radio is my 1st bougt.. before this im using flysky i6x

stronnag commented 1 year ago

OK, CRSF.

Can you please try installing the script from #113, you can find the zip file in https://github.com/iNavFlight/OpenTX-Telemetry-Widget/issues/113#issuecomment-1679038715

nlexfpv commented 1 year ago

ok i need to fly again for the log right..

will get back to u once i fly tomorrow

appreaciate ur time thanks

stronnag commented 1 year ago

Did the script from #113 fix the problem ?

nlexfpv commented 1 year ago

same problem

stronnag commented 1 year ago

ok i need to fly again for the log right..

You can do it without flying. This is an EdgeTX function (not an INAV log). A CSV telemetry log in the TX LOGS directory. There is a little information in our documentation.

There are plenty of tutorials (e.g. https://oscarliang.com/log-telemetry/) and you tube videos (Google search for "edgetx telemetry log").

nlexfpv commented 1 year ago

Shark Elrs.zip

is this right?

stronnag commented 1 year ago

The logs are dated 2000-01-23, so I guess you haven't set the clock?

They also contain NO useful telemetry or indication of telemetry.

So the script cannot work if you haven't set radio or telemetry up correctly.