Thread: File Management
View Single Post
  #2  
Old 06-30-2008, 05:35 PM
farshizzo farshizzo is offline
WorldViz Team Member
 
Join Date: Mar 2003
Posts: 2,849
From the error you are getting the problem seems to be that you are trying to open the same COM port multiple times, which is failing. Instead of having multiple files for each operation, I would suggest using one file and implementing each operation as a function in the file. This way, you can open the serial port once in the global scope of the file and all the functions can use the existing handle to it.
Reply With Quote