GO2cam Pascal API

Functions

void DIA_DISPLAY_MSG (const std::string &Smess, int Bstop)
 Displays a user message with possible stop.
 
void DIA_IINPUT_MSG (const std::string &Squest, int Idef, int *Ival)
 Input of an integer through the keyboard
with a question and a default value.
 
void DIA_PRINT_OFF ()
 cancel nc bloks write in listing file
 
void DIA_PRINT_ON ()
 activate nc bloks write in listing file with tabulations
 
void DIA_RINPUT_MSG (const std::string &Squest, double Rdef, double *Rval)
 Input of a real through the keyboard
with a question and a default value.
 
void DIA_SINPUT_MSG (const std::string &Squest, const std::string &Sdef, std::string &Sval)
 Input of a string through the keyboard
with a question and a default string.
 
void msgBOX_ERROR (const std::string &Str)
 call box error,
but after three times the message is written in info windows
 
void msgBOX_WARNING (const std::string &Str)
 call box warning,
but after three times the message is written in info windows
 
void PPCLF_comment (const std::string &Str)
 debugg comment procedure
 
void PPCLF_comment_v1 (const std::string &Str, double Rval1)
 debugg comment procedure with a value
 
void PPCLF_comment_v2 (const std::string &Str, double Rval1, double Rval2)
 debugg comment procedure with 2 values
 
void PPCLF_comment_v3 (const std::string &Str, double Rval1, double Rval2, double Rval3)
 debugg comment procedure with 3 values
 
void PPCLF_comment_write (const std::string &Str)
 debugg comment xcall
 
void PPCLF_debug (int Ityp)
 modify DEBUG TRACE
 

Detailed Description

Debugging functions

Function Documentation

◆ DIA_DISPLAY_MSG()

void DIA_DISPLAY_MSG ( const std::string & Smess,
int Bstop )

Displays a user message with possible stop.

Parameters
[in]Smessmessage
[in]Bstopkeyboard waiting after display CONST_NO,CONST_YES
PCALL(DIA_DISPLAY_MSG,'Tool change required',CONST_YES);
void DIA_DISPLAY_MSG(const std::string &Smess, int Bstop)
Displays a user message with possible stop.
Definition pp_pas26.c:151

◆ DIA_IINPUT_MSG()

void DIA_IINPUT_MSG ( const std::string & Squest,
int Idef,
int * Ival )

Input of an integer through the keyboard
with a question and a default value.

Parameters
[in]Squestquestion
[in]Idefdefault value
[out]Ivalentered value
PCALL(DIA_IINPUT_MSG,'Enter number of passes',3,Npasses);
void DIA_IINPUT_MSG(const std::string &Squest, int Idef, int *Ival)
Input of an integer through the keyboard with a question and a default value.
Definition pp_pas26.c:226

◆ DIA_PRINT_OFF()

void DIA_PRINT_OFF ( )

cancel nc bloks write in listing file

void DIA_PRINT_OFF()
cancel nc bloks write in listing file
Definition pp_pas26.c:94
See also
DIA_PRINT_ON

◆ DIA_PRINT_ON()

void DIA_PRINT_ON ( )

activate nc bloks write in listing file with tabulations

PCALL(DIA_PRINT_ON);
void DIA_PRINT_ON()
activate nc bloks write in listing file with tabulations
Definition pp_pas26.c:29
See also
DIA_PRINT_OFF

◆ DIA_RINPUT_MSG()

void DIA_RINPUT_MSG ( const std::string & Squest,
double Rdef,
double * Rval )

Input of a real through the keyboard
with a question and a default value.

Version
4.4
Parameters
[in]Squestquestion
[in]Rdefdefault value
[out]Rvalentered value
PCALL(DIA_RINPUT_MSG,'Enter stepover percentage',0.65,Stepover);
void DIA_RINPUT_MSG(const std::string &Squest, double Rdef, double *Rval)
Input of a real through the keyboard with a question and a default value.
Definition pp_pas26.c:343

◆ DIA_SINPUT_MSG()

void DIA_SINPUT_MSG ( const std::string & Squest,
const std::string & Sdef,
std::string & Sval )

Input of a string through the keyboard
with a question and a default string.

Version
4.4
Parameters
[in]Squestquestion
[in]Sdefdefault string
[out]Svalentered string
PCALL(DIA_SINPUT_MSG,'Enter program name','PROG1',ProgName);
void DIA_SINPUT_MSG(const std::string &Squest, const std::string &Sdef, std::string &Sval)
Input of a string through the keyboard with a question and a default string.
Definition pp_pas26.c:456

◆ msgBOX_ERROR()

void msgBOX_ERROR ( const std::string & Str)

call box error,
but after three times the message is written in info windows

Version
6.06
PCALL(msgBOX_ERROR,'Invalid tool configuration');
void msgBOX_ERROR(const std::string &Str)
call box error, but after three times the message is written in info windows
Definition pp_pas26.c:726

◆ msgBOX_WARNING()

void msgBOX_WARNING ( const std::string & Str)

call box warning,
but after three times the message is written in info windows

Version
6.06
PCALL(msgBOX_WARNING,'Tool diameter too large');
void msgBOX_WARNING(const std::string &Str)
call box warning, but after three times the message is written in info windows
Definition pp_pas26.c:702

◆ PPCLF_comment()

void PPCLF_comment ( const std::string & Str)

debugg comment procedure

Version
5.6
PCALL(PPCLF_comment,'Starting roughing operation');
void PPCLF_comment(const std::string &Str)
debugg comment procedure
Definition pp_pas26.c:492

◆ PPCLF_comment_v1()

void PPCLF_comment_v1 ( const std::string & Str,
double Rval1 )

debugg comment procedure with a value

Version
6.05
PCALL(PPCLF_comment_v1,'Current depth',CurrentZ);
void PPCLF_comment_v1(const std::string &Str, double Rval1)
debugg comment procedure with a value
Definition pp_pas26.c:514

◆ PPCLF_comment_v2()

void PPCLF_comment_v2 ( const std::string & Str,
double Rval1,
double Rval2 )

debugg comment procedure with 2 values

Version
6.05
PCALL(PPCLF_comment_v2,'Position X Y',CurrentX,CurrentY);
void PPCLF_comment_v2(const std::string &Str, double Rval1, double Rval2)
debugg comment procedure with 2 values
Definition pp_pas26.c:537

◆ PPCLF_comment_v3()

void PPCLF_comment_v3 ( const std::string & Str,
double Rval1,
double Rval2,
double Rval3 )

debugg comment procedure with 3 values

Version
6.05
PCALL(PPCLF_comment_v3,'Position X Y Z',CurrentX,CurrentY,CurrentZ);
void PPCLF_comment_v3(const std::string &Str, double Rval1, double Rval2, double Rval3)
debugg comment procedure with 3 values
Definition pp_pas26.c:562

◆ PPCLF_comment_write()

void PPCLF_comment_write ( const std::string & Str)

debugg comment xcall

Version
5.6
PCALL(PPCLF_comment_write,'Entering custom procedure');
void PPCLF_comment_write(const std::string &Str)
debugg comment xcall
Definition pp_pas26.c:652

◆ PPCLF_debug()

void PPCLF_debug ( int Ityp)

modify DEBUG TRACE

Version
4.5
Parameters
[in]Ityp1,... like NC output options
PCALL(PPCLF_debug,1);
void PPCLF_debug(int Ityp)
modify DEBUG TRACE
Definition pp_pas26.c:674