imaqGetCurrentTool
Usage
int imaqGetCurrentTool(Tool* currentTool);
Purpose
Returns the currently selected tool from the tool window.
Parameters
Name
|
Type
|
Description
|
---|---|---|
currentTool | Tool* | On return, contains the currently selected tool. This parameter is required and cannot be NULL. |
Return Value
Type |
Description |
---|---|
int | On success, this function returns a non-zero value. On failure, this function returns 0. To get extended error information, call imaqGetLastError(). |