How can I redirect the stdout or stderr stream from Embedded Ch to a file?
You can use Embedded Ch API Ch_Reopen() to redirect the output stream for stdout and stderr from Ch into a file that can be used as a log file or opened via your C application. More details can be found at in section 1.6 “Redirecting Standard Output and Error Stream from Embedded Ch” in Embedded Ch User’ Guide.