Sub Module log_parser

fgui.log_parser

A GUI to select, read and parse CAN data logged with foxBMS. The module can be called standalone by python -m fgui.log_parser.

fgui.log_parser.log_parser

A GUI to parse and visualize foxBMS generated logfiles.

class fgui.log_parser.log_parser.LogParserFrame(parent=None)

Main frame to construct the foxBMS Log Parser frame

Destroy()

Close the Frame

append_plot_df(signal_timestamp, signal_val, signal_name, unit)

Append the signal values to the plot data frame

basic_gui()

Creates the layout of the GUI

cb_on_click_checked_box(event)

Sets the checked signals

cb_on_click_sig_clear(event)

Clear signals

cb_on_clicked_btn_gen_trc(event)

tries to print the trace information (only if a valid file path is chosen)

cb_on_clicked_btn_trc_src(event)

sets the logfile to be parsed.

filter signals based on typed string in search box

get_id_name(checked_signal)

Get the signal id and the signal name

get_log_type()

check the file type and the header to find get the log type

get_mux_id(id_signal, signal_name, mdb)

Get multiplexer ID of checked signal

open_dialog(window_name, only_files)

Wrapper for the FileDialog class

plot_selected_signals(units)

Plot the data of the selected signals from the read log file

quit_cb(event)

Closes the application

read_can_log()

Read data to selected signals from can file

read_pcan_log_v1()

Read data to selected signals from PCAN log v1 file

read_pcan_log_v2()

Read data to selected signals from PCAN log v2 file

fgui.log_parser.log_parser.main()

Run the log parser frame as own GUI