|
dataRead$ = input$(#commHandle, lof(#commHandle))
open "com1:19200,n,8,1" for random as #comm hcomm = hwnd(#comm) struct CTO, RIT as long, RTTM as long, RTTC as long, _ WTTM as long, WTTC as long CTO.RIT.struct = -1 calldll #kernel32, "SetCommTimeouts", hcomm as ulong, _ CTO as struct, r as long
|