Function diagram, string to AnyType
Hi, we are using the TCPWrite block of the tcpcommlib which has an input of AnyType (see attachment). My assumption was that we can connect anything we want to this input, set NoOfBytesToSend to 0 and BytesPerItem to 2 (since each char is 2 bytes) and the block would itself figure out how/what to send.
But it doesn't work as expect, the error/status of the block indiciates problems (since we never see status code 1).
While connecting an integer value directly to the Sd port (AnyType) works just fine.
Are we required to turn the string from a string into a type of AnyType? If that is the case suggestions are welcome as to how.
Insert the URL that your highlighted text will link to.
Copy the video's "embed" tag into Embedded Video below.