07-05-2012 01:58 PM
It would also be nice if the help file designated whether functions were supported in real time or now.
I tried this:
if(GetFileAttrs (DataFileName,NULL,NULL,NULL,NULL) == -1)
Solved! Go to Solution.
07-06-2012 11:41 AM
You can check if a file exists in CVI Real-Time using GetFileInfo function.
The CVI help provides a list of functions available on CVI Real-Time here: CVI Real-Time Functions
07-06-2012 03:03 PM
Excellent. Now how to I tell if the file is currently open (fopen) so I know whether to close it or not?
Thanks!
07-06-2012 03:44 PM
It looks like I just do this: if (filePointer) fclose(filePointer);