HP (Hewlett-Packard) E1412A Waterskis User Manual


 
64 HP E1312A/E1412A Multimeter Application Information Chapter 2
HP VEE
Programming
Example
HP VEE is HP’s Visual Engineering Environment, a graphical programming
language for creating test systems and solving engineering problems. This
section provides an instrument control example using the “Direct I/O”
feature of HP VEE. Direct I/O allows you to directly specify messages to be
sent to an instrument and to directly read the information sent back by an
instrument. Direct I/O also offers the most efficient I/O performance in
HP VEE.
The example provided here synchronizes a measurement scan with a switch
module. This is the same example previously discussed in this chapter with
programs provided in the C and Visual Basic programming languages.
Device Configuration You must configure your HP E1312A or HP E1412A Multimeter (and the
switch module) before you can communicate with them.
1. Select I/O Instrument... from the menu bar. The Instrument
Select or Configure
dialog box pops up.
2. Select the
Direct I/O button from the Instrument Type choices. Then
select
Add Instrument from the Instrument Configure choices. This
selection pops up the
Device Configuration dialog box.
3. Fill in the
Device Configuration Name, Interface, Address and
Timeout.
Set Byte Ordering to MSB and Live Mode to ON. Then
select
Direct I/O Config... The Direct I/O Configuration dialog box
pops up.
4. Verify
Conformance is set to IEEE 488 (use default settings for all
others).
5. Select
OK to close both the Direct I/O and Device Configuration
boxes.
6. Select the “name” you put in the name field of the device
configuration dialog box now appearing in the instrument list and
press the
Get Instr button.