Generating Reports

We're using Citect 8.0 running on Windows 10. 

The reports should be saved in "C:\Users\Public" and the output format is txt.

When we run in cicode:

        int iResult;

        iResult = report("report_name");

iResult is 0 (no error) but no file is created.

Previously, the same Citect project was running on another pc with Windows 10 and everything worked fine.

Any suggestions? Thanks in advance

Parents
  • this may not be applicable, but worth a look.

    i had a similar issue a few years back doing some logging and found it was the folder on another machine i was sending the data to.

    i had named the folder "Process Data" and found it would not log, if i changed the name to "Process_Data" with an underscore it worked fine.

     maybe check your files and directory path again for "C:\Users\Public"

Reply
  • this may not be applicable, but worth a look.

    i had a similar issue a few years back doing some logging and found it was the folder on another machine i was sending the data to.

    i had named the folder "Process Data" and found it would not log, if i changed the name to "Process_Data" with an underscore it worked fine.

     maybe check your files and directory path again for "C:\Users\Public"

Children
No Data