6-16 Agilent 4155C/4156C VXIplug&play Driver User’s Guide, Edition 4
Programming Examples for VEE Users
Programming Basics
Restrictions When Using the Driver with Agilent VEE
When using Agilent VEE and any of the following functions for Agilent 4155/4156
and Agilent E5250A, certain restrictions will apply.
Invalid functions in the VEE program
• hp4156b_init, hpe5250a_init
Agilent VEE calls and executes these functions automatically when the program
first runs after loading. These functions cannot be called in a program using
Agilent VEE.
• hp4156b_close, hpe5250a_close
Agilent VEE calls and executes these functions automatically when you close
the program or Agilent VEE. These functions cannot be called in a program
using Agilent VEE.
• hp4156b_error_message, hpe5250a_error_message
These functions receive the error status of the plug&play driver function, and
returns the error message. However, these functions are invalid in a program
using Agilent VEE, because Agilent VEE does not pass the error status to the
function.
Invalid use of the NULL pointer
The measurement functions listed below allow you to use the NULL pointer to
restrict the number of parameters returned from the function. However, the NULL
pointer is not available for Agilent VEE programming.
• hp4156b_spotMeas
• hp4156b_sweepIv
• hp4156b_sweepMiv
• hp4156b_sweepPiv
• hp4156b_sweepPbias
• hp4156b_measureM
• hp4156b_measureP
• hp4156b_sample
• hp4156b_readData