358303460000 Rev A IA672-04-01-Rev. I9.5. Message TerminatorsWhen you are using a program that sends separate SCPI commands out through a TCPsocket, the socket drivers may combine all the messages into one long packet. Therefore,it is necessary to add a terminator character to the end of each SCPI command.WARNINGWhen using sockets, all SCPI commands musthave a terminator character.The rules for the message terminator are:Terminator Character(and ASCII hex)Commandsfrom the ControllerOne or more terminators required:Line-feed, Carriage-return or Semicolon0x0A 0x0D 0x3BResponsesfrom the Genesys™ LANAll responses have Line-Feed at end.0x0A9.6. Using TCP SocketsThis is the most popular socket type. It features a managed connection, messageacknowledgements, transmission error detection and correction.Open TCP socket port 8003 to send SCPI commands.Responses to queries are sent back automatically with a line-feed terminator appended.If the web page LAN controller access is set to “Multiple Clients” (see section 6.6.2), thenup to three controllers may open TCP sockets to one power supply at the same time.Instrumentation utilities from the Test and Measurement market support TCP sockets.For example, VISA and IVI allow ‘raw socket’ or ‘data socket’ instruments with aresource name such as: TCPIP::169.254.33.192::8003::SOCKET.9.7. Using UDP SocketsThis is a simpler socket type with reduced network traffic. It is a ‘connectionless’ protocolbecause messages are sent and there is no acknowledgement that they have beenreceived.Open UDP socket port 8005 to send SCPI commands.Responses to queries are sent back automatically with a line-feed terminator appended.Before opening a UDP socket, it is required to open the web page and set the controlleraccess to “Multiple Clients” (see section 6.6.2).