Programming Examples

¡¡

¡¡

This chapter lists some programming examples to illustrate how to use commands to realize the common functions of the signal generator in the development environments of Visual C++ 6.0 and Visual Basic 6.0 and LabVIEW 8.6. All examples are based on VISA (Virtual Instrument Software Architecture).

VISA is an API (Application Programming Interface) for controlling instruments. It is convenient for users to develop testing applications which are independent of the types of instrument and interface. Note the "VISA" mentioned here is NI (National Instrument)-VISA. NI-VISA is an API written by NI based on VISA standards. You can use NI-VISA to realize the communication between the signal generator and the PC via instrument buses such as USB. As VISA has defined a set of software commands, users can control the instrument without understanding the working state of the interface bus. For more details, please refer to NI-VISA.

¡¡

The topics of this section:

¡¡

Prepare for Programming

Visual C++ 6.0 Programming Example

Visual Basic 6.0 Programming Example

LabVIEW 8.6 Programming Example

¡¡

¡¡

¡¡