Features
Set the output data (robot controller → external controller) communication configuration supported by real-time external control.
Parameter
|
Parameter Name |
Data Type |
Default Value |
Description |
|
strVersion |
string |
- |
Output Data Version |
|
fPeriod |
float |
- |
Communication Period (sec). Range: 0.001~1 [sec] |
|
nLossCnt |
int |
- |
Loss Count |
-
fPeriod currently supports 0.001 to 1 sec.
-
Currently, nLossCnt is not used.
Return
|
Value |
Description |
|
1 |
The condition is True |
|
0 |
The condition is False |
Example
C++
// Connect and configure output data
CDRFLEx drfl;
drfl.connect_rt_control();
string version = “v1.0”;
float period = 0.001; // 1 msec
int losscount = 4;
drfl.set_rt_control_output(version, period, losscount);