An instance of this type encapsulates an editable instance of the java.net.MulticastSocket class. Since its RD_1 output is a string containing a hexadecimal representation of the most recently received message, it can be used to monitor the operation of a PUBLISH_x block that publishes any number (x) of data items on the associated multicast channel.
The format of the RD_1 output is a space-separated sequence of 2-digit hexadecimal representations of the individual bytes in the receive buffer. Since the buffer is zero-filled before message reception, the output string terminates with the characters "..." following the first zero byte in the set of contiguous zero bytes to the end of the buffer. Thus, if the message contains trailing zero bytes, only the first is shown.
See the TEST_BITS application and the MONITOR device configuration for an example of the use of an instance of this type.
NOTE - RSP+ or RSP- inputs are not required for proper operation of this block, and are ignored if they do occur.
Last updated: 2006-04-19.
©2006 Holobloc
Inc
Licensed under the Academic Free
License version 3.0.