BACK TO INDEX

VEE 3.2 Introduction Notes (feb 96)

VEE 3.2 Introduction Notes (feb 96)

last update 28 aug 98 / greg goebel / public domain / vwv_3_2

* This document provides introduction notes for the VEE 3.2 release in early 1996.


[1] OVERVIEW
[2] USER INTERFACE ENHANCEMENTS
[3] NEW FUNCTIONS
[4] VXI P&P; DRIVER SUPPORT
[5] MISCELLANEOUS FEATURES
[6] BUGS FIXED IN 3.2

 BACK TO INDEX

[1] OVERVIEW

* The VEE 3.2 release offers the following enhancements over previous versions of VEE:

With an improved operating environment, many facilities once restricted to VEE-UX are now available on VEE for Windows, such as VEE-to-VEE remote procedure calls, support of the E2050A LAN-HPIB bridge, and a new facility known as "callable VEE" that extends RPC support to C programs.

Note that there are a number of cautions when buying or upgrading to this version:

 TOP OF PAGE

[2] USER INTERFACE ENHANCEMENTS

* The most prominent new feature in VEE 3.2 is the revised toolbar, which now resembles that of most modern MSWin applications; the "Panel" / "Detail" buttons and the "Run" / "Stop" / "Cont" / "Step" buttons are gone, replaced by a strip of cutesy little icons:

Debugging functions have been consolidated on a new "Debug" menu that has the following entries:


      Flow   Device   I/O   Data 
  --+------------------------+-----
    |  Run            Ctrl+G |
    |  Pause          Ctrl+C |
    |  Stop                  |
    +------------------------+
    |  Resume         Ctrl+V |
    +------------------------+
    |  Step           Ctrl+T |
    +------------------------+
    |  Line Probe   Shift+LB |
    |  View Globals...       |
    +------------------------+
    |  Toggle Breakpoints    |
    |  Clear All Breakpoints |
    |  Activate Breakpoints  |
    +------------------------+
    |  Show Data Flow        |
    |  Show Execution Flow   |
    +------------------------+  

As is apparent, this in general echoes the Toolbar. (There have also been a number of other small modifications in existing menus to accommodate new or modified functions.)

* It is now easier to "undo" a deletion than in earlier versions of VEE; if you "Cut" an object with a number of connections and then decide that was an error, when you "Paste" it back all the lines are restored.

You can also "Replace" an object. Suppose you have an Until Break wired to a number of other objects and want to replace it with a For Count object. You leave the Until Break in place -- don't delete it! -- and get a For Count from the VEE menu. Place the For Count near the Until Break; pull down the object menu on the Until Break, select the (new) "Replace" entry, and then click on the For Count; the Until Break disappears, to be replaced by the For Count.

* Wiring objects is also easier in this version of VEE; for example, you can connect a wire to another wire, instead of having to trace the line back to the pin of an object off the screen.

 TOP OF PAGE

[3] NEW FUNCTIONS

* There are four new objects to support control of pop-up User Function panels:

* There is a new Selection Control type called "Slider List":


   +-----------------+
   |   Slider List   |
   +-----------------+
   |             +-+ |
   |      item 1 |H| |
   |      item 2 | | |
   |      item 3 | | |
   |             +-+ |
   +-----------------+  

* A new Delete Global object allows you to delete global variables individually or collectively:


   +-------------------+
   |   Delete Global   |
   +-------------------+
   |                   |
   |  < > All Globals  |
   |  <*> By Name:     |
   |                   |
   |       [ globalA ] |
   +-------------------+  

Other new function include "errorInfo()", which returns a description of the last error trapped on an error output pin, and "whichVersion()", which returns the current VEE revision number.

 TOP OF PAGE

[4] VXI P&P; DRIVER SUPPORT

* The updated VXI Plug&Play driver support in VEE 3.2 replaces the rudimentary Call-Function based scheme in VEE 3.12; the scheme is still very different from the traditional HPIB drivers in that Plug&Play drivers are essentially C function libraries -- and in that they are accessed through VTL/VISA rather than SICL.

