Manual

Table Of Contents
DobotVisionStudio User Guide
Issue V4.1.2 (2022-06-08) User Guide Copyright © Yuejiang Technology Co., Ltd.
56
Click Add in the upper right corner to dynamically add assemblies as required. Only C# assemblies
are supported. Find the.dll you want to add in the path of the third-party assemblies. You can call it
in the global script after adding.
Usage
The global script supports calling the C# version of the algorithm platform SDK. For specific
interface function, refer to DobotVisionStudio Algorithm Platform SDK User Manual. In addition,
the global script provides the data interface of global variable module, continuous running time
setting interface, debug interface, etc.
Global variable related interface:
Description
Get int type variable value of global variable.
Function
Int GetGlobalVariableIntValue(string paramName, ref int paramValue)
/
Parameter Name
Data Type
Description
Input
paramName
string
variable name
Output
paramValue
Int
variable value
Returned Value
Success: 0; Failure: error code excluding 0
Description
Get float type variable value of global variable.
Function
Int GetGlobalVariableFloatValue(string paramName, ref float paramValue)
/
Parameter Name
Data Type
Description
Input
paramName
string
variable name