06-05-2024 12:14 PM
Hello LabVIEW Community,
I am writing about a problem which I am not able to figure out on my own.
I am logging my data over CAN and I have designed my VI similar to CAN Input Stream to TDMS Logfile.VI (Example VI) but this logs the full CAN traffic coming on the bus which makes my TDMS file very big. I would like be able to only log a certain CAN frames and skip the other.
Example VI Snip below:
The reason I need a smaller file is because later I take my TDMS file which has all raw CAN frames and then run a signal conversion scrip which ten takes hours to run. Example: A 95 mb TDMS file did not finish conversion in 2 hour of running the attached VI. Below is the snip (also attached: tdms2txt_DynoV3) of my signal conversion scrip which only convert specific CAN frames based on message ID and save the signals in txt file.
I need help in optimizing this code to:
1. Log only required CAN messages in TDMS file.
2. Help in optimizing my attached VI on how can I make this process faster. I believe the longest lead time sub vi used in the attached VI is "CAN frame to table.VI"
06-05-2024 02:51 PM
Hi Happy,
@Happy96 wrote:
1. Log only required CAN messages in TDMS file.
2. Help in optimizing my attached VI on how can I make this process faster. I believe the longest lead time sub vi used in the attached VI is "CAN frame to table.VI"