function sendSensor(H,command,param1,param2,param3,param4,param5,param6)

globalVar;

txmsg = [SENSOR_SEL command param1 param2 param3 param4 param5 param6]';

fwrite(H,txmsg,'uint8');

end