Delta Electronics PCI-DMC-A01 Manual De Usuario

Descargar
Página de 528
Chapter 42 Other API | PCI-DMC-A01 / PCI-DMC-B01 
42-4 
 
Revised March, 2012 
42.3 _misc_set_record_debuging 
  FORMAT 
I16 PASCAL _misc_set_record_debuging (U16 enable) 
 
  Purpose 
Shows whether Debug log function is enabled. 
 
  Parameters 
Name 
Data Type 
Unit 
Description 
Enable U16 
Selection 
0: Disable Debug log 
1: Enable Debug log 
 
  Example 
U16 Enable = 1; 
I16 status = _misc_set_record_debuging (Enable); 
 
42.4 _misc_open_record_debuging_file 
  FORMAT 
I16 PASCAL _misc_open_record_debuging_file (Char* file_name, U16 open) 
 
  Purpose 
Sets Debug output log file path.   
 
  Parameters 
Name 
Data Type 
Unit 
Description 
file_name 
Char* 
Character Array Debug document file path 
open 
U16 
Selection 
0: Store in VC6 compiler development 
environment's debug window 
1: Store log at file path specified in file_name 
 
  Example 
Char file_name[20]=“log_output.txt”; 
U16 open=1; 
I16 status = _misc_open_record_debuging_file(file_name, U16 open);