EasyManua.ls Logo

TDK-Lambda Genesys Series - Message Terminators; Using TCP Sockets; Using UDP Sockets

TDK-Lambda Genesys Series
70 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
35
8303460000 Rev A IA672-04-01-Rev. I
9.5. Message Terminators
When you are using a program that sends separate SCPI commands out through a TCP
socket, 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.
WARNING
When using sockets, all SCPI commands must
have a terminator character.
The rules for the message terminator are:
Terminator Character
(and ASCII hex)
Commands
from the Controller
One or more terminators required:
Line-feed, Carriage-return or Semicolon
0x0A 0x0D 0x3B
Responses
from the Genesys™ LAN
All responses have Line-Feed at end.
0x0A
9.6. Using TCP Sockets
This is the most popular socket type. It features a managed connection, message
acknowledgements, 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), then
up 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 a
resource name such as: TCPIP::169.254.33.192::8003::SOCKET.
9.7. Using UDP Sockets
This is a simpler socket type with reduced network traffic. It is a ‘connectionless’ protocol
because messages are sent and there is no acknowledgement that they have been
received.
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 controller
access to “Multiple Clients” (see section 6.6.2).

Table of Contents

Other manuals for TDK-Lambda Genesys Series

Related product manuals