You're reading the documentation for an older, but still supported version
(GL013300).
For information on the latest version, please have a look at GL013301.
For information on the latest version, please have a look at GL013301.
get_system_version
This is a function for checking version information on each subsystem that constitutes the robot controller. It returns details such as controller firmware, motion, and communication versions through the SYSTEM_VERSION structure.
Definition
DRFLEx.h within class CDRFLEx, public section (line 687)
bool get_system_version(LPSYSTEM_VERSION pVersion) { return _get_system_version(_rbtCtrl, pVersion); };
Parameter
Parameter Name |
Data Type |
Default Value |
Description |
|---|---|---|---|
pVersion |
Pointer to a structure that stores the version information of each subsystem. |
Return
Value |
Type |
Description |
|---|---|---|
0 |
int |
Error — failed to retrieve version information. |
1 |
int |
Success — version information successfully obtained. |
Example
SYSTEM_VERSION tSysVerion = { '\0', };
DrFl.get_system_version(&tSysVerion);
cout << "version: " << tSysVerion._szController << endl;
This example retrieves detailed version information of the robot controller and prints the controller’s version string to the console.