Is there a way to log a variable/virtual channel within the Lua code? For instance, if i wanted to take the average of two analog inputs, I know I can display that on a virtual channel, however how do I get that to get actually logged onto the RC file? Equally as useful, how can I write to the log file, not the logfile that is used for debugging the lua scripting, but the actual data which is recorded by the Racecapture during a test?
Any help would be greatly appreciated
Logging virtual channels
-
- Posts: 70
- Joined: Tue Mar 10, 2015 3:31 pm
- Location: Detroit, MI
It should automatically add the virtual channel to the datalog file when you create the channel. Example here:
http://www.autosportlabs.net/RaceCaptur ... hannels.29
http://www.autosportlabs.net/RaceCaptur ... hannels.29
Josh