1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish
1.32 1.31 1.30 1.29 1.28 1.20 Korean English Chinese Czech Dutch French German Hungarian Italian Japanese Polish Portuguese Spanish

CDRFLEx.get_tool

Features

This is a function for retrieving the tool information currently set in the robot controller. When there is no currently set information on a tool, an empty character string is returned.

Parameter

None

Return

Value

Description

string

Tool Name

Example

C++
string strTool = drfl.get_tool(); 
// Checks currently mounted tool.
if (strTool != “tool#1) {
drfl.set_tool(“tool#1); 
}