12-18-2014 03:23 AM
Hi Experts,
Does anyone have experience to use ComToFile function? It looks the function to write COM data to any file, but there is less information only in help, espaecially "File Handle". I would refer any example or more detail information. I apreciate for your help.
Thanks,
Tetsuya
12-18-2014 08:50 AM - edited 12-18-2014 08:51 AM
The file handle is simply an integer handle that refers to a pathname. Get this handle by calling OpenFile. In that function, you can set your pathname.
The rest of the Com library is pretty straightforward. Take a look at its sister function ComRdTerm. There's a sample project listed in the help: ~\rs232\serial.cws
12-19-2014 01:33 AM
Thank you very much.
The function is related with FileI/O function. I will check them.
thanks,