Option Strict Off
Option Explicit On
Friend Class frmIviCom
	Inherits System.Windows.Forms.Form
#Region "Windows Form Designer generated code "
	Public Sub New()
		MyBase.New()
		If m_vb6FormDefInstance Is Nothing Then
			If m_InitializingDefInstance Then
				m_vb6FormDefInstance = Me
			Else
				Try 
					'For the start-up form, the first instance created is the default instance.
					If System.Reflection.Assembly.GetExecutingAssembly.EntryPoint.DeclaringType Is Me.GetType Then
						m_vb6FormDefInstance = Me
					End If
				Catch
				End Try
			End If
		End If
		'This call is required by the Windows Form Designer.
		InitializeComponent()
	End Sub
	'Form overrides dispose to clean up the component list.
	Protected Overloads Overrides Sub Dispose(ByVal Disposing As Boolean)
		If Disposing Then
			If Not components Is Nothing Then
				components.Dispose()
			End If
		End If
		MyBase.Dispose(Disposing)
	End Sub
	'Required by the Windows Form Designer
	Private components As System.ComponentModel.IContainer
	Public ToolTip1 As System.Windows.Forms.ToolTip
	Public WithEvents txtReadings As System.Windows.Forms.TextBox
	Public WithEvents txtIOaddress As System.Windows.Forms.TextBox
	Public WithEvents cmdStart As System.Windows.Forms.Button
	Public WithEvents Label3 As System.Windows.Forms.Label
	Public WithEvents Label2 As System.Windows.Forms.Label
	Public WithEvents Label1 As System.Windows.Forms.Label
	Public WithEvents GP As System.Windows.Forms.Label
	'NOTE: The following procedure is required by the Windows Form Designer
	'It can be modified using the Windows Form Designer.
	'Do not modify it using the code editor.
	<System.Diagnostics.DebuggerStepThrough()> Private Sub InitializeComponent()
        Me.components = New System.ComponentModel.Container
        Me.ToolTip1 = New System.Windows.Forms.ToolTip(Me.components)
        Me.txtReadings = New System.Windows.Forms.TextBox
        Me.txtIOaddress = New System.Windows.Forms.TextBox
        Me.cmdStart = New System.Windows.Forms.Button
        Me.Label3 = New System.Windows.Forms.Label
        Me.Label2 = New System.Windows.Forms.Label
        Me.Label1 = New System.Windows.Forms.Label
        Me.GP = New System.Windows.Forms.Label
        Me.SuspendLayout()
        '
        'txtReadings
        '
        Me.txtReadings.AcceptsReturn = True
        Me.txtReadings.AutoSize = False
        Me.txtReadings.BackColor = System.Drawing.SystemColors.Window
        Me.txtReadings.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtReadings.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtReadings.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtReadings.Location = New System.Drawing.Point(0, 128)
        Me.txtReadings.MaxLength = 0
        Me.txtReadings.Multiline = True
        Me.txtReadings.Name = "txtReadings"
        Me.txtReadings.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtReadings.ScrollBars = System.Windows.Forms.ScrollBars.Vertical
        Me.txtReadings.Size = New System.Drawing.Size(462, 173)
        Me.txtReadings.TabIndex = 4
        Me.txtReadings.Text = "Text1"
        '
        'txtIOaddress
        '
        Me.txtIOaddress.AcceptsReturn = True
        Me.txtIOaddress.AutoSize = False
        Me.txtIOaddress.BackColor = System.Drawing.SystemColors.Window
        Me.txtIOaddress.Cursor = System.Windows.Forms.Cursors.IBeam
        Me.txtIOaddress.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.txtIOaddress.ForeColor = System.Drawing.SystemColors.WindowText
        Me.txtIOaddress.Location = New System.Drawing.Point(10, 32)
        Me.txtIOaddress.MaxLength = 0
        Me.txtIOaddress.Name = "txtIOaddress"
        Me.txtIOaddress.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.txtIOaddress.Size = New System.Drawing.Size(312, 26)
        Me.txtIOaddress.TabIndex = 2
        Me.txtIOaddress.Text = "GPIB0::9::INSTR"
        '
        'cmdStart
        '
        Me.cmdStart.BackColor = System.Drawing.SystemColors.Control
        Me.cmdStart.Cursor = System.Windows.Forms.Cursors.Default
        Me.cmdStart.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.cmdStart.ForeColor = System.Drawing.SystemColors.ControlText
        Me.cmdStart.Location = New System.Drawing.Point(360, 21)
        Me.cmdStart.Name = "cmdStart"
        Me.cmdStart.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.cmdStart.Size = New System.Drawing.Size(102, 45)
        Me.cmdStart.TabIndex = 0
        Me.cmdStart.Text = "Start"
        '
        'Label3
        '
        Me.Label3.BackColor = System.Drawing.SystemColors.Control
        Me.Label3.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label3.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label3.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label3.Location = New System.Drawing.Point(150, 107)
        Me.Label3.Name = "Label3"
        Me.Label3.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label3.Size = New System.Drawing.Size(62, 23)
        Me.Label3.TabIndex = 6
        Me.Label3.Text = "Channel"
        '
        'Label2
        '
        Me.Label2.BackColor = System.Drawing.SystemColors.Control
        Me.Label2.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label2.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label2.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label2.Location = New System.Drawing.Point(100, 107)
        Me.Label2.Name = "Label2"
        Me.Label2.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label2.Size = New System.Drawing.Size(32, 23)
        Me.Label2.TabIndex = 5
        Me.Label2.Text = "Unit"
        '
        'Label1
        '
        Me.Label1.BackColor = System.Drawing.SystemColors.Control
        Me.Label1.Cursor = System.Windows.Forms.Cursors.Default
        Me.Label1.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Label1.ForeColor = System.Drawing.SystemColors.ControlText
        Me.Label1.Location = New System.Drawing.Point(30, 107)
        Me.Label1.Name = "Label1"
        Me.Label1.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Label1.Size = New System.Drawing.Size(62, 23)
        Me.Label1.TabIndex = 3
        Me.Label1.Text = "Reading"
        '
        'GP
        '
        Me.GP.BackColor = System.Drawing.SystemColors.Control
        Me.GP.Cursor = System.Windows.Forms.Cursors.Default
        Me.GP.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.GP.ForeColor = System.Drawing.SystemColors.ControlText
        Me.GP.Location = New System.Drawing.Point(10, 11)
        Me.GP.Name = "GP"
        Me.GP.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.GP.Size = New System.Drawing.Size(182, 23)
        Me.GP.TabIndex = 1
        Me.GP.Text = "I/O address"
        '
        'frmIviCom
        '
        Me.AutoScaleBaseSize = New System.Drawing.Size(6, 16)
        Me.BackColor = System.Drawing.SystemColors.Control
        Me.ClientSize = New System.Drawing.Size(483, 365)
        Me.Controls.Add(Me.txtReadings)
        Me.Controls.Add(Me.txtIOaddress)
        Me.Controls.Add(Me.cmdStart)
        Me.Controls.Add(Me.Label3)
        Me.Controls.Add(Me.Label2)
        Me.Controls.Add(Me.Label1)
        Me.Controls.Add(Me.GP)
        Me.Cursor = System.Windows.Forms.Cursors.Default
        Me.Font = New System.Drawing.Font("Arial", 8.0!, System.Drawing.FontStyle.Regular, System.Drawing.GraphicsUnit.Point, CType(0, Byte))
        Me.Location = New System.Drawing.Point(5, 29)
        Me.Name = "frmIviCom"
        Me.RightToLeft = System.Windows.Forms.RightToLeft.No
        Me.Text = "frmIviCom"
        Me.ResumeLayout(False)

    End Sub
#End Region 
#Region "Upgrade Support "
	Private Shared m_vb6FormDefInstance As frmIviCom
	Private Shared m_InitializingDefInstance As Boolean
	Public Shared Property DefInstance() As frmIviCom
		Get
			If m_vb6FormDefInstance Is Nothing OrElse m_vb6FormDefInstance.IsDisposed Then
				m_InitializingDefInstance = True
				m_vb6FormDefInstance = New frmIviCom()
				m_InitializingDefInstance = False
			End If
			DefInstance = m_vb6FormDefInstance
		End Get
		Set
			m_vb6FormDefInstance = Value
		End Set
	End Property
#End Region 
	
	Private Sub cmdStart_Click(ByVal eventSender As System.Object, ByVal eventArgs As System.EventArgs) Handles cmdStart.Click
		txtReadings.Text = ""
		txtReadings.Refresh()
		main_34980A(txtIOaddress.Text)
	End Sub

    Private Sub txtIOaddress_TextChanged(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles txtIOaddress.TextChanged

    End Sub
End Class