Number of actual elements

Namespace: EAL.Structures
Assembly: EAL (in EAL.dll) Version: 1.1.5.0 (1.1.5.0)

Syntax

C#
public int numActualElements
Visual Basic
Public numActualElements As Integer
Visual C++
public:
int numActualElements

Field Value

Type: Int32

Examples

 Copy imageCopy
private static void Sample()
{
    using (IEALConnection ealConnection = new EALConnection())    // Creates axis object with synchronous execution method
    {
        // Connects to the real drive
        ealConnection.Connect("192.168.0.10");;
        // Reads parameter list length. Read method is always synchronous.
        ParameterListLength parameterListLength = axis.Parameter.ReadListLength("P-0-1206.0.0");
        // Displays parameter list lengths properties
        Console.WriteLine("Element size by bytes = {0}\nNumber of actual elements = {1}\nNumber of maximum elements = {2}",
            parameterListLength.elementSizeBytes, parameterListLength.numActualElements, parameterListLength.numMaximumElements);
    }
}

See Also