Breadcrumbs

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); 
}