HELP! Urgent issue for upcoming research defense tomorrow

Our project is regarding a device reading the IV fluid’s volume and flow rate.

As I used the following codes, trigger does not run successfully.
Cayenne.virtualWrite(5, mlreading,“VOLUME”, “cc”);
Cayenne.virtualWrite(4, cnt1,“FLOW_RATE”, “gtt/min”);

But when I used the codes below, the trigger runs successfully BUT THERE IS NO EMAIL NOTIFICATION. Plus, the unit is Celcius.
Cayenne.celsiusWrite(7, mlreading);
Cayenne.celsiusWrite(6, cnt1);

HELPPPP!!!

Because these are not valid datatypes. You can have a look here for all supported datatypes Cayenne Docs