A P&P driver comes as a set of four files:

These are installed into the appropriate directories set up by the VISA installation utility.

This done, you can then go to "I/O->VXIplug&play Instruments->Configuration" to configure the instrument:


   +-----------------------------------------------------------------+
   |              VXIplug&play Instrument Configuration              |  
   +-----------------------------------------------------------------+
   |  Currently Configured Instruments:                              |
   | +-------------------------------------+  [  Add Instrument   ]  |
   | | newDevice(hpvisa@GPIB0::12::INSTR   |                         |
   | |                                     |  [ Delete Instrument ]  |
   | |                                     |                         |
   | |                                     |  [  Edit Instrument  ]  |
   | |                                     |                         |
   | |                                     |                         |
   | |                                     |                         |
   | |                                     |                         |
   | |                                     |                         |
   | +-------------------------------------+                         |
   +-----------------------------------------------------------------+
   |               [  OK    ]  [ Cancel ]  [  Help  ]                |
   +-----------------------------------------------------------------+  

This is very similar to the traditional instrument configuration box (if not exactly the same); if you want to add or edit an instrument you get:


   +---------------------------------------------------------+
   |            VXIplug&play Device Configuration            |
   +---------------------------------------------------------+
   |                                     +-----------------+ |
   |  HP VEE name (eg dvm):              | MyDriver        | |
   |                                     +-----------------+ |
   |                                     +---------------+-+ |
   |  VXIplug&play Driver Name:          | HPE1410       |v| |
   |                                     +---------------+-+ |
   | +- Parameters to init() call -------------------------+ |
   | |                                +------------------+ | |
   | | Address (eg GPIB0::12::INSTR): | GPIB0::12::INSTR | | |
   | |                                +------------------+ | |
   | | [*] Perform Identification Query                    | |
   | |                                                     | |
   | | [*] Perform Reset                                   | |
   | |                                                     | |
   | +-----------------------------------------------------+ |
   +---------------------------------------------------------+
   |            [  OK   ] [ Cancel ] [  Help  ]              |
   +---------------------------------------------------------+  

The "HP VEE Name" is an arbitrary string to designate the driver; spaces are significant but the name is not case-sensitive. The "VXIplug&play Driver Name" is, naturally, the name of the driver file.

The parameters are obvious: the address follows the VISA format rather than the standard VEE format. The two flags allow you to perform an ID query to confirm what the instrument really is and to reset the instrument on driver initialization.

* Once you have configured a driver, you can then select a To/From VXIplug&play object from the "I/O->VXIplug&play->To/From VXIplug&play"; it looks just like any other transaction box:


   +---+-------------------------------------------+---+
   | = |             To/From NewDevice             | X |  
   +---+--+-------------------------------------+--+---|
   |      |                                     |      |
   |      |                                     |      |
   |      |                                     |      |
   |      |                                     |      |
   |      |                                     |      |
   +------+-------------------------------------+------+  

However, when you select a transaction you get something very different from the usual transaction-configuration dialogue ... something that more looks like a "browser" into the VXIp&p library:


   +-------------------------------------------------+
   |            Select A Function Panel              |  
   +-------------------------------------------------+
   | [ ] HPE1410                                     |
   |  |                                              |
   |  +-[-] High Level Control                       |
   |  |  |                                           |
   |  |  +-[+] Measure                               |
   |  |  +-[ ] Configure Current Settings            |
   |  |  +-[f] Read Using Current Settings <--       |
   |  |                                              |
   |  +-[-] Low Level Control                        |
   |  |  |                                           |
   |  |  +-[f] Initiate Measurement                  |
   |  |  +-[f] Abort Measurement                     |
   |  |  +-[f] Fetch Data from Instrument            |
   |  |  +-[f] Execute Immediate Trigger             |
   |  |  +-[ ] Configure                             |
   |  |  +-[ ] Calibration                           |
   |  |                                              |
   +-----------------------------------------------+-+
   | Places the multimeter in the wait-for-trigger |^|
   | state and transfers readings directly to the  | |
   | output buffer after receiving a trigger.      |v|
   +-----------------------------------------------+-+
   |            [   OK   ]  [ Cancel ]               |
   +-------------------------------------------------+  

This "browser" is hierarchically arranged with "folders" that open up in a tree fashion until you reach actual functions (designated by "f" above) ... you can think of this as much like a file manager, with function groups replacing directories and functions replacing files.

Once you select a function you get a tabfolder dialogue to set its features. There are two tabs: "Panel", to allow you to set the contol values to the function, and "Parameters", which allows you to specify the parameters to be passed to and returned from the function:


   +--------------------------------------------------------------------+
   |           Edit Function Panel for hpe1410_measure_Q()              |  
   +--------------------------------+-----------------------------------+
   |             Panel              |           Parameters              |
   |                                +-----------------------------------+
   |                                                                    |
   |           function    +-+               reading                    |
   |            Frequency -| |           [0.0000E+000   ]               |
   |               Period -| |                                          |
   |    4-Wire Resistance -| |                                          |
   |    2-Wire Resistance -| |                                          |
   |           AC Voltage -| |                                          |
   |        AC+DC Voltage -| |                                          |
   |           DC Voltage -|H|                                          |
   |                       +-+                                          |
   |   Session Handle                                   Status          |
   |   [0           ]                                [#H0           ]   |
   +--------------------------------------------------------------------+
   | hpe1410_measure_Q(vi, hpe1410_CONF_VOLT_DC, reading)               |
   +--------------------------------------------------------------------+
   |           [   OK   ] [   NOP  ] [ Cancel ] [  Help  ]              |
   +--------------------------------------------------------------------+  

   +--------------------------------------------------------------------+
   |           Edit Function Panel for hpe1410_measure_Q()              |  
   +--------------------------------+-----------------------------------+
   |             Panel              |            Parameters             |
   +--------------------------------+                                   |
   | +- function -----------------------------------------------------+ |
   | |                                                                | |
   | | Parameter Type:   <*> Constant  < > Variable                   | |
   | |                                                                | |
   | | Name: [ hpe1410_CONF_VOLT_DC       ] [ ] Create Input Terminal | |
   | +- reading ------------------------------------------------------+ |
   | |                                                                | |
   | | Parameter Type:   < > Constant  <*> Variable                   | |
   | |                                                                | |
   | | Name: [ reading                   ] [x] Create Output Terminal | |
   | +----------------------------------------------------------------+ |
   |                                                                    |
   +--------------------------------------------------------------------+
   | hpe1410_measure_Q(vi, hpe1410_CONF_VOLT_DC, reading)               |
   +--------------------------------------------------------------------+
   |           [   OK   ] [   NOP  ] [ Cancel ] [  Help  ]              |
   +--------------------------------------------------------------------+  

Once done, then the function is sent up in the To/From VXIp&p box with the appropriate input and output terminals:


   +---+----------------------------------------------+---+
   | = |              To/From NewDevice               | X |  
   +---+--+-------------------------------------+-----+---|
   |      | hpe1410_measure_Q(vi, hpe1410_CONF_ |         |
   |      |                                     |         |
   |      |                                     | reading +-->
   |      |                                     |         |
   |      |                                     |         |
   |      |                                     |         |
   +------+-------------------------------------+---------+  

If you select Help from the object menu, you get the driver's help file in a real live Windows (or Windows-like on UX) help utility.

Note that the Bus I/O Monitor does not work with VXIp&p drivers. Note also that VXIp&p drivers are always in live mode; if you run a program you have to have instruments connected (though you can set up function calls without any instruments available).

 TOP OF PAGE

[5] MISCELLANEOUS FEATURES

* Other new features in VEE 3.2 include:

* The enhanced networking features -- RPC, LAN bridge support, and Callable VEE -- will be discussed in more detail at a later date.

 TOP OF PAGE

[6] BUGS FIXED IN 3.2

* Important bugs fixed in this release include:

 TOP OF PAGE


 BACK TO INDEX