serialport trigger test