The 'AiSetCurr' function changes the current value of AI Memory tag.
void @AiSetCurr(string tag, double value);
Parameters
string tag : Name of AI Memory tag.
double value : New value that you want to set.
Return Value
None
Example
@AiSetCurr("ai_vir01", 10.54);
Description : The above statement changes the current value of AI Memory tag named 'ai_vir01' into '10.54'.
$ai_vir01 = 10.54;
Even if you write statement as above, the result is the same.