Gocator Line Profile Sensors: User Manual
Gocator Web Interface • 430
Function Description
void Output_SetAt(unsigned int index,
double value, int decision)
Sets the output value and decision at the specified output index. To
output an invalid value, the constant INVALID_VALUE can be used (e.g.,
Output_SetAt(0, INVALID_VALUE, 0))
Parameters:
index – Script output index
value – value output by the script
decision – decision value output by the script. Can only be 0 or 1
void Output_SetId(int id, double value, int
decision)
Sets the output value and decision at the specified script output ID. To
output an invalid value, the constant INVALID_VALUE can be used (e.g.,
Output_SetId(0, INVALID_VALUE, 0))
Parameters:
id – Script output ID
Function Description
void Memory_Set64s (int id, long long
value)
Stores a 64-bit signed integer in persistent memory.
Parameters:
id - ID of the value
value - Value to store
long long Memory_Get64s (int id) Loads a 64-bit signed integer from persistent memory.
Parameters:
id - ID of the value
Returns:
value - Value stored in persistent memory
void Memory_Set64u (int id, unsigned long
long value)
Stores a 64-bit unsigned integer in the persistent memory
Parameters:
id - ID of the value
value - Value to store
unsigned long long Memory_Get64u (int id) Loads a 64-bit unsigned integer from persistent memory.
Parameters:
id - ID of the value
Returns:
value - Value stored in persistent memory
void Memory_Set64f (int id, double value) Stores a 64-bit double into persistent memory.
Parameters:
id - ID of the value
value - Value to store
double Memory_Get64f (int id) Loads a 64-bit double from persistent memory. All persistent memory
Memory Functions