User`s manual
CYDAS UDR Library User’s Guide CYDAS UDR Library Description and Use
14
Each function is implemented as a panel. All the arguments are accessible on the panel and require a value. In
the example programs and in simple projects this method of presenting the functions is easiest to use. Each
value is hard-coded into the panel.
If more complex projects are undertaken, open the design view of the function and drag certain arguments
outside the panel. Dragging an object outside the panel will create a 'pin' to which you can connect constants,
variables, or objects such as slider bars. In large projects the ability to supply an argument with a variable that
acquires its value elsewhere is especially useful. See the VEE manual for information on how to do this.
See the example program
ULAI06.VEE for an example of the multiple uses of several arguments, where it is
better to specify the argument values globally. In this example, we have brought several arguments out of the
panel.
Remember, if you drag an argument outside a panel you must reconnect the program flow (top and bottom
pins) of the remaining arguments; the one above to the one below the argument you removed.
New HP VEE functions
Several new functions have been added strictly for use with HP VEE. These functions are listed separately in
a section devoted to the VEE-specific functions. All VEE-specific functions begin with the name
cbv, rather
than
cb. The new functions add VEE style data and array handling to the library.
Using the HP VEE interface is simple, and is a great way to connect your VEE programs to the real world.
Read the manual, start with the examples, and then begin working up your own projects. Remember to call us
with suggestions!
Installation note
Install the CYDAS UDR Library in the default directory. The HP VEE library import block CBI_UL contains
an exact path specification for the library CBV.DLL and its header file CBV.H. If you do not install these files
into the default directory suggested by the install program, you will have to edit the library import block
CBI_UL to point to the directory where the files are installed.
To edit the library import block CBI_UDR:
1. Click on the
DataAcq menu item and then click on its cbLibrary sub-menu item.
2. Place the mouse cursor at the desired location for the library import block and press the left mouse button
once.
3. Double-click on the library import block object. A detailed CBI_UL library block will be displayed.
4. Within the CBI_UL library block, click on the button to the right of
File Name, then enter the new path
with the file name and click OK.
5. Click on the button to the right of
Definition File, then enter the new path with the file name and click
OK.
Using VEE 3.2 or later
If you are using VEE 3.2 or later, edit the library import block and change the library name from CBV.DLL to
CBV32.DLL. Be sure to include the proper path.