This question is locked. New answers and comments are not allowed.
Public Class VnaHP8753D Inherits VnaBase Private _learnString As String = String.Empty Public Overrides Function GetLearnString(ByVal myChannel As Integer) As Byte()...#If 1 Then _learnString = Instrument.ReadString Dim enc As New System.Text.ASCIIEncoding myBytes = enc.GetBytes(_learnString)#Else...#End If...End FunctionEnd Classusing VB2008