Skip to main content
Skip table of contents

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

CPP
string strTool = drfl.get_tool(); 
// Checks currently mounted tool.
if (strTool != “tool#1) {
drfl.set_tool(“tool#1); 
}
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.