Opening a Session Example (Visual Basic)
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. |
Private Sub vbMain()
Rem Error initializing VISA...exiting End If End Sub |