
31
Send a UDP packet to device IP address port 11000 with the command string as defined here:
Command String Format: OPHCMDXXXX$VE<params>[CR]
where:
OPHCMD = a special 6 letter prefix we have defined for UDP commands.
XXXX = a user defined 4-character string (ASCII characters), a code defined by the user, which will be returned by the
EA-1 in the response to this command. For example the user can decide to use a counter (0001,0002,0003) in order
to track the response for each particular command, in case command return out of order, or in case there are
missing responses.
$VE = Ophir Command (for example $VE for version, see EA-1 Manual).
<params> = whatever parameters are required for the specific command as defined in the Manual.
[CR] = carriage return character
In order to receive data back from the EA-1 through UDP:
Listen to UDP from device IP address port 11000 and check format (see examples).
Receive String Format: OPHRSPXXXX*1.23[CR][LF]
where:
OPHRSP = a special 6 letter prefix we have defined for UDP receives.
XXXX = the same user defined string as defined above, to check which response is from which command.
*1.23 is the received data to this command. See details in EA-1 Manual – an error message might response with a ?
instead of the * character.
[CR][LF] = carriage return & line feed characters at the end of the message, as in manual
Ophir can provide a small PC application (named “NetworkMonitor.exe”) that allows the user to send commands
and receive replies via UDP, in order to test the UDP connection. Inside the application, the user needs to fill in the IP
address of the EA-1 device, write a command string, and then click on “Send Command”. The response appears in
the window below. For example to query power the user can send “OPHCMD0001$SP” and then click on the "Send
Command" button.
To receive a copy of this PC application please contact [email protected] or contact Ophir via your local
sales agent and ask the question to be referred to the Ophir R&D Team.
Ethernet Commands:
These commands are specific to the EA-1 Adapter and control the Ethernet settings and other related issues.
Device User Name ($DN):