Click or drag to resize

FlexPendantGetMemoryInfo Method

Gets the memory information for FlexPendant

Namespace:  ABB.Robotics.Diagnostics
Assembly:  ABB.Robotics (in ABB.Robotics.dll) Version: 6.5.129.0
Syntax
C#
public static CapacityInfo GetMemoryInfo()

Return Value

Type: CapacityInfo
Returns an object of CapacityInfo
Remarks
This function returns an object of CapacityInfo, and the unit for the number is bytes.
Examples
This example illustrates how to get the memory information of a FlexPendant.
using ABB.Robotics.FlexPenant;
...
CapacityInfo ci = FlexPendant.GetFPMemoryInfo();
Console.WriteLine("Total memory is {0} bytes", ci.TotalCapacity);
Console.WriteLine("Availabe memory is {0} bytes", ci.AvailableCapacity);
Console.WriteLine("Used memory is {0} bytes", ci.UsedCapacity);
...
See Also