Visual Basic Examples

The following topics show the Visual Basic syntax of the ANSI C examples given elsewhere in this help file.

Note  The Visual Basic examples in the NI-VISA Help use the VISA data types where applicable. This feature is available only on Windows. To use this feature, select the VISA library (visa32.dll) as a reference from Visual Basic. This makes use of the type library embedded into the DLL.

Attribute-Based Resource Matching Example

Finding Resources Example

Handling Events Example

Locking Example

Locking Sample Code Example

Manipulating the Pointer Example

Message-Based Communication Example

Opening a Session Example

Queuing and Callback Mechanism Sample Code Example

Register-Based Communication Example

Serial Port Support Example

Shared Memory Sample Code Example

VISA Message-Based Application Example