Special Note to NI-VXI 16-bit and 32-bit Visual Basic Examples ------------------------------------------------------------------------------ NI-VXI functions are best utilized using C/C++ compilers. In Visual Basic (up to the current version 4.0), there are several impediments to properly calling many of those functions. The primary obstacle is the fact that Visual Basic has no explicit provisions for pointer arithmetic. It is possible to differentiate function arguments as being passed by value vs. passing by reference, but complex pointers can not be handled effectively or cannot be handled at all. This makes use of NI-VXI functions from within Visual Basic either difficult or impossible. The NI-VXI example programs were developed consulting the NI-VXI Software Reference Manual for C. The two files "Nivxi.bas" and "Nivxi32.bas" were created to allow calling of certain (but not all) NI-VXI routines from within 16-bit Visual Basic (versions 3.0 and 4.0) and 32-bit Visual Basic (version 4.0) respectively. One should take special care when including one of the abovementioned files in custom VXI applications. Good knowledge of the C language and profound understanding of how Visual Basic handles different function calls and data types is needed to properly use the files.