HP (Hewlett-Packard) 16500C Sander User Manual


 
Program Examples
The program examples in chapter 15, "Programming Examples," were written
on an HP 9000 Series 300 controller using the HP BASIC 6.2 language. The
programs always assume a generic address for the HP 16500C Logic Analysis
System of 707. The shorter examples given in the reference sections use a
generic address of XXX.
In the examples, you should pay special attention to the ways in which the
command and/or query can be sent. Keywords can be sent using either the
long form or short form (if one exists for that word). With the exception of
some string parameters, the parser is not case-sensitive. Uppercase and
lowercase letters may be mixed freely. System commands like HEADer and
LONGform allow you to dictate what forms the responses take, but they have
no affect on how you must structure your commands and queries.
Example The following commands all set the logic analyzer’s Timing Waveform Delay
to 100 ms.
Keywords in long form, numbers using the decimal format.
OUTPUT XXX;":SELECT 2:MACHINE1:TWAVEFORM:DELAY .1"
Keywords in short form, numbers using an exponential format.
OUTPUT XXX;":SEL 2:MACH1:TWAV:DEL 1E-1"
Keywords in short form using lowercase letters, numbers using a suffix.
OUTPUT XXX;":sel 2:mach1:twav:del 100ms"
In these examples, the colon shown as the first character of the command is
optional on the HP 16500C Logic Analysis System. The space between DELay
and the argument is required.
Programming and Documentation Conventions
Program Examples
5–12