EasyManua.ls Logo

Fastech Ezi-Step Plus-R

Fastech Ezi-Step Plus-R
114 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
- 42 -
42
Library for PC Program
FAS_EnableLog
To select the save function of communication error log file.
Syntax
void FAS_EnableLog(BOOL bEnable);
Parameters
bEnable
Select output of Log.
Remarks
Select the Log output during Ezi -MOITON Plus-R DLL function used. This setup
Do not effect th other process or other program.
Log function start from ‘FAS_Connect’ function, the Log output is end when the
‘FAS_Close’ is excuted.
Example
#include "FAS_ EziMOTIONPlusR.h"
void funcDisableLog()
{
BYTE nPortNo = 1;
FAS_EnableLog(FALSE);
// Try to connect.
if (FAS_Connect(nPortNo, 115200) == FALSE)
{
// connection fail.
// cab be different Port or different Baudrate.
return;
}
// Connection close..
FAS_Close(nPortNo);
}
See Also
FAS_SetLogPath

Table of Contents

Related product manuals