Class LgxProbeReport

  • All Implemented Interfaces:
    java.io.Serializable

    public class LgxProbeReport
    extends java.lang.Object
    implements java.io.Serializable
    Contains the results of performing the tag and datatype scan documented in Rockwell's Logix Data Access manual.

    The probe sequence itself is in LgxDataProbe. When that sequence delivers to listeners, it does not perform the assignment of type instances to tags and type members. The listener can choose to use the reMap() method if desired.

    The reMap() method is automatically invoked after deserialization.

    See Also:
    Serialized Form
    • Field Detail

      • chgMgmt

        public final int[] chgMgmt
      • msgCount

        public final int msgCount
      • lastInstance

        public final int lastInstance
      • maxInstance

        public final int maxInstance
      • typesToDo

        public final int typesToDo
      • tagsToDo

        public final int tagsToDo
      • log

        public transient java.lang.String log
      • anyUnalignedArray

        public transient boolean anyUnalignedArray
        This flag is set during reMap() if any array tag is present with a data address not aligned to a 64-bit word. This matters for alias determinations and for any use of the physical memory services available on older firmware.
    • Method Detail

      • getNullTermString

        public static java.lang.String getNullTermString​(java.nio.ByteBuffer source)
        Logix template definitions include the template name and member names in an unorganized buffer, each null terminated. This helper function simply reads a single null-terminated string from a buffer, leaving the buffer position after the null.
        Parameters:
        source -
        Returns:
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object