Controlling the HP 16500C
To control the HP 16500C Logic Analysis System with programming
commands, you can either write the commands to
\system\program, or
open a socket in a C program. Either way, the controller in the System
Configuration menu must be set to LAN.
In order to send programming commands to the HP 16500C \system\program
file, the system must be connected to the LAN and you must be connected to
the system as the control user.
The \system\program file
Once the logic analysis system is connected to your network, you can send
commands to the system by sending them as text strings to the file location
\system\program. You can send the strings using a variety of methods:
•
echo a string from the command line to \system\program
•
copy an ASCII file containing a series of commands to \system\program
•
from within a C or BASIC program, open the file \system\program and
write the commands to it using "fwrite" or "output".
Sockets
If you are programming in C or another language that supports sockets, you
can write strings directly to the HP 16500C system. Socket connections are
automatically control users, so if someone else is already connected to the
logic analysis system as control user you will not be able to connect. You can
also directly connect to the parser socket using telnet, and send commands
interactively. All socket connections, including telnet, need to specify port or
address 5025.
Programming Over LAN
Controlling the HP 16500C
4–5