Gocator Snapshot Sensors: User Manual
Gocator Web Interface • 259
Function Description
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
values are set to 0 when the sensor starts.
Parameters:
id - ID of the value
Returns:
value - Value stored in persistent memory
int Memory_Exists (int id) Tests for the existence of a value by ID.
Parameters:
id – Value ID
Returns:
0 – value does not exist
1 – value exists
void Memory_Clear (int id) Erases a value associated with an ID.
Parameters:
id – Value ID
void Memory_ClearAll() Erases all values from persistent memory
Function Description
int RuntimeVariable_Count() Returns the number of runtime variables that can be accessed.
Returns:
The count of runtime variables.
Runtime Variable Functions