I have a .asc file, I want to convert it to .blf as per vector format.
I have tried,
from can.io import BLFWriter
import can
import pandas as pd
#input paths
path = '/home/ranjeet/Downloads/CAN/BLF_READER/input/'
asc_file = '20171209_1610_15017.asc'
blf_file = '20171209_1610_15017.blf'
df = pd.read_table(path + asc_file)
print(df)
I am able to read .asc, how do I write it to a .blf file as per vector format.