sendstart = SECONDS() this.mscomm1.output = SPACE(100) buffcount = this.mscomm1.outBufferCount sendend = SECONDS() outputtime = sendend-sendstart