/* Scope software */ Objectives:- Send commands to scope and append to file suitable for excel. Send command:- get lines until timeout or expected end. /* ReadFile is non blocking and returns available characters */ bReadRC = ReadFile(hCom, &rxchar, 1, &iBytesRead, NULL);