Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 2 additions & 5 deletions src/Connect_DLT.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@ def __init__(self,file_path,project_file,output_dir):
self.file_path = file_path
self.file_name =''
print(self.file_path)
print("out put dire is==" +self.outDIR)
self.cleaner()
def cleaner(self):
try:
Expand Down Expand Up @@ -49,16 +48,14 @@ def convert_dlt_log_text(self):
temp_file = os.listdir(self.file_path)
print(temp_file[0])
try:

self.file_name=f'{self.outDIR}/traceLog{datetime.now().strftime('%Y-%m-%d_%H-%M-%S')}.txt'
self.file_name=f'{self.outDIR}/traceLog.txt'
process = subprocess.run(["dlt_viewer","-c",f'C:/Users/{getpass.getuser()}/AppData/Local/dlt_viewer/cache/{temp_file[0]}',self.file_name],stdout=subprocess.DEVNULL,stderr=subprocess.DEVNULL)


except Exception as e:
print(e)

def get_cpu(self):
Get_data_from_DLT.Get_data.monitor_cpu_mem()

def check(self,uttearnce):
Get_data_from_DLT.Get_data(self.file_name,utterance=uttearnce)

Expand Down
53 changes: 0 additions & 53 deletions src/Get_cpu_usage.py

This file was deleted.

265 changes: 0 additions & 265 deletions src/Sample_Test_GUI.py

This file was deleted.

Loading