Specifications
Chapter 18 341
PSA Programming Examples
Using Visual Basic® .NET with the IVI-Com Driver
PSA Programming Examples
Next
Catch ex As Exception
Console.WriteLine(ex.Message)
Finally
’ Close the connection
instr.Close()
End Try
Catch ex As COMException
Console.WriteLine(ex.Message)
Catch ex As Exception
Console.WriteLine(ex.Message)
End Try
’ Wait for user input
Console.WriteLine("Press ENTER to end program.")
Console.ReadLine()
End Sub
End Module