Problems logging data from thermocouple multiplexer to SD data logger

Thanks for your reply. The code you listed is similar to what I have been running with the single thermocouple amplifier, however with the multiplexer, the code I listed isnt working as expected. Data is writing to the SD file but all values are 0.00 =(

Your code to name the file by todays date can also be done with the sprintf function as follows.....

// Create char to hold today's file name by date
char file_today_name[30];

DateTime now = rtc.now();
   
   // Turns file_today_name into date.txt format
   sprintf(file_today_name, "%02d%02d%02d.txt", now.day(), now.month(), now.year());
   
   // create SD file
   File dataFile = SD.open(file_today_name, FILE_WRITE